Skip to content

Codex Credits Calculator

Codex meters usage in credits worth $0.04 each, OpenAI's direct API dollar rate multiplied by 25 for nearly every model. Estimate GPT-5.6 Sol, Terra, and Luna credit burn for your workload, and compare it with calling the API yourself. Everything runs in your browser.

Runs entirely in your browser. Nothing you enter leaves this page.

Rates verified against OpenAI's published Codex credit and API rate cards on 2026-12-02.

Codex credits are OpenAI's usage-based billing unit for Codex, in force since 2026-04-02. One credit costs $0.04, and the credit rate card equals OpenAI's direct API dollar rate card multiplied by 25 for every model except GPT-5.6 Sol and Daybreak Blue, where the Codex credit card still carries a promotional rate below the current API price, so there is no per-model markup. OpenAI states a typical GPT-5.6 Sol task may use 2 to 15 credits. OpenAI publishes no fixed monthly credit allotment: plans meter usage in a shared 5-hour window plus weekly limits. Rates verified on 2026-12-02.

Comparing platforms? See how Codex credits stack up against GitHub Copilot's AI credits, or browse LLM pricing across providers.

Your usage

Estimated burn

Credits per request
4.7
$0.19
Credits per month
2,050
$82.02

GPT-5.6 Sol costs less in Codex credits than on the API. 1 credit = $0.04, and the Codex credit card still carries a promotional rate the API card no longer offers, so this workload costs $115.72 when calling the API directly.

Billed in credits

$82.02

Direct API, same tokens

$115.72

-29% markup versus the direct OpenAI API. Credits are API list pricing metered in a different unit.

OpenAI states a typical GPT-5.6 Sol task may use 2 to 15 credits, and Codex plans carry no fixed monthly credit allotment: Codex moved from per-message pricing to token-based credits on 2026-04-02 (Enterprise 2026-04-23). Plans meter local messages and cloud chats in a shared 5-hour window plus weekly limits. OpenAI publishes no fixed monthly credit allotment per plan, so this dataset carries none. It DOES publish a per-model table of local messages per five-hour period, which as of 2026-10-12 covers only Plus and Standard Business (it covered Plus, Pro 5x, Pro 20x, Standard Business and API key when read 2026-09-08): ranges, not a single number, and denominated in messages rather than credits. OpenAI states "Pro plans currently have no five-hour limit." That is per-plan capacity in a different unit, and it is not modelled here yet.

Note: Repriced downward between our 2026-08-19 check and 2026-08-22: 125/12.5/750 credits ($5/$0.50/$30) became 100/10/500 ($4/$0.40/$20) on both cards. OpenAI labels it promotional. The API card's promotion ended: it read "GPT-5.6 Sol's promotional pricing is available until November 30, 2026." on 2026-11-20, and on 2026-12-02 it lists gpt-5.6-sol at $5.00/$0.50/$30.00 again with no promotional note. The Codex credit card has not followed: as read 2026-12-02 it still lists 100/10/500 credits and still reads "GPT-5.6 Sol's promotional pricing is available at least through November 21, 2026." At $0.04 per credit, Codex credits therefore cost 20% less than the API on input and cached input and a third less on output for this model. This is the only featured row where the 1 credit = $0.04 identity does not hold.

Codex bills you at API rates whether you notice or not. Goei tracks what you actually spend, from the logs your tools already write. Zero keys.

Credit rate card vs. direct API rate card

Credits per 1 million tokens next to OpenAI's direct API dollars per 1 million tokens. At $0.04 per credit the two columns always land on the same dollar figure, model for model, which is the proof that Codex credits carry no markup.

Codex credit rate card vs. direct API rate card
ModelCredits in / 1MCredits out / 1MAPI $ in / 1MAPI $ out / 1M
GPT-6.2 Astra2001,000$8.00$40.00
GPT-6 Astra2501,250$10.00$50.00
GPT-6.2 Sol50250$2.00$10.00
GPT-6.1 Sol50250$2.00$10.00
GPT-6.1 Terra25125$1.00$5.00
GPT-6 Sol50250$2.00$10.00
GPT-6 Luna313$0.10$0.50
GPT-5.6 Sol100500$5.00$30.00
GPT-5.6 Terra50300$2.00$12.00
GPT-5.6 Luna530$0.20$1.20
GPT-5.4 mini19113$0.75$4.50

GPT-5.5 and GPT-5.4 are prior-generation models, now priced above the Sol and Terra rates they used to match. Both are still selectable in the calculator above, and each model note carries OpenAI's retirement date. Cached input bills at one tenth of the fresh input rate on every text model except GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Sol and GPT-6.1 Terra, where it bills at one twentieth.

Frequently asked questions

What is a Codex credit?

A Codex credit is OpenAI's token-metered billing unit for Codex, in force since April 2, 2026. One credit is worth $0.04, and the Codex credit rate card equals the OpenAI API dollar rate card multiplied by 25 for every model except GPT-5.6 Sol and Daybreak Blue, so credits are simply API list pricing in a different unit, with no per-model markup. On those two rows the credit card still carries a promotional rate below the current API price.

How many credits does a Codex task use?

OpenAI states a typical GPT-5.6 Sol task may use 2 to 15 credits, and fast mode consumes more. The exact figure depends on the model and the tokens in the request: enter your model and a token workload above to see credits per request, per day, and per month.

Are Codex credits cheaper than calling the API directly?

For most models they cost the same: at $0.04 per credit the Codex credit card equals the OpenAI API dollar card exactly (GPT-5.6 Terra input is 50 credits per 1M tokens, which is $2.00, the API rate). GPT-5.6 Sol is the exception as of December 2, 2026: its credit card still lists the promotional 100 credits per 1M input tokens ($4.00), while the API card is back at $5.00, so Sol is cheaper in Codex credits.

Which GPT-5.6 tier uses the fewest credits?

Luna is the cheapest at 5 credits per 1M input and 30 per 1M output ($0.20 / $1.20). Terra is 50 / 300 ($2 / $12). Sol, the flagship, is 100 / 500 ($4 / $20) after OpenAI cut it on August 22, 2026, a rate OpenAI calls promotional and holds at least through November 21, 2026. Luna costs one twentieth of a Sol input token and about one sixteenth of a Sol output token.

Do Codex plans include a set monthly credit allowance?

No. OpenAI publishes no fixed monthly credit allotment for Codex. ChatGPT Plus and Pro meter local messages and cloud chats in a shared 5-hour window plus weekly limits, and both can purchase extra credits. Business and Enterprise use flexible pricing that can buy additional workspace credits.

How does a Codex credit compare to a GitHub Copilot AI credit?

They are different unit sizes for the same idea. One Codex credit is $0.04 and one GitHub Copilot AI credit is $0.01, so one Codex credit equals four Copilot credits. Both meter direct API rates, so for the same model and workload the dollar cost is identical; only the credit count differs.

Sources

Prices last verified 2026-12-02, from each provider's official page.

This is an independent community tool, not affiliated with OpenAI. Estimates only; your bill is computed by OpenAI. Per-request token counts here are your estimates, not measurements. Rates change as models change, so check the sources for current numbers.

Want your whole stack in one number, subscriptions included? Total it with the How much are you spending on AI tools?.

More free tools

GitHub AI Credits Calculator

1 GitHub AI credit = $0.01. Estimate monthly Copilot credit burn per model, compare plan allowances, and project overage. Free, runs in your browser.

Open the tool

LLM API pricing, side by side

Claude, GPT, Gemini, DeepSeek, Mistral, and Grok API token prices side by side, verified against official pricing pages, with caching and tier caveats.

Open the tool

How much are you spending on AI tools?

Tick your AI subscriptions, add API spend, and get one honest monthly total with a breakdown. Free, in-browser, nothing you enter leaves your browser.

Open the tool

Anthropic API cost analyzer

Drop your Anthropic Console usage CSV and see Claude API cost by API key, model, and day at official token rates. Nothing leaves your browser.

Open the tool

AI model API prices over time

Chart how AI model API token prices changed over time. Filter by model and variation and read the price on any date. Open data, CC BY 4.0.

Open the tool

Claude Code spend analyzer

See your Claude Code usage value by project, git branch, and model. Drop your ~/.claude/projects folder; it parses in your browser, nothing uploaded.

Open the tool

GitHub Copilot bill migrator

See how the June 2026 switch from premium requests to AI credits changes your Copilot bill. Compare old and new monthly cost side by side, in your browser.

Open the tool

Copilot usage CSV analyzer

Drop the Copilot usage CSV from your GitHub billing page and see AI credits by model, day, SKU, and user. The file never leaves your browser.

Open the tool