Codex pricing 2026: every Codex plan, its price and the API rates
updated
last verified · official pricing on developers.openai.com · how we check prices · price changes
quick answer: there's no separate OpenAI Codex plan or price to buy. it comes with ChatGPT: Free ($0) and Go ($8/mo) get Codex in the desktop app, Plus ($20/mo) adds the CLI, IDE extension, web, iOS and GitHub code review, Pro is $100, $200 or $500 a month, and teams pay $20 a seat on Business (billed annually, $25 monthly) or $100 for a Premium seat ($125 monthly).
the bit devs care about: skip the subscription and Codex runs on an API key at API rates. GPT-6.1 Sol is $2 per million input tokens and $10 per million output, GPT-6 Luna $0.10 and $0.50. no cloud features that way, but it's the one for CI.
- cheapest way in: Free, desktop app only, GPT-6 Luna
- the real starting point: Plus at $20, which is where the CLI and IDE turn up
- all day, every day: Pro 100, no five-hour limit right now
- CI and scripts: an API key, pay per token
we rank Codex #7 of 15 on our coding agents board (8.0/10). if the ChatGPT sub is already on your card, you've basically paid for it.
is Codex free?
partly, yes. ChatGPT Free ($0) includes Codex in the desktop app on GPT-6 Luna, subject to rollout, and Go ($8/mo) gets the same Codex line. the CLI, the IDE extension, Codex on the web and GitHub code review start with Plus at $20 a month. an API key is pay per token from the first request, so it isn't free either, just cheap on GPT-6 Luna.
how to buy Codex: plans, billing and licence
short version: you can't buy Codex on its own. there's no separate Codex plan, licence or subscription; OpenAI says Codex is included in your ChatGPT Free, Go, Plus, Pro, Business, Edu or Enterprise plan. so buying Codex means buying ChatGPT, or using an API key.
- one person: pick a ChatGPT plan (Go $8, Plus $20 or Pro $100, $200 or $500 a month) and sign in to Codex with that account. Pro is billed monthly only
- a team: ChatGPT Business, $20 a seat a month billed annually or $25 monthly, 2+ users. a Premium seat is $100 annually or $125 monthly
- big company: Enterprise and Edu are contact sales
- billing past your limit: Plus and Pro can buy ChatGPT credits instead of upgrading. credits last 12 months and aren't refundable bar specific cases
- API key billing: Codex in the CLI, SDK or IDE extension can run on an OpenAI API key, billed per token at API rates on your API account, separate from any ChatGPT plan
Codex plans and prices
| plan | price | what you get in Codex |
|---|---|---|
| Free | $0 | GPT-6 Luna at Standard speed in the desktop app, subject to rollout. no image generation |
| Go | $8/mo | the same Codex line as free on OpenAI's page |
| Plus | $20/mo | Codex on the web, CLI, IDE extension and iOS; automatic code review and Slack; GPT-6.1 Sol, GPT-6.1 Terra and GPT-6 Luna; top up with ChatGPT credits |
| Pro | $100, $200 or $500/mo | everything in Plus, more usage, no five-hour limit right now; Ultrafast only on Pro $500 |
| Business, Standard seat | $20/user/mo billed annually, $25 monthly (2+ users) | Codex on desktop and mobile, larger cloud VMs, SAML SSO and MFA, no training on business data by default |
| Business, Premium seat | $100/user/mo billed annually, $125 monthly | 5x the usage of a Standard seat, no five-hour limit |
| Enterprise and Edu | contact sales | adds SCIM, EKM, RBAC, audit logs, data residency, priority processing |
| API key | API rates | Codex in the CLI, SDK or IDE extension. no cloud features (no GitHub code review, no Slack) |
Codex and ChatGPT Work share the same usage, so heavy ChatGPT Work days come out of the same pot.
monthly or yearly?
only Business has a yearly price. it saves a fifth:
the table: monthly or yearly?
| seat | monthly | billed annually | you save a year |
|---|---|---|---|
| business Standard | $25 | $20 | $60 a seat |
| Business Premium | $125 | $100 | $300 a seat |
Pro is monthly only: no annual billing and no paying months in advance.
Codex usage limits on Plus and Business
OpenAI publishes rough estimates of local messages per five-hour window on Plus and Standard Business. its words, not ours: estimates, not fixed limits.
the table: Codex usage limits on Plus and Business
| model | local messages per 5 hours |
|---|---|
| GPT-6 Astra | 5-45 |
| GPT-6.1 Sol | 15-160 |
| GPT-6.1 Terra | 35-285 |
| GPT-6 Sol | 15-150 |
| GPT-6 Luna | 350-3,000 |
- weekly limits may also apply on top of the five-hour window
- cloud tasks can use more than local messages, and local and cloud share one allowance
- fast mode drains included usage at 2.5x; Ultrafast (Pro $500 and eligible Enterprise/Edu, GPT-6 Astra and GPT-6.1 Sol only) at 8x
- images use included limits about 3-5x faster
- voice in the desktop app costs $0.05 a minute of your Codex budget
the range is wide because a one-line fix and a long agent session across a big repo are very different beasts. check the usage dashboard, or /status in the CLI, for a week or two.
Codex API pricing: what an API key costs
with an API key you pay OpenAI's normal API rates, per million tokens (standard speed, prompts up to 272K tokens):
the table: Codex API pricing: what an API key costs
| model | input | cached input | output |
|---|---|---|---|
| GPT-6 Astra | $10 | $1 | $50 |
| GPT-6.1 Sol | $2 | $0.10 | $10 |
| GPT-6.1 Terra | $1 | $0.05 | $5 |
| GPT-6 Sol | $2 | $0.20 | $10 |
| GPT-6 Luna | $0.10 | $0.01 | $0.50 |
| GPT-5.3-Codex | $1.75 | $0.175 | $14 |
the catches: prompts over 272K tokens cost more (GPT-6.1 Sol goes to $4 and $15), writing to the cache is billed too ($2.50 per million for a 30 minute cache on GPT-6.1 Sol), batch and flex halve the price, and fast mode doubles it. OpenAI's own Codex page says don't use API prices to estimate what a subscription includes.
Codex credits: running past your limit
- finish the job: hit the limit mid-turn and the agent can finish that turn, within fair use
- buy ChatGPT credits: Plus and Pro can top up instead of upgrading. credits work across Codex, ChatGPT Work, Word, Excel and PowerPoint, last 12 months and are non-refundable bar specific cases. auto-reload has a monthly cap you set. Free and Go can buy them only if they're in the limited group it's open to
- use an API key: anyone can run extra local chats at API rates
- switch model: GPT-6 Luna stretches a lot further than GPT-6 Astra
OpenAI's credit rates at Standard speed, per million tokens:
the table: Codex credits: running past your limit
| model | input | cached input | output |
|---|---|---|---|
| GPT-6 Astra | 250 credits | 25 | 1,250 |
| GPT-6.1 Sol | 50 credits | 2.5 | 250 |
| GPT-6.1 Terra | 25 credits | 1.25 | 125 |
| GPT-6 Luna | 2.5 credits | 0.25 | 12.5 |
on purchased credits fast mode costs 2x and Ultrafast 6x. what a credit costs in dollars depends on your plan or agreement, and OpenAI doesn't publish it for personal plans, so we won't guess your bill.
what does Codex cost a dev?
six made-up months so you can see how the bill moves. the usage is ours; the rates are OpenAI's. before tax.
- weekend tinkerer: Free, or Go at $8 if you want the rest of ChatGPT Go. desktop app only, so no CLI. bill: $0 to $8.
- day job, a few focused sessions a day: ChatGPT Plus at $20. if GPT-6.1 Sol runs out by thursday, switch the easy jobs to GPT-6.1 Terra (35-285 messages a window) before you reach for credits.
- same dev on fast mode: 2.5x drain, so a window that holds 15-160 GPT-6.1 Sol messages holds about 6-64. plus stays $20, the allowance just goes quicker.
- CI reviewing pull requests on an API key: 50 PRs a month, each 200K input tokens and 10K output on GPT-6.1 Sol: 50 x ($0.40 + $0.10) = $25 a month. on GPT-6 Luna: 50 x ($0.02 + $0.005) = $1.25.
- heavy solo dev on an API key instead of Pro: 10 sessions a day for 22 days, each 300K input and 20K output on GPT-6.1 Sol, no caching: 220 x ($0.60 + $0.20) = $176. that's past Pro 100, which is why heavy users take the sub.
- a team of five: five Standard Business seats on annual billing is $100 a month ($125 monthly). make one of them Premium and it's $80 + $100 = $180.
the catches (read these)
- Free and Go are desktop app only. the CLI, IDE extension, cloud tasks and GitHub code review start at Plus.
- the limits are estimates. 15-160 messages is a range, not a promise, and weekly limits can land on top.
- speed costs you. fast is 2.5x included usage and Ultrafast 8x.
- an API key gets no cloud features. no
@codexon GitHub PRs, no Slack, no cloud chats. - Pro 200 changed. new Pro 200 subscriptions get a lower allowance than before. people who had Pro 200 between sept 22 and sept 29, 2026 keep the old allowance until oct 29, 2026.
- Ultrafast is Pro $500 only among personal plans, and buying credits on Pro 100 or 200 doesn't unlock it.
- credits expire after 12 months and aren't refundable.
which plan should you pick?
- curious, not committed: Free
- want the CLI, IDE and GitHub reviews: plus, $20
- hitting the five-hour wall every day: Pro 100
- need Ultrafast or the biggest allowance: Pro 500, so be sure
- a team of 2+: Business, $20 a seat a year, Premium seats for the heavy hitters
- CI and automation: an API key
is Codex worth it, next to the rest?
if you already pay for ChatGPT Plus, yes: it's our #7 coding agent at 8.0/10 and costs you nothing extra. if you're choosing from scratch, Claude Code is our #1 at the same $20 (Claude Code pricing), Grok Build (was Cursor) starts at $8 for Grok models (Cursor pricing), and GitHub Copilot is $10 with unlimited completions (Copilot pricing, GitHub Copilot vs Codex). OpenCode (#3) is free, open source and can log in with your ChatGPT Plus or Pro account.
the table: is Codex worth it, next to the rest?
| rank | tool | free tier | paid from | numptr score |
|---|---|---|---|---|
| #7 | OpenAI Codex | included in ChatGPT Free (limited usage) | included in ChatGPT Go $8/mo, Plus $20/mo, Pro $100, $200 or $500/mo | 8.0/10 |
| #1 | Claude Code | no free access: Claude Code needs a paid Claude plan (Pro and up) | Pro $20/mo | 9.0/10 |
| #2 | Grok Build (was Cursor) | limited ai usage | Plus $8/mo, Grok models only | 8.5/10 |
| #4 | GitHub Copilot | limited chat and agent usage | Pro $10/mo | 8.5/10 |
| #3 | OpenCode | free and open source (MIT); free models included, or bring your own key, or sign in with your Claude Code login, GitHub Copilot or ChatGPT Plus/Pro | optional OpenCode Go $10/mo, Go Plus $40/mo or Go Teams $20/member/mo | 8.5/10 |
the full face-off is in Codex vs Claude Code, against OpenCode in Codex vs OpenCode, against open source BYO-key in Cline vs Codex, and against Google's terminal agent in Gemini CLI vs Codex. every plan from every coding agent is on the ai coding agent price sheet.
faq
how much does Codex cost?
Codex comes with ChatGPT: Free $0, Go $8/mo, Plus $20/mo, Pro $100, $200 or $500/mo, and Business $20 a seat a month billed annually ($25 monthly) or $100 for a Premium seat. or pay API rates with an API key.
is Codex free?
partly. ChatGPT Free includes Codex in the desktop app on GPT-6 Luna, subject to rollout. the CLI, IDE extension, web and cloud features start with Plus at $20/mo.
is Codex included in ChatGPT Plus?
yes. Plus at $20/mo gets Codex on the web, in the CLI, in the IDE extension and on iOS, with GitHub code review and Slack, on GPT-6.1 Sol, GPT-6.1 Terra and GPT-6 Luna.
what is Codex API pricing?
with an API key you pay standard API rates per million tokens: GPT-6.1 Sol $2 input and $10 output, GPT-6.1 Terra $1 and $5, GPT-6 Luna $0.10 and $0.50, GPT-6 Astra $10 and $50. no cloud features on an API key.
what are the Codex usage limits?
on Plus and Standard Business, OpenAI estimates 15-160 local messages per five hours on GPT-6.1 Sol, 35-285 on GPT-6.1 Terra and 350-3,000 on GPT-6 Luna. weekly limits may also apply. Pro has no five-hour limit right now.
Codex Pro 100 vs 200 vs 500: what's the difference?
all three include everything in Plus with no five-hour limit right now. Pro 200 has more usage than Pro 100, Pro 500 has the most and is the only one with Ultrafast for GPT-6 Astra and GPT-6.1 Sol. all are billed monthly only.
how much is Codex for a team?
ChatGPT Business is $20 a user a month billed annually or $25 monthly for a Standard seat, and $100 annually or $125 monthly for a Premium seat with 5x the usage and no five-hour limit. 2+ users. Enterprise is contact sales.
can i buy more Codex usage?
yes. Plus and Pro can buy ChatGPT credits, which last 12 months and also work in ChatGPT Work, Word, Excel and PowerPoint. anyone can run extra local chats on an API key at API rates.
can i buy Codex on its own?
no. there's no separate Codex subscription or licence. Codex comes with ChatGPT plans from free up, or you run it on an OpenAI API key and pay per token.
how is Codex billed?
through your ChatGPT plan: monthly for Go, Plus and Pro, monthly or annually for Business seats. extra usage on Plus and Pro is ChatGPT credits. on an API key it's per token, on your API account.
does Codex Pro have annual billing?
no. Pro is monthly only. Business is the only plan with an annual price.
tools in this guide
sources
checked 2026-12-03
- Codex pricing (plans, usage limits, speed multipliers, voice, credit rates, feature table): https://developers.openai.com/codex/pricing
- ChatGPT business pricing (Standard seat $20/$25, Premium seat $100/$125): https://openai.com/business/chatgpt-pricing/
- OpenAI API pricing (per-token rates, long context, cache writes, batch, flex, fast): https://platform.openai.com/docs/pricing
- about ChatGPT Pro tiers (Pro 100, 200, 500, Ultrafast, Pro 200 grandfathering, monthly only): https://help.openai.com/en/articles/9793128-about-chatgpt-pro-plans
- using credits for flexible usage (personal plans): https://help.openai.com/en/articles/12642688
- comparison table and other coding agent prices: numptr data/tools.json (re-checked daily at each vendor's pricing page)
- ranks and scores: numptr data/tools.json (coding agents board)
match day: Claude Code v OpenAI Codex