All articles

Codex Pricing: Plus vs Pro vs API Key, Credit Rates, and What One Task Costs

Plus is $20, Pro starts at $100, and an API key bills per token. We compare the credit rates with API prices (25x, by our arithmetic) and price three example tasks on an API key, without pretending to convert included usage into dollars.

Cover image: Codex Pricing: Plus vs Pro vs API Key, Credit Rates, and What One Task Costs
Also available in中文Español

Codex pricing comes down to three routes: a ChatGPT plan with included usage (Plus at $20, Pro from $100), credits on top of that, or an API key billed per token. OpenAI’s own page warns that API token prices are separate from subscription usage and should not be used to estimate included tasks. So this guide does not pretend to convert Plus into dollars. It shows what each route is, how credit rates relate to API prices, and what an example task costs on an API key, all from the pages we read on November 10, 2026.

The plans and what they include

Table of Codex plans on the official page: Plus at $20, Pro from $100 with $100, $200 and $500 tiers, Business at $20 per user, and API key billed per token, with limit notes

Plus lists Codex on the web, in the CLI, in the IDE extension and on iOS, with GPT-6.1 Sol and GPT-6 Luna, and the option to extend usage with credits. The pricing page gives estimates for Plus per five hours: 15 to 160 local messages on GPT-6.1 Sol, 35 to 285 on GPT-6.1 Terra, 350 to 3,000 on GPT-6 Luna and 5 to 45 on GPT-6 Astra. It calls them estimates, not fixed limits. Pro starts at $100, comes in $100, $200 and $500 tiers, and has no five-hour limit. For the Free and Go side, see is Codex free.

Two details change the maths. Local messages and cloud tasks share one allowance, and the page says cloud tasks may use more than local messages. And the dollar price of a plan says nothing about how many tokens it covers; the page tells you to read your own limit in the usage dashboard, or /status in the CLI. For how to read it, see how to check Codex usage limits.

By our math, credits are priced 25 times the API

After you reach your included usage, credits let you keep going. The Codex page lists credit rates per million tokens for each model. We put them next to the API pricing page’s Standard prices.

Table of Codex credit rates per million tokens next to API prices for GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Luna and GPT-6 Astra; credits are 25 times the API dollar price for input, cached input and output

For all four models and all three token types, the credit rate is exactly 25 times the API price in dollars. That is our arithmetic from two pages, not a statement from OpenAI. The Codex page does not say what one credit costs in dollars and notes that credit prices depend on your plan, so we cannot turn this into a dollar figure for you. It does mean that a model that is cheap on the API is cheap in credits too, and that the choice of model matters more than the choice of route.

What a task costs on an API key

With an API key you pay the API price for every token, and you do not get the cloud features. We priced three example tasks. They are our assumptions, not measurements: a quick fix of 40K input tokens and 2K output, a feature of 400K and 15K, and a long agent run of 3M and 80K, with 80% of the input cached.

Table of the API-key cost of three example Codex tasks on four models, such as $0.34 for a feature-sized task on GPT-6.1 Sol, and how many such tasks $20 or $100 of API tokens would cover (our assumption, not what Plus includes)

On GPT-6.1 Sol, a feature-sized task is about $0.34, so the same $20 spent on API tokens covers roughly 58 of them and $100 roughly 290 (our assumption). That is not what Plus includes. On GPT-6 Luna the same task is about $0.02. On GPT-6 Astra it is about $1.87. Context matters here: our own empty test question in the Codex CLI already reported 3,890 tokens used, so even a one-line request is not free of overhead.

How to choose

  • Light or occasional use: a plan is simpler. Plus is $20 and covers Codex in every client. An API key can be cheaper if you run only a few tasks and pick a cheap model, but you lose the cloud features.
  • Heavy, steady use: Pro has no five-hour limit, and the tiers go up to $500. Check your dashboard after a week to see how much of your allowance you really use.
  • Automation and CI: the pricing page describes the API Key option as great for automation in shared environments like CI.
  • Teams: Business is $20 per user per month when billed annually, $25 monthly, with two or more users.

Where Codex sits in your whole AI bill is easier to see in the AI subscription cost calculator. For the other ChatGPT tiers, see ChatGPT Go vs Plus vs Pro; for subscription versus API on the ChatGPT side, ChatGPT subscription vs API; and for the rival tool, Claude Code vs Codex.

What we tested and what comes from the pages

  • Tested: the 3,890-token figure comes from a Codex CLI 0.167.0 run against a local model on November 10, 2026. All task costs are our arithmetic on published prices.
  • From the pages, not tested: every plan price, credit rate, API price and usage estimate. We have no ChatGPT plan or API key on the box, so we did not measure real included usage or a real bill.
  • Assumed: the three example tasks and the 80% cached share. Real runs vary a lot, and the break-even counts move with them.
  • Not covered: Fast and Ultrafast speed multipliers, Batch and Flex prices, image generation, long-context prices above 272K tokens, and Enterprise agreements. GPT-5.6 Sol has a promotional price that we left out.
  • Sources: OpenAI’s Codex pricing and API pricing pages, read on November 10, 2026. Prices change, so check both before you decide.

FAQ

How much does Codex cost?

Plus is $20 a month and Pro starts at $100, with tiers at $100, $200 and $500. Business is $20 per user per month billed annually. With an API key you pay API token prices instead.

Is Codex included in ChatGPT Plus?

Yes. The pricing page lists Codex on the web, in the CLI, in the IDE extension and on iOS for Plus, with five-hour usage estimates.

How much is a Codex credit worth in dollars?

The Codex page does not say; it depends on your plan. What we can show is that credit rates are 25 times the API price per token for the models listed.

Is the Codex API key cheaper than Plus?

It depends on how many tasks you run and which model you pick. In our example, a feature-sized task is about $0.34 on GPT-6.1 Sol, so the same $20 spent on API tokens covers about 58 such tasks (our assumption). That is not what Plus includes, and OpenAI says not to use API prices to estimate it.

Does Pro have usage limits?

Pro has no five-hour limit, according to the pricing page. Check your dashboard for any other limits that apply.

Leave a thought

Your email address will not be published.