Plans & pricing
Is Codex Free? GPT-6 Sol, ChatGPT Work, CLI, Credits, and API
Yes—Codex is included in ChatGPT Free. Free and Go use GPT-6 Luna in Work and Codex; higher tiers add GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Sol and Astra model choice, while API keys are billed separately.
Updated
In short
Yes, in the ChatGPT desktop app. Codex is included in ChatGPT Free, where OpenAI lists GPT-6 Luna at Standard speed in the desktop app, subject to rollout, and Codex shares its usage with ChatGPT Work. The Codex CLI, the IDE extension, Codex on the web, the Sol models and GPT-6.1 Terra start at ChatGPT Plus for $20 a month. Go, at $8, lists limited GPT-5.6 Terra in Codex but stays in the desktop app. Signing Codex in with an API key is never free: every token is billed to your OpenAI Platform account at standard API rates.
On this page3
How far the Free plan goes
Free gets Codex in one place, the desktop app, on one model, GPT-6 Luna. "Subject to rollout" means Luna in Codex may not have reached every Free account yet.
OpenAI's published message estimates cover Plus and Standard Business, and we found no figure for Free or Go. Plus is sold with "expanded Codex usage", and on Plus OpenAI estimates 350 to 3,000 local Luna messages per five hours, so expect less than that on Free. Because Codex and ChatGPT Work share one allowance, heavy Work use on Free also shortens your Codex time.
When Free runs out, there is no credit top-up: OpenAI sells extra credits to Plus and Pro users and to Business, Edu and Enterprise workspaces on flexible pricing. You can wait for the limit to reset, or keep working locally by signing Codex in with an API key, which bills every token.
The first paid step depends on where you want to code
The second column decides it. If the desktop app is enough, Free or Go covers you; the terminal or an IDE costs either $20 a month or per-token billing.
Route | Where Codex runs | Models in Codex | Cost |
|---|---|---|---|
Free | ChatGPT desktop app | GPT-6 Luna, subject to rollout | $0 |
Go | ChatGPT desktop app, for lightweight coding tasks | GPT-6 Luna, plus limited GPT-5.6 Terra | $8 a month |
Plus | Desktop app, web, CLI, IDE extension and iOS, plus automatic code review and Slack | Adds GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Sol and GPT-6 Astra | $20 a month, with credits to extend it |
API key, no plan needed | Desktop app local chats, CLI, IDE extension and SDK; no Codex cloud, GitHub code review or Slack | Those your key can call | Per token: GPT-6 Luna is $0.10 per million input tokens and $0.50 per million output tokens |
For light terminal use, an API key on GPT-6 Luna can cost less than Plus; Codex CLI cost prices an illustrative task on each model. For Codex, Go is worth $8 only if the desktop app is enough; ChatGPT Go vs Plus covers what else it adds.
Code you do not own: training defaults differ by plan
OpenAI lists no training on your data by default only for Business, Enterprise and API-key use. Go, Plus and Pro use your content for training unless you opt out, and OpenAI's plan comparison does not state Free's default. If the repository belongs to an employer or a client, check those settings before pointing a personal Free account at it, or use an API key or a Business workspace. Business starts at two users, at $25 per user billed monthly.
For how credits and API billing stay apart once you pay, see Codex credits vs API billing.
Edited byRick Finch
Official sources
Editorial guidance grounded in official product sources.
- Codex official site
- Codex Pricing
- ChatGPT | ChatGPT Learn
- ChatGPT Pricing | OpenAI
- OpenAI Developer Platform Documentation
- OpenAI introduces GPT-6 Sol and Luna
- ChatGPT Work and Codex pricing
- About ChatGPT Pro tiers
Show all 9 sources
FAQ
Common questions
Can I use Codex for free?
Yes. Codex is included in ChatGPT Free, with plan-specific usage limits.
Does ChatGPT Go include Codex?
Yes. ChatGPT Go includes Codex and uses GPT-6 Luna for Work and Codex.
Is Codex CLI free?
The CLI is free to install. ChatGPT Free sign-in provides limited included usage; API-key sign-in is billed at standard API rates.
Are Codex credits the same as OpenAI API credits?
No. Eligible ChatGPT Work and Codex usage can share plan-side credits, but those credits do not pay API invoices. API-key usage remains separately billed.
When should a team pay for Codex instead of staying free?
Pay when task volume, workspace ownership, governance, admin controls, or predictable coding-agent capacity matters more than a free starting route.
Is Codex free if I bring an API key?
No. Bringing an API key moves cost to the API billing account behind that key; it does not make API-backed usage free.
Next steps
Take the next buying step
- Tool profileSee full Codex pricingUse this next when you need exact plan limits, credit behavior, API boundaries, or current Codex price details beyond the short free-access answer.
- GuideWhich AI Coding Assistant Plan Should You Buy?Use this guide if Codex access, credits, or team controls do not match the way you want to buy a coding assistant and you want to weigh the other plan routes.