Skip to the programs
startupcredits.fyi

Codex pricing (December 2026): is Codex free, and what it costs

Codex pricing for 2026: Codex comes with every ChatGPT plan, including Free. Plus is $20 a month, Pro $100 to $500, Business $25 a seat. Limits and API rates.

OpenAI Codex has no separate price: it is included in every ChatGPT plan, and ChatGPT Free and Go include limited Codex access with the GPT-6 Luna model in the desktop app. Full Codex (web, CLI, IDE extension, iOS and cloud tasks) starts with ChatGPT Plus at $20 a month. Heavier users pay $100, $200 or $500 a month for Pro, and teams pay $25 per seat per month for ChatGPT Business, or $20 billed annually.

You can also skip the subscription and run Codex with an OpenAI API key, paying per token.

How much does Codex cost? Every plan

ChatGPT Work and Codex share one pricing scheme, one set of credits and one usage allowance. US prices, before tax:

PlanPriceCodex access
Free$0GPT-6 Luna at Standard speed in the desktop app, subject to rollout
Go$8/monthGPT-6 Luna at Standard speed in the desktop app, subject to rollout
Plus$20/monthCodex on web, CLI, IDE extension and iOS; code review and Slack integration; extra usage with credits
Pro 100$100/monthMore usage than Plus, no five-hour limit
Pro 200$200/monthMore usage than Pro 100; Ultrafast for GPT-6.2 Sol in Codex
Pro 500$500/monthHighest included usage; Ultrafast on more models
Business, Standard seat$25/seat/month, or $20 billed annuallySame estimated limits as Plus, plus admin controls and SSO
Business, Premium seat$125/seat/month, or $100 billed annuallyMore usage than Standard, no five-hour limit
Enterprise and EduContact salesFlexible credit-based pricing, priority processing, compliance controls
API keyPer tokenCLI, SDK and IDE extension only; no cloud features

Pro is billed monthly only. Go is localized in some markets, so prices outside the US can differ.

Pro and Business plans also include monthly OpenAI API credits ($100 to $500 on Pro, $20 or $100 per Business seat), but those credits cannot be used for Codex through an API key and do not raise your Codex limits.

Is Codex free?

Yes, in a limited form. OpenAI lists Codex as "Limited" on the Free plan: you get GPT-6 Luna at Standard speed in the ChatGPT desktop app, and OpenAI notes this is subject to rollout, so it may not be on every account yet. Go ($8 a month) gets the same Codex access.

That is the whole of the Free and Go allowance as OpenAI lists it. Codex on the web, in the CLI and IDE extension, cloud tasks, GitHub code review, the Slack integration and the larger GPT-6.2 and GPT-6.1 models are listed starting with Plus, and OpenAI says image generation in Codex is not available on Free.

The other way to use Codex without a plan is with an API key, which is pay as you go. OpenAI's API has no free tier in money terms, so this is not free either.

Codex usage limits on Plus and Business

OpenAI publishes estimated local messages per five-hour window for Plus and Business Standard seats. They are ranges, not fixed caps, because usage depends on context size, reasoning and tools:

ModelPlusBusiness Standard
GPT-6.2 Astra6 to 506 to 50
GPT-6.2 Sol17 to 18017 to 180
GPT-6.1 Sol15 to 16015 to 160
GPT-6.1 Terra35 to 28535 to 285
GPT-6 Luna350 to 3,000350 to 3,000

Weekly limits may also apply, and cloud tasks use more of the allowance than local messages. Pro plans and Business Premium seats currently have no five-hour limit. Starting in December 2026, Plus, Pro and Business plans share one usage allowance across ChatGPT and Codex, so heavy chat use also eats into coding capacity.

Speed settings burn the allowance faster. Fast mode uses included usage at 2 times the Standard rate on GPT-6.2 models and 2.5 times on GPT-6.1 and GPT-6 models. Ultrafast uses it at 6 times (GPT-6.2) or 8 times (GPT-6 Astra and GPT-6.1 Sol).

What happens when you run out?

The turn you are on can finish. After that you have three choices:

  1. Wait for the limit to reset. Your usage dashboard, or /status in the Codex CLI, shows the reset time.
  2. Buy credits. Plus and Pro users can buy ChatGPT credits in Settings > Usage, or in Usage & Billing in the Codex app. Business, Enterprise and Edu workspaces with flexible pricing buy workspace credits.
  3. Switch to an API key and pay standard API rates.

Credits are charged per token. OpenAI's rate card, in credits per million tokens at Standard speed:

ModelInputCached inputOutput
GPT-6.2 Astra200101,000
GPT-6.2 Sol502.5250
GPT-6.1 Terra251.25125
GPT-6 Luna2.50.2512.5

OpenAI says a typical Codex task with GPT-6.2 Sol uses 2 to 15 credits. It does not publish one fixed dollar price per credit for personal plans: the price and packages are shown at checkout and depend on your plan and account.

Codex API pricing (using an API key)

With an API key, Codex runs in the CLI, SDK and IDE extension, and you pay OpenAI's normal API prices for whichever model you choose. Cloud features (Codex cloud, GitHub code review, Slack) are not available this way. OpenAI recommends this mode for automation in shared environments such as CI.

ModelInputCached inputOutput
gpt-5.3-codex (Standard)$1.75$0.175$14.00
gpt-5.3-codex (Fast)$3.50$0.35$28.00
GPT-6.2 Sol (Standard)$2.00$0.10$10.00
GPT-6.2 Astra (Standard)$8.00$0.40$40.00
GPT-6 Luna (Standard)$0.10$0.01$0.50

Prices are per million tokens. Agentic coding sends a lot of context on every turn, so cached input pricing matters more here than in most apps. Set a hard spend limit on the key before running Codex in a loop; our OpenAI API key guide shows how.

Codex vs Claude Code vs Cursor: cost compared

ToolFree optionEntry planHigher plans
OpenAI CodexYes, limited (GPT-6 Luna in desktop app)ChatGPT Plus, $20/monthPro at $100, $200 or $500/month
Claude CodeNo, not on Claude FreeClaude Pro, $20/month or $17/month billed annually ($200 up front)Max at $100/month, Ultra at $200/month
Cursor (now sold as Grok Build)Yes, limited, Grok and Composer modelsPlus, $8/month (Grok models only)Premium $30, Super $100, Ultra $200/month

A few differences matter more than the sticker price:

  • Claude Code is not available on Anthropic's free plan, so Codex is the only one of the two with a free tier. Claude Max and Ultra include $100 and $200 a month in API credits, similar to ChatGPT Pro's $100 to $500. Details in our Claude Code pricing guide.
  • Cursor's pricing page now redirects to Grok's. Grok Build plans include a weekly pool for Grok and Composer models; OpenAI models count as third-party models, which are only on Premium and above and are billed at API list price from prepaid credit. So using OpenAI models in Cursor costs the $30 plan plus API rates. Existing Cursor Pro ($20) and Pro+ ($60) subscribers keep their legacy plans. See our Cursor pricing guide.
  • Usage allowances are not comparable across vendors. Each one meters differently (messages, tokens, weekly pools), so the right plan depends on how many hours a day you run an agent.

For teams: ChatGPT Business is $25 per seat ($20 annually), and Grok Build Teams seats cost $30, $100 or $200 per month.

How startups can pay less for Codex

  1. Start on Plus, measure a few weeks of usage, and buy credits for occasional spikes rather than jumping to Pro.
  2. Use smaller models for routine work. On Plus, GPT-6 Luna gets roughly 350 to 3,000 local messages per five hours, against 6 to 50 for GPT-6.2 Astra.
  3. Pay annually on Business. Standard seats drop from $25 to $20 a month, and Premium from $125 to $100. Give Premium seats only to the people who hit limits; seats can be mixed and reassigned. Our ChatGPT Business pricing guide has the details.
  4. Use startup credits for API-key usage in CI and automation. OpenAI for Startups gives API credits to startups backed by an OpenAI partner VC, and Microsoft for Startups Azure credits cover Azure OpenAI models, including gpt-5.3-codex. Check that a grant covers the usage you plan before relying on it.
  1. OpenAIOpenAI for StartupsFree API credits, rate limit upgrades and time with solutions engineers for startups backed by an OpenAI VC partner (amount not published)Needs an investorUnpublished
  2. MicrosoftMicrosoft for StartupsUp to $150,000 in Azure Startup creditsApply directly$150K
  3. AnthropicClaude Startups (VC partner API credits)Up to $100K in additional Claude API credits, claimed through a VC in Anthropic's partner networkNeeds an investor$100K

If you are comparing coding agents, Claude Startups offers up to $100K in Claude API credits through Anthropic's VC partners. Our OpenAI credits guide lists every route to free OpenAI usage.

Questions

Is Codex free?

Partly. ChatGPT Free and Go include limited Codex access with GPT-6 Luna at Standard speed in the desktop app, subject to rollout. The full Codex experience on the web, CLI, IDE extension and iOS, with cloud tasks and GitHub code review, starts with ChatGPT Plus at $20 a month.

Is Codex included in ChatGPT Plus?

Yes. Plus includes Codex on the web, in the CLI, in the IDE extension and on iOS, plus automatic code review and the Slack integration. Usage is limited per five-hour window and weekly, and you can buy credits when you run out.

How much does Codex cost per month?

Codex costs nothing extra on top of a ChatGPT plan. In the US, Plus is $20 a month, Pro is $100, $200 or $500 a month, and ChatGPT Business is $25 per seat per month ($20 billed annually) for Standard seats or $125 ($100 annually) for Premium seats.

Can I use Codex with an API key instead of a subscription?

Yes. Codex works in the CLI, SDK and IDE extension with an OpenAI API key, billed at standard API token rates, for example $1.75 per million input tokens and $14 per million output tokens for gpt-5.3-codex. Cloud features such as GitHub code review and Slack are not available with an API key.

What happens when I hit my Codex usage limit?

The task you are running can finish, subject to fair use. After that, Plus and Pro users can buy ChatGPT credits to keep working, Business and Enterprise workspaces with flexible pricing can buy workspace credits, and anyone can switch to an API key billed at API rates.

Programs in this guide

  1. OpenAIOpenAI for StartupsFree API credits, rate limit upgrades and time with solutions engineers for startups backed by an OpenAI VC partner (amount not published)Needs an investorUnpublished
  2. MicrosoftMicrosoft for StartupsUp to $150,000 in Azure Startup creditsApply directly$150K
  3. AnthropicClaude Startups (VC partner API credits)Up to $100K in additional Claude API credits, claimed through a VC in Anthropic's partner networkNeeds an investor$100K

Sources