← Guides
15 November 2026 · Junaid Khalid · 17 min read

Codex Pricing: Every Plan, What a Credit Costs, and Limits

OpenAI Codex pricing is bundled into ChatGPT plans: Free ($0) and Go ($8) get limited GPT-6 Luna access, Plus ($20) includes Codex in the web app, CLI, IDE extension and iOS, Pro costs $100, $200 or $500 a month, and Business is $20 per user billed annually. Extra usage is bought as credits, worth about $0.04 each.

Every number below was read from OpenAI's own pricing docs on November 15, 2026. Most pages ranking for this query still show plans and prices from the spring, and one of them is wrong on every tier.

Key takeaways

Codex pricing at a glance

Plan Price per month (as of Nov 2026) Codex surfaces Models in Codex Usage
Free $0 Desktop app, subject to rollout GPT-6 Luna (Standard speed) Limited
Go $8 Desktop app, subject to rollout GPT-6 Luna (Standard speed) Limited
Plus $20 Web, CLI, IDE extension, iOS, cloud integrations GPT-6.1 Sol, GPT-6 Luna 5-hour windows plus weekly limits, credits to extend
Pro $100, $200 or $500 Everything in Plus Plus models, Ultrafast on Pro $500 No 5-hour limit today
Business $20 per user (annual, 2+ users), $25 monthly Desktop and mobile apps, cloud chats on larger VMs Same per-seat limits as Plus Workspace credits to extend
Enterprise, Edu Contact sales All All Flexible pricing: no fixed rate limits, billed by credits
API key Pay per token CLI, SDK, IDE extension, desktop app local chats Whatever your key can call No plan limits, standard API prices

Source: OpenAI's Codex pricing page. The older chatgpt.com/codex/pricing page still names GPT-5.5, which OpenAI retired from ChatGPT sign-in for Codex on October 14, 2026, so trust the docs page when the two disagree.

How much does Codex cost on each plan?

Codex costs whatever your ChatGPT plan costs: $0, $8, $20, $100, $200 or $500 a month for individuals, and $20 to $25 per user for Business. OpenAI puts it plainly on the pricing page:

"ChatGPT Work and Codex are included in your ChatGPT Free, Go, Plus, Pro, Business, Edu, or Enterprise plan."

What changes between plans is where you can run Codex, which models you get and how much you can use before you hit a wall.

OpenAI's business pricing page also lists a Premium Business seat at $100 per month billed annually ($125 monthly) with "more usage than standard, with no 5-hour limit", and up to $500 a month in API credits per workspace under activation rules (see OpenAI's business pricing).

Is Codex still free?

Yes, in a limited way. The Free plan includes GPT-6 Luna at Standard speed in the Codex desktop app, subject to rollout, and the older Codex pricing page calls it "limited trial access". OpenAI's plan cards list the CLI, IDE extension, web app and cloud tasks from Plus upward, so on Free you are trying Codex, not running it.

If you want to test Codex on real work without a subscription, the other route is an API key: you pay only for the tokens you use. A GPT-6 Luna task can cost cents. More on that below.

How do Codex usage limits work?

Plus and Standard Business usage resets every five hours, and weekly limits can apply on top. The number of messages you get per window depends on the model, because a message on a large model draws down your allowance much faster.

OpenAI's estimates of local messages per five-hour window, as of November 2026:

Model Plus Standard Business
GPT-6 Astra 5 to 45 5 to 45
GPT-6.1 Sol 15 to 160 15 to 160
GPT-6.1 Terra 35 to 285 35 to 285
GPT-6 Sol 15 to 150 15 to 150
GPT-6 Luna 350 to 3,000 350 to 3,000

Three details catch people out:

  1. The ranges are wide on purpose. OpenAI says these "are not fixed message limits" and that cloud tasks "may use more of your allowance than local messages". A message that reads 40 files counts for far more than one that renames a variable.
  2. Speed modes multiply usage. Fast mode uses 2.5 times the included usage (and 2 times the credits). Ultrafast on GPT-6 Astra or GPT-6.1 Sol uses 8 times the included usage and 6 times the credits.
  3. Pro removes the 5-hour window, not every limit. The pricing page says Pro plans "currently have no five-hour limit". Weekly limits and fair use still apply.

When you hit a limit, an in-progress turn may finish. After that you can wait for the reset, buy credits (Plus and Pro), buy workspace credits (Business and Enterprise with flexible pricing), or switch local chats to an API key.

How much are Codex credits worth?

One Codex credit is worth about $0.04, so 1,000 credits cost about $40, 2,500 credits about $100, and $100 buys about 2,500 credits. OpenAI's Codex docs never print a dollar price per credit, so we worked it out from their own tables.

Take GPT-6.1 Sol. The credit rate card charges 50 credits per million input tokens; the API price list charges $2. That is $0.04 a credit. Output is 250 credits against $10: $0.04 again. Every model on the card lands on the same number, and so does voice in the desktop app, at 1.25 credits or $0.05 a minute. ChatGPT sells credits in packs of 500, 1,000 and 2,500, and users report paying $40 for a 1,000-credit reload.

Credit rates per million tokens at Standard speed, with the dollar equivalent:

Model Input Cached input Output Dollar equivalent (in / cached / out)
GPT-6 Astra 250 25 1,250 $10 / $1 / $50
GPT-6.1 Sol 50 2.5 250 $2 / $0.10 / $10
GPT-6.1 Terra 25 1.25 125 $1 / $0.05 / $5
GPT-6 Sol 50 5 250 $2 / $0.20 / $10
GPT-6 Luna 2.5 0.25 12.5 $0.10 / $0.01 / $0.50

OpenAI's own rule of thumb is that "a typical GPT-5.6 Sol task may use 2-15 credits", or about $0.08 to $0.60 a task at $0.04 per credit. Credits have no separate charge for writing to the cache.

What does Codex cost with an API key?

With an API key, Codex bills every token at standard API prices and ignores your ChatGPT plan entirely. The Codex authentication docs say:

"When you sign in with an API key, Codex uses standard API pricing instead of included ChatGPT plan credits."

The prices match the credit table above. GPT-6.1 Sol is $2 per million input tokens, $0.10 cached and $10 output; GPT-6 Astra is $10, $1 and $50; GPT-6 Luna is $0.10, $0.01 and $0.50 (see the OpenAI API pricing page). Batch requests cost half.

To sign the open-source Codex CLI in with a key:

printenv OPENAI_API_KEY | codex login --with-api-key

What you give up: an API key runs Codex in the CLI, the SDK (including codex exec), the IDE extension and local chats in the desktop app, but OpenAI lists "No cloud-based features (GitHub code review, Slack, etc.)". You also lose cloud tasks and mobile remote control. For CI jobs and scripted runs, that trade is usually fine. For a developer who lives in Codex cloud, it is not.

What does a real coding-agent task cost on Codex?

A typical agent task costs a few dollars at GPT-6.1 Sol rates, and almost all of that is input. We do not run Codex on our tickets today, so we took the 41 Claude Code sessions our team logged with token counts between October 31 and November 14, 2026, and repriced them at Codex API rates. The prices are Codex API rates applied to Claude token counts.

In aggregate those sessions read about 268 tokens for every token they wrote. The median session used about 7.1 million input tokens and 35,000 output tokens over 11 minutes. At a 90 percent cache hit rate:

Model Median session Same in credits Median ticket (35 tickets) Most costly tenth of tickets No cache, median session
GPT-6.1 Sol $2.50 about 62 $2.30 above $18.50 $14.49
GPT-6.1 Terra $1.25 about 31 $1.15 above $9.25 $7.25
GPT-6 Astra $14.99 about 375 $13.95 above $117 $72.47
GPT-6 Luna $0.15 about 4 $0.14 above $1.18 $0.72

Our sessions are long multi-file agent runs, which is why they land far above OpenAI's own estimate of 2 to 15 credits for a typical GPT-5.6 Sol task. Short, scoped tasks cost a fraction of this.

Two lessons came out of this. Cached input decides the bill: the same median session costs almost six times more on GPT-6.1 Sol with no cache hits. And model choice dwarfs plan choice: a ticket worked on GPT-6 Astra costs about six times the same ticket on GPT-6.1 Sol.

Copy this: Codex cost estimator

Paste your own token counts from /status or your usage dashboard. Prices are USD per million tokens as of November 2026.

RATES = {
    "gpt-6-astra": (10.00, 1.00, 50.00),
    "gpt-6.1-sol": (2.00, 0.10, 10.00),
    "gpt-6.1-terra": (1.00, 0.05, 5.00),
    "gpt-6-luna": (0.10, 0.01, 0.50),
}
CREDIT_USD = 0.04

def task_cost(model, input_tokens, output_tokens, cache_hit=0.9):
    fresh, cached, out = RATES[model]
    usd = (input_tokens * (1 - cache_hit) * fresh
           + input_tokens * cache_hit * cached
           + output_tokens * out) / 1_000_000
    return round(usd, 2), round(usd / CREDIT_USD)

print(task_cost("gpt-6.1-sol", 5_000_000, 25_000))
print(task_cost("gpt-6-astra", 5_000_000, 25_000))

For a task that reads 5 million tokens and writes 25,000, it prints (1.7, 42) and (10.75, 269): dollars, then credits. Multiply by tasks per developer per day and working days. If one person's monthly figure lands near or above $100 and they keep hitting the 5-hour limit on Plus, compare it with Pro.

Is Codex Pro at $100 worth it?

Pro at $100 is worth it if you hit the Plus 5-hour limit more than a couple of times a week, because Pro removes that window. OpenAI does not publish how much usage Pro includes in dollars, and weekly limits still apply, so the test is your own limit history, not a price comparison.

A simple rule: if you buy credits on Plus most weeks, or your work stalls waiting for a reset, move to Pro $100. If you code with Codex a few hours a week, Plus at $20 with the odd credit top-up costs less. The $500 tier makes sense only if you want Ultrafast mode, which uses 8 times the included usage per message, so it suits people who value speed over volume.

How should a team pay for Codex?

Most teams should start on Business at $20 per user per month billed annually, give heavy users a Premium seat, and buy workspace credits for spikes. Three options are on the table as of November 2026:

The pay-as-you-go option many guides still describe has changed. In April 2026 OpenAI added Codex-only seats for Business and Enterprise, as WinBuzzer reported. OpenAI's announcement put it this way:

"Codex-only seats have no rate limits, and usage is billed on token consumption."

A June 24, 2026 update on the same OpenAI page says new pay-as-you-go seats are no longer available on Business plans. Existing ones keep working. If a guide tells you to buy Codex-only seats on Business today, it is out of date.

For a 10-person team with two heavy users, the plain math is 8 Standard seats at $20 plus 2 Premium seats at $100, or $360 a month billed annually, before credits. Anthropic prices its Team seats at the same $20 and $100 points (annual) on Claude's pricing page, with Claude Code included; our Claude Code pricing guide has the full comparison.

How do you track Codex spend per ticket?

Tag each Codex run with the task it served, record its model and tokens when it ends, and roll the cost up per ticket. OpenAI's usage dashboard shows usage per account and workspace; it does not know which bug or feature a session was for. That link has to come from your tracker.

This is the gap Jenzo fills for our team. Jenzo is a ticket tracker built for teams where AI agents do much of the work. Agents open, update and close tickets themselves over MCP or the API, and each ticket records which agent and model worked it, how long, how many tokens it used and what it cost, plus the branch, PR and commits it touched. A ticket cannot close without proof: a link or a real closing report. Codex connects the same way Claude Code does, and setup for agents is in our Claude Code tasks guide. For traces and metrics beyond the ticket, see AI agent observability.

Copy this: Codex plan checklist

Run through it before you pay for a plan or a seat:

Which Codex plan should you choose?

Pick by how you work, not by the headline price:

If you are still deciding between OpenAI's agent and Anthropic's, our Codex vs Claude Code comparison puts the two side by side on models, limits and sandboxes.

FAQ

Is Codex free to use?

Partly. ChatGPT Free and Go include GPT-6 Luna at Standard speed in the Codex desktop app, subject to rollout. OpenAI lists the CLI, IDE extension, web app and cloud tasks from Plus at $20 a month upward. You can also skip plans and pay per token with an API key, where small GPT-6 Luna tasks cost cents.

How much is 1,000 Codex credits worth?

About $40. OpenAI's credit rate card matches its API prices at $0.04 per credit, so 1,000 credits equal about $40 of API usage. On GPT-6.1 Sol that covers about 20 million fresh input tokens, or around 16 of our median repriced agent sessions with a high cache hit rate.

How much is 2,500 credits in Codex?

About $100. At $0.04 per credit, 2,500 credits buy roughly $100 of usage at API prices. OpenAI says a typical GPT-5.6 Sol task uses 2 to 15 credits, so 2,500 credits cover somewhere between about 160 and 1,250 typical tasks, depending on the model and how much context each one reads.

How much is $100 worth of Codex credits?

About 2,500 credits. Whether that beats a Pro plan depends on how often you hit limits. If you buy credits on Plus most weeks or keep hitting the 5-hour limit, compare Pro at $100, which removes that window. If you only top up now and then, credits on Plus cost less.

Does Codex cost extra on top of ChatGPT Plus?

No. Codex is included in Plus at $20 a month with 5-hour and weekly limits. You pay extra only if you buy credits after hitting a limit, use Fast or Ultrafast modes heavily, or sign the CLI in with an API key, which bills tokens at standard API prices instead of your plan.

How much does the OpenAI API cost for Codex models?

It depends on the model. Per million tokens as of November 2026: GPT-6.1 Sol is $2 input, $0.10 cached and $10 output; GPT-6 Astra is $10, $1 and $50; GPT-6.1 Terra is $1, $0.05 and $5; GPT-6 Luna is $0.10, $0.01 and $0.50. Batch requests cost half.

From our own experience

We assumed the expensive part of an agent run was the code it wrote. Our own session logs said otherwise: about 268 tokens read for every one written, so cache hits and model choice moved the cost far more than the plan did. The habit that saved us the most was making every agent name its model and ticket at the start, so a costly run shows up as a line on a ticket we can open and question.

Let your agents keep the board.

Claude Code, Codex and Cursor open their own tickets, log hours and tokens, and close them with the commit.

Connect your agent