Skip to content
WhichAgent

OpenAI Codex pricing

Every plan, what it includes, how the usage limits work and what it costs on an API key instead. Prices checked against OpenAI's own pages on Oct 22, 2026.

By · Updated Oct 22, 2026 · Sources linked throughout

Plans and prices

Individual plans
FreeFreeLimited Codex in the desktop app with GPT-6 Luna at standard speed, subject to rollout; no Codex Cloud
Go$8/moCodex in the desktop app with GPT-6 Luna at standard speed, subject to rollout; no Codex Cloud. No annual billing
Plus$20/moCodex on web, CLI, IDE extension and iOS with GPT-6.1 Sol and GPT-6 Luna; automatic code review and Slack; buy credits past the limits. No annual billing
Pro 100$100/moHigher limits than Plus; no 5-hour limit at present (weekly limits may apply). No annual billing
Pro 200$200/moMore usage than Pro 100. New subscribers get a lower allowance than existing ones, who keep theirs through Oct 29, 2026
Pro 500$500/moHighest usage; the only individual plan with Ultrafast mode
Team and business plans
Business Standard seat$25/mo per seatBilled yearly: $20/mo per seatMinimum 2 seats. Pooled credits for extra usage; admin controls for models, speed and cloud access
Business Premium seat$125/mo per seatBilled yearly: $100/mo per seatHigher limits than a Standard seat
Enterprise & EduCustomContact sales. Plus-level limits per seat, or no fixed limits with flexible pricing and a shared credit pool

US dollars before tax. Free tier: ChatGPT Free and Go include limited Codex in the desktop app (GPT-6 Luna at standard speed, subject to rollout), without Codex Cloud. The CLI can also run on an OpenAI API key billed per token, or on local models through Ollama or LM Studio.

Which plan should you pick?

There’s no Codex subscription. Codex comes with ChatGPT plans, and you sign in with your ChatGPT account. The alternative is an OpenAI API key, billed per token.

  • Free and Go ($8/month) get Codex in the ChatGPT desktop app with GPT-6 Luna at standard speed, as it rolls out. Neither includes Codex Cloud. They’re fine for trying Codex, not for daily coding.
  • Plus ($20/month) is the first plan with the full product: Codex on the web, in the CLI, the IDE extension and iOS. You get GPT-6.1 Sol and GPT-6 Luna, automatic code review and Slack. You can buy credits when you hit the limits. For most developers it’s the starting point.
  • Pro ($100, $200 or $500/month) comes in three tiers with increasing usage. Pro currently has no 5-hour limit, though weekly limits may apply. Only Pro 500 includes Ultrafast mode. Pro 200 is open to new subscribers again, but new subscriptions get a lower allowance than existing ones, which keep theirs through October 29, 2026.
  • An API key suits scripts, CI and the SDK. You pay per token and don’t get cloud features. See paying per token below.

Go, Plus and Pro are billed monthly only.

How the usage limits work

Codex limits work in 5-hour windows, and weekly limits can apply as well. The allowance is shared with ChatGPT Work, Excel, Word, PowerPoint and Workspace Agents, but not with regular ChatGPT chat. Cloud tasks use more of it than local messages do.

For Plus and Business Standard seats, OpenAI publishes estimated local messages per 5 hours:

Model Local messages per 5 hours
GPT-6 Astra 5–45
GPT-6.1 Sol 15–160
GPT-6 Sol 15–150
GPT-6 Luna 350–3,000

These are estimates, not fixed caps; bigger tasks use more. OpenAI doesn’t publish numbers for Free, Go or the Pro tiers, or for code reviews. Enterprise and Edu seats without flexible pricing get Plus-level limits.

Speed costs extra. Fast mode uses 2.5 times the included usage (or twice the credits). Ultrafast, on GPT-6 Astra and GPT-6.1 Sol only, uses 8 times the included usage and then 6 times the credits.

When you reach a limit, Codex lets the current turn finish. After that you can:

  • wait for the window to reset;
  • buy credits (Plus and Pro);
  • switch to an API key;
  • upgrade.

Credits: paying for more Codex

Credits extend Codex past your plan’s limits. They last 12 months, aren’t refundable and can auto-reload. Only a limited group of Free and Go users can buy them.

OpenAI doesn’t publish one credit price. Its student offer values 2,500 credits at $100, or 4 cents each, but it says purchase prices vary by plan. Credits are charged per million tokens:

Model Input Cached input Output
GPT-6 Astra 250 25 1,250
GPT-6.1 Sol 50 2.5 250
GPT-6 Sol 50 5 250
GPT-6 Luna 2.5 0.25 12.5

Credits per million tokens. OpenAI says a typical task on GPT-5.6 Sol uses 2–15 credits. At 4 cents a credit, that’s roughly $0.08 to $0.60 a task. Unlike the API, credits have no cache-write charge, and auto-review safety checks are free.

Paying per token with an API key

Sign in with an OpenAI API key instead of ChatGPT and Codex bills your API account at standard rates. This works in the CLI, the SDK and the IDE extension, but not for cloud features. API-key sessions also still have access to models that were retired from ChatGPT sign-in, such as GPT-5.5.

Model Input Cached input Output
GPT-6 Astra $10 $1 $50
GPT-6.1 Sol $2 $0.10 $10
GPT-6 Sol $2 $0.20 $10
GPT-6 Luna $0.10 $0.01 $0.50
GPT-5.5 (under 272K context) $5 $0.50 $30

US dollars per million tokens, standard tier. Batch is half price and Fast is double. Ultrafast is $60 input and $300 output on Astra, and $12 and $60 on GPT-6.1 Sol. The API also charges for cache writes.

The CLI can also run local models with --oss, through Ollama or LM Studio, at no cost from OpenAI.

Business, Enterprise and Edu

  • Business needs at least 2 seats. A Standard seat costs $25 per user per month, or $20 billed annually. A Premium seat costs $125, or $100 annually, and has higher limits. Workspaces buy pooled credits in billing, with auto-reload and monthly limits per seat type or per user. Admins can set the default model, reasoning level and speed, and control Fast mode and cloud access.
  • Credits-only Codex seats had no seat fee. New Business workspaces haven’t been able to add them since June 24, 2026; existing ones keep working.
  • Enterprise and Edu are priced by sales. Seats get Plus-level limits, or no fixed limits with flexible pricing, which uses a contract-level shared credit pool with overage limits and alerts. Cloud access is off by default for Enterprise.

Discounts

  • Annual billing: Business only ($20 instead of $25 per Standard seat).
  • Students in the US and Canada can get $100 in Codex credits (2,500 credits).
  • Open-source maintainers can apply for six months of Pro plus API credits.
  • OpenAI hasn’t published a startup discount for Codex.

How the price compares

ToolFree planCheapest paidTop individual planTeam seat fromOwn API keyVerified
OpenAI CodexYes$8/mo$500/mo$25/moYesOct 22, 2026
Claude CodeNo$20/mo$200/mo$25/moYesOct 22, 2026
CursorYes$8/mo$200/mo$30/moYesOct 22, 2026
GitHub CopilotYes$10/mo$100/mo$19/moYesOct 22, 2026
Gemini CLIFree tool, pay for API——$22.80/moYesOct 22, 2026
OpenCodeNo$10/mo$40/mo—YesOct 22, 2026

US dollars per month before tax, billed monthly. Team prices are the lowest per-seat tier; enterprise plans with custom pricing aren't counted.

Price and plan changes

Frequently asked questions

Is Codex free?

Partly. ChatGPT Free includes limited Codex in the desktop app, using GPT-6 Luna at standard speed, as it rolls out. Free doesn't include Codex Cloud or GPT-6.1 Sol. The open-source Codex CLI is free to install, but it needs a ChatGPT plan or an API key.

Is Codex included in ChatGPT Plus?

Yes. Plus ($20/month) includes Codex on the web, in the CLI, the IDE extension and iOS, with GPT-6.1 Sol and GPT-6 Luna, automatic code review and Slack. When you hit the limits you can buy credits.

How much does Codex cost per month?

It's included in ChatGPT: Free, Go at $8, Plus at $20 and Pro at $100, $200 or $500 a month. Business costs $25 per seat per month or $20 billed annually, and a Premium seat costs $125 or $100. Go, Plus and Pro can't be billed yearly.

What are Codex's usage limits on Plus?

OpenAI publishes estimates per 5 hours: about 15–160 local messages on GPT-6.1 Sol, 5–45 on GPT-6 Astra and 350–3,000 on GPT-6 Luna. The range depends on task size. Cloud tasks use more of the allowance than local messages, and weekly limits can apply too.

How much do Codex credits cost?

OpenAI's student offer values 2,500 credits at $100, which is 4 cents a credit, but it says purchase prices vary by plan. A typical task on GPT-5.6 Sol uses 2–15 credits. Credits last 12 months and aren't refundable.

Do Codex and ChatGPT share usage limits?

Codex shares its allowance with ChatGPT Work, Excel, Word, PowerPoint and Workspace Agents, but not with regular ChatGPT chat.

Is ChatGPT Pro worth it for Codex?

If Plus's 5-hour limits stop you regularly, yes. Pro currently has no 5-hour limit, though weekly limits may apply. Pro 500 is the only individual plan with Ultrafast mode. New Pro 200 subscriptions come with a lower allowance than older ones.

How much does Codex cost with an API key?

You pay OpenAI's API prices per token, for example $2 input and $10 output per million tokens on GPT-6.1 Sol, or $0.10 and $0.50 on GPT-6 Luna. An API key works in the CLI, SDK and IDE extension, but not for cloud features.

Sources

Prices and limits on this page come from these official pages, checked on Oct 22, 2026.

Keep reading

OpenAI Codex comparisons