Codex pricing
Which ChatGPT plans include Codex, the usage limits OpenAI publishes for each, what happens at the limit, and what Codex costs with an API key instead.
Short answer
Free to try, full Codex from $20 with ChatGPT Plus.
On November 8, 2026, OpenAI’s Codex pricing page lists Codex in every ChatGPT plan: Free at $0 and Go at $8 a month with limited access in the desktop app, Plus at $20, Pro at $100, $200 or $500, Business at $25 a user ($20 billed yearly), and Enterprise and Edu through sales. Or you skip the plan and pay per token with an OpenAI API key.
$20US, per month
Plus / monthWhich Codex plan do you need?
Pick how you want to pay for Codex. You get what that plan gives you, its US price and the fact that decides it, from OpenAI’s Codex pricing page, Codex docs and API pricing page.
- 01ChatGPT Free, $0: limited Codex access with GPT-6 Luna at Standard speed in the ChatGPT desktop app, subject to rollout.
- 02The fact that decides it: OpenAI publishes no message count for Free, and image generation in Codex is not on the Free plan.
- 03Go at $8 a month carries the same Codex line on the pricing page. For the CLI, the IDE extension and Codex on the web, the step up is Plus at $20.
When a Free or Go account hits its limit, the Codex error message tells you to upgrade to Plus or try again at the time it shows.
- 01ChatGPT Plus, $20 a month: Codex on the web, in the CLI, in the IDE extension and on iOS, plus automatic code review and Slack.
- 02The limit that decides it: about 15 to 160 local messages per five hours on GPT-6.1 Sol, or 350 to 3,000 on GPT-6 Luna. Weekly limits may also apply.
- 03Past the limit you can buy ChatGPT credits without changing plan, or run local chats with an API key at API rates.
Codex and ChatGPT Work share one allowance on Plus, so agent work in ChatGPT draws from the same pool.
- 01ChatGPT Pro in three tiers: $100, $200 or $500 a month.
- 02The limit that decides it: “Pro plans currently have no five-hour limit,” the Codex pricing page says, so a long session is not cut off at the five-hour mark.
- 03Only Pro $500 gets Ultrafast mode, with GPT-6 Astra up to 8 times faster. It uses included usage at 8 times the Standard rate, then credits.
OpenAI’s Codex page sends you to its Help Center for how much usage each Pro tier gives.
- 01An OpenAI API key, pay as you go, billed on your OpenAI Platform account at standard API rates. No ChatGPT plan needed.
- 02Price per million tokens on GPT-6.1 Sol: $2 input, $10 output.
- 03The fact that decides it: no plan limits, but no cloud features. Codex cloud, GitHub code review and Slack need a ChatGPT sign-in.
OpenAI recommends API key sign-in for automation such as CI jobs. It works in the Codex CLI, the SDK, the IDE extension and the ChatGPT desktop app.
Codex pricing: which ChatGPT plans include Codex
Codex has no price of its own. OpenAI’s coding agent comes with your ChatGPT plan, or it bills tokens through an API key. The Codex pricing page says Codex is included in “your ChatGPT Free, Go, Plus, Pro, Business, Edu, or Enterprise plan”, and that Codex and ChatGPT Work share the same usage, credits and limits. Checked November 8, 2026 on OpenAI’s Codex pricing page; prices are in US dollars per month.
| Plan | US price | Codex on this plan |
|---|---|---|
| Free | $0 | Limited: GPT-6 Luna in the desktop app, subject to rollout |
| Go | $8 a month | Limited, same Codex line as Free |
| Plus | $20 a month | Web, CLI, IDE extension, iOS; five-hour and weekly limits |
| Pro | $100, $200 or $500 a month | No five-hour limit; Ultrafast on $500 |
| Business | $25 a user monthly, or $20 billed yearly | Plus-level limits per Standard seat; workspace credits |
| Enterprise and Edu | Contact sales | No fixed limits with flexible pricing |
| API key | Pay per token | CLI, SDK, IDE extension; no cloud features |
Which account you sign in with decides the bill. A ChatGPT sign-in draws from your plan’s allowance; an API key bills every token to your OpenAI Platform account. OpenAI warns not to use API token prices to estimate how many tasks a subscription includes, because the two are counted separately.
Is Codex free? Codex on ChatGPT Free and Go
Yes, in a limited way. ChatGPT Free costs $0 and the Codex pricing page lists it with GPT-6 Luna at Standard speed in the ChatGPT desktop app, subject to rollout, for “quick coding tasks”. OpenAI’s main pricing page marks Codex as “Limited” on Free and Go, and the Codex page calls it “limited trial access”. Go, at $8 a month, gets the same Codex line and may include ads.
What Free does not give you, per OpenAI’s pages read November 8, 2026:
- No published message count. OpenAI gives five-hour estimates for Plus and Business only.
- No image generation inside Codex.
- Codex on the web, the CLI, the IDE extension and iOS are listed from Plus up, along with automatic code review and Slack.
There is no free trial of Plus or Pro on the Codex pricing page. Two narrow free routes exist. The Codex for Open Source program lets eligible maintainers apply for six months of ChatGPT Pro with Codex, plus API credits from the Codex Open Source Fund for projects that use Codex in pull request review and release work. And eligible users can invite friends from the profile menu in the Codex app; the dialog shows the current reward, which OpenAI does not state on the page.
Codex usage limits on Plus, Pro and Business
OpenAI does not sell Codex by the message. How fast you use your allowance depends on the model, the size of the task, the context the agent has to hold and whether the task runs locally or in the cloud. Cloud tasks may use more of your allowance than local messages. These are OpenAI’s estimates of local messages per five-hour period, the same for Plus and a Standard Business seat. Checked November 8, 2026 on the Codex pricing page.
| Model in Codex | Messages per 5 hours |
|---|---|
| GPT-6 Astra | 5 to 45 |
| GPT-6.1 Sol | 15 to 160 |
| GPT-6.1 Terra | 35 to 285 |
| GPT-6 Sol | 15 to 150 |
| GPT-6 Luna | 350 to 3,000 |
- Plus and Business have the five-hour limit above, and weekly limits may also apply. Local messages and cloud chats share one allowance.
- Pro plans “currently have no five-hour limit”, the pricing page says.
- Enterprise and Edu with flexible pricing have no fixed rate limits; usage scales with credits. Without flexible pricing they get the same per-seat limits as Plus for most features.
Some settings burn the allowance faster. Fast mode counts against included usage at 2.5 times the Standard rate, and Ultrafast at 8 times. Image generation uses limits about 3 to 5 times faster than a similar turn without images. Voice in the desktop app costs $0.05 a minute from your Codex budget. On Plus and Pro, ChatGPT for Excel also draws from the same pool.
Buying more Codex usage: ChatGPT credits
When you hit the limit in the middle of a turn, OpenAI says the agent can finish that turn, subject to fair use. After that you have three options, from the Codex pricing page:
- Plus and Pro: buy additional credits and keep working without changing plan.
- Business, Edu and Enterprise with flexible pricing: buy workspace credits.
- Anyone: run extra local chats with an API key, charged at standard API rates.
Credits are spent per token at the rates below. OpenAI says credit purchase prices “depend on your plan or agreement”; the dollar price of a credit for Plus and Pro is in OpenAI’s Help Center, which we could not read, so it is not printed here. Standard speed rates, checked November 8, 2026:
| Model | Input / output credits per 1M tokens | Cached input per 1M |
|---|---|---|
| GPT-6 Astra | 250 / 1,250 | 25 |
| GPT-6.1 Sol | 50 / 250 | 2.5 |
| GPT-6.1 Terra | 25 / 125 | 1.25 |
| GPT-6 Luna | 2.5 / 12.5 | 0.25 |
| GPT-5.6 Sol | 100 / 500 | 10 |
OpenAI’s own yardstick: “A typical GPT-5.6 Sol task may use 2-15 credits.” Credit billing has no separate cache-write charge. Fast mode bills purchased credits at 2 times the Standard rate and Ultrafast at 6 times. GPT-6.1 Sol has no long-context surcharge when it runs on your subscription.
$20Codex API key pricing: cost per million tokens
With an API key, Codex bills through your OpenAI Platform account at standard API rates, the Codex authentication docs say. There is no five-hour window and no weekly limit from a plan, only your API organization’s own limits. Which models you can pick follows the models available to your key. Prices below come from OpenAI’s API pricing page, checked 2026-11-07.
| Model in Codex | Input / output per 1M tokens | Cached input per 1M |
|---|---|---|
| gpt-6-astra | $10 / $50 | $1 |
| gpt-6.1-sol | $2 / $10 | $0.10 |
| gpt-6.1-terra | $1 / $5 | $0.05 |
| gpt-6-luna | $0.10 / $0.50 | $0.01 |
| gpt-5.3-codex | $1.75 / $14.00 | $0.175 |
OpenAI’s API pricing page lists gpt-5.3-codex under a separate Codex category; the Codex models page recommends the GPT-6 family. Fast mode doubles the API price and Ultrafast, on gpt-6-astra and gpt-6.1-sol only, costs 6 times the standard rate. With an API key the ChatGPT credit multipliers do not apply.
What an API key does not give you: Codex cloud, ChatGPT Work on the web, automatic GitHub code review and the Slack integration all need a ChatGPT sign-in. To sign in with a key, choose “Use API Key” on the signed-out screen of the ChatGPT desktop app, or pipe the OPENAI_API_KEY variable into codex login with the API key option in the CLI. Our OpenAI API key guide shows where to create one.
How Codex limits reset and how to check your usage
Codex limits on Plus and Business run on a five-hour period, and weekly limits may apply on top. OpenAI does not print fixed reset times; it says your usage dashboard shows “current limits and reset times”. When you run out, the Codex error message tells you to try again at a given time, or names the next step for your plan, in Codex’s open source code on GitHub.
- 01Open the Codex usage dashboard in ChatGPT, under Codex settings, Usage, to see your current limits and when they reset.
- 02In an active Codex CLI session, type /status to see your remaining limits and the session’s token usage.
- 03Check the dashboard every week or two, as OpenAI suggests, to learn your pace.
- 04To stretch the allowance: pick a smaller model, give the agent only the files it needs, keep AGENTS.md short or nest it by folder, and turn off MCP servers you don’t use.
Code Review counts only when Codex reviews pull requests through GitHub, for example when you tag Codex in a pull request or turn on automatic reviews. Reviews you run locally count toward your general limit.
Codex pricing for Business, Enterprise and Edu
Business costs $20 per user per month billed yearly, or $25 billed monthly, for two or more users. A Standard Business seat has the same five-hour Codex estimates as Plus. Business adds larger virtual machines for cloud chats, a dedicated workspace with SAML SSO and MFA, no training on business data by default, and Codex access tokens for trusted automation, which Plus and Pro do not have. When the team runs out, the workspace buys credits.
Enterprise and Edu are sold through OpenAI’s sales team, with no public price. They add priority processing, SCIM, EKM, role-based access control, audit logs through the Compliance API, and data retention and residency controls. With flexible pricing there are no fixed rate limits and usage is paid in credits or, under some agreements, in US dollars. Ultrafast mode is off by default for Enterprise; workspace owners can turn it on for selected users.
FAQ
Is Codex free?
Partly. ChatGPT Free includes limited Codex access with GPT-6 Luna in the desktop app, subject to rollout, OpenAI’s Codex pricing page says. The CLI, the IDE extension and Codex on the web start with ChatGPT Plus at $20 a month.
Is Codex free for ChatGPT Plus users?
Yes, Codex is included in Plus at no extra cost, with a five-hour allowance shared with ChatGPT Work. Past it you can buy credits or wait for the reset.
How much does Codex cost per month?
$0 on Free, $8 on Go, $20 on Plus, $100, $200 or $500 on Pro, and $25 per Business user on monthly billing, as of November 8, 2026. With an API key there is no monthly price; you pay per token.
What is the Codex API key price?
Standard API rates. On gpt-6.1-sol that is $2 per million input tokens and $10 per million output tokens; gpt-5.3-codex costs $1.75 and $14.
Is there a Codex free trial?
The Codex pricing page lists no trial of Plus or Pro. The free routes are the Free plan, the Codex for Open Source program with six months of Pro for eligible maintainers, and referral rewards when a friend invites you.
When do Codex usage limits reset?
Plus and Business work on five-hour periods, with weekly limits that may also apply. Your usage dashboard shows the exact reset time, and /status in the CLI shows what is left.
Does Codex share limits with ChatGPT?
With ChatGPT Work, yes: OpenAI says Work and Codex share the same pricing, credits and usage limits. On Plus and Pro, ChatGPT for Excel draws from the same pool too.
Is Codex included in ChatGPT Pro?
Yes. Pro includes Codex in all three tiers, with no five-hour limit for now and Ultrafast mode on the $500 tier.
Sources
- OpenAI, Codex Pricing (developers documentation): plans, usage estimates, credits rate card, speed modes, FAQ, read November 8, 2026
- OpenAI, ChatGPT Pricing page and Codex Pricing page on ChatGPT: plan features, read November 8, 2026
- OpenAI, Codex docs: Speed modes, read November 8, 2026
- OpenAI, Codex docs: Authentication, read November 8, 2026
- OpenAI, Codex docs: Models, read November 8, 2026
- OpenAI, API Pricing (developers documentation), read November 8, 2026
- OpenAI, Codex for Open Source program page, read November 8, 2026
- OpenAI, openai/codex repository on GitHub: usage limit error messages, read November 8, 2026
Spotted a mistake? Write to support@gptx.io and we will check it.
Next up4 minIs Codex down?UPOur own check of OpenAI Codex every five minutes, the incident history and fixes for usage limit and login errors.