OpenAI Cost API Spend Controls: Routing Governance for ChatGPT and Codex Credits

OpenAI's ChatGPT Enterprise spend controls now expose per-user, product, and model credit analytics through a unified Cost API. For routing teams, the next job is reconciling ChatGPT/Codex credits with API ledger, fallback, and cross-provider budget policy.

TheRouter Newsroomvia OpenAI
A dashboard showing per-model credit usage analytics and spend controls across an enterprise AI routing layer

When OpenAI rolled out credit usage analytics and updated spend controls for ChatGPT Enterprise on June 18, 2026, it closed a significant gap in enterprise AI billing observability. For teams already running multi-provider routing, the change introduces a new billing signal layer — one that complements but does not replace what a routing gateway does.

What changed

ChatGPT Enterprise admins now get three new capabilities:

  • Per-model, per-user, per-group credit tracking in a Global Admin Console, covering both ChatGPT and Codex usage in a single view.
  • Hierarchical spend limits: a default workspace limit, group-level overrides, and individual user overrides. Employees can request additional credits with context, and admins can approve without raising limits for everyone.
  • Cost API access: the same credit usage data is exportable programmatically through a unified Cost API for downstream reconciliation in financial or BI tools.

The model-level breakdown is the key new signal. Previously, enterprise billing showed aggregate spend; now admins can identify which model tier (GPT-5.5, o3, Codex, etc.) is driving cost spikes, and enforce limits at the tier rather than the user level.

Why it matters for AI engineering teams

Most enterprise AI setups today have a bifurcated billing architecture: vendor billing on one side and internal chargebacks on the other. The vendor side (OpenAI, Anthropic, Google) shows token-level spend; the internal side shows team-level attribution. The gap in between — which model tier was used, by which user, for which workload — has historically required manual log parsing or custom middleware.

OpenAI's new Cost API bridges this for ChatGPT Enterprise workloads. If your team is running Codex agents, custom roles in ChatGPT Enterprise, and direct API calls, you now have a single reconciliation endpoint for the ChatGPT/Codex side.

What this does not cover:

  • API-only workloads via chat.completions or the Responses API (those remain in the developer billing dashboard, not the Admin Console).
  • Cross-provider spend (Anthropic, Google, Bedrock, Vertex — separate cost surfaces).
  • Routing decisions below the ChatGPT Enterprise layer (model selection, fallback, latency-weighted routing).

This is why billing governance at the routing layer remains a separate concern.

The router/operator angle

Enterprise spend controls at the ChatGPT Enterprise level operate on top of the ChatGPT product layer — they govern which users can spend how much within ChatGPT's model menu. A routing gateway operates at the API layer beneath, managing which model endpoint actually handles each request and enforcing policies like fallback, latency thresholds, cost-per-request caps, and cross-provider budget splits.

These are complementary, not substitutes. A concrete example:

  • A user in ChatGPT Enterprise hits their GPT-5.5 credit limit and gets a "request more capacity" prompt.
  • An API team calling through a routing gateway hits a different set of controls: per-key rate limits, model-tier routing rules, or budget-based fallback from GPT-5.5 to GPT-5.4-mini.

For teams with both surfaces — API developers and end-user ChatGPT power users — the new Cost API gives you a reconciliation endpoint for the ChatGPT Enterprise side. Building a complete billing picture still requires pulling the API-side usage separately and normalizing across providers.

Three things routing teams should audit now:

  1. Are your ChatGPT Enterprise credits being tracked at the model tier? The new breakdown enables per-model chargebacks to cost centers — worth configuring if you have differentiated pricing by team type.
  2. Does your Cost API pipeline cover API-side workloads too? OpenAI's Admin API (released May 26) handles spend alerts and billing line items for API usage — this is the counterpart for API teams.
  3. What's your fallback model when a group hits its credit limit? Credit exhaustion in ChatGPT Enterprise does not trigger API-layer fallback automatically. If your API routing config assumes ChatGPT Enterprise is always available as a fallback surface, a limit event could silently break that assumption.

What TheRouter users should watch

The billing governance landscape is becoming multi-layer. Vendor billing planes (OpenAI Admin API, ChatGPT Enterprise Cost API, Anthropic billing, DashScope usage API) each expose a slice of spend data in different schemas. A routing gateway is the normalization layer — the place where cross-provider token costs, model-tier routing decisions, and internal allocation labels converge.

If your team is building a billing reconciliation pipeline, start with the TheRouter docs for the API-side token accounting layer, then plan how to ingest the ChatGPT Enterprise Cost API alongside it.

The June 18 change is a sign that enterprise AI billing is maturing. Vendors are giving operators better per-model observability. The remaining integration work is cross-provider and cross-surface normalization — and that still lives at the routing layer.

Help & contact