OpenAI Codex Pricing: Which ChatGPT Plan You Need and What the API Costs

Codex isn’t sold on its own. It comes with ChatGPT plans: Free and Go get limited Codex in the desktop app, Plus at $20 a month adds Codex on the web, in the terminal (CLI), in your code editor and on iOS, and Pro at $100, $200 or $500 a month removes the five-hour usage limit. You can also run Codex in the CLI or your editor with an API key and pay per token instead.

Screenshot of OpenAI's Codex pricing page: Free $0, Go $8, Plus $20 and Pro from $100 a month.
OpenAI's Codex pricing page on November 26, 2026. OpenAI's Pro help article says Pro 200 also gets Ultrafast, for GPT-6.2 Sol only.

Codex plans and prices

PlanPriceHow much Codex you getBest for
Free$0Limited Codex in the desktop app (GPT-6 Luna at standard speed). No cloud tasks.Trying it
Go$8 a monthLimited Codex, the same as FreeLight use
Plus$20 a monthCodex on the web, CLI, editor and iOS, plus automatic code review and Slack. A five-hour limit, then buy credits to keep going.Most individual developers
Pro$100, $200 or $500 a monthNo five-hour limit, more usage at each tier, and $100, $200 or $500 of monthly API credits. Pro 200 adds Ultrafast for GPT-6.2 Sol; Pro 500 has the most usage.Coding with Codex all day
BusinessStandard seat $20 a user a month billed yearly ($25 monthly). Premium seat $100 ($125 monthly).Standard has the same Codex limits as Plus. Premium has more usage and no five-hour limit. SAML single sign-on.Teams
Enterprise and EduQuote from salesFlexible pricing with no fixed rate limits: usage scales with creditsLarge organizations
API keyPay per tokenCodex in the CLI, SDK or editor only, with no cloud features. GPT-6.2 Sol is $2 per million input tokens and $10 per million output tokens.Occasional use, or scripts
Individual plans are billed monthly; OpenAI offers no yearly billing for Go, Plus or Pro. Prices are before tax.

How much Codex usage each plan gets

OpenAI publishes ranges, not fixed limits, and only for Plus and Business Standard seats. In each five-hour window you get roughly 17 to 180 local messages with GPT-6.2 Sol, 35 to 285 with GPT-6.1 Terra, or 350 to 3,000 with the small GPT-6 Luna. Bigger tasks and cloud tasks use more of the allowance, and weekly limits may also apply. Pro plans have no five-hour limit. OpenAI doesn’t publish message counts for Free, Go or Pro.

Speed costs usage too: Fast mode uses your allowance at 2x (2.5x on older models) and Ultrafast at 6x or 8x. ChatGPT Work and Codex share the same limits, so heavy chatting in Work leaves less for code.

What happens when you hit the limit

On Plus and Pro you can buy ChatGPT credits and keep working without upgrading. Credits expire 12 months after purchase and aren’t refundable unless the law or a contract requires it. OpenAI shows the price of credits in your account (Settings, then Usage) before you buy, and it can vary by country and plan. A request that’s already running can finish, subject to fair use.

Plan or API key?

With an API key you pay only for the tokens you use, but you lose the cloud features: no cloud tasks, no GitHub code review and no Slack. GPT-6.2 Sol costs $2 per million input tokens and $10 per million output tokens; the small GPT-6 Luna is $0.10 and $0.50. If you code with Codex most days, a plan is simpler to budget. If you use it a few times a week, or from scripts, the API can cost less. Our OpenAI API pricing calculator estimates the per-token bill.

Which plan should you pick?

  • Trying Codex: Free, in the desktop app.
  • Coding most weeks: Plus, and buy credits in the weeks you hit the limit.
  • Hitting Plus’s limit every week: Pro 100. Move to Pro 200 if you want Ultrafast.
  • A team: Business, with Premium seats only for the heaviest users.
  • Automation and scripts: an API key.

Weighing Codex against Anthropic’s tool? See Codex vs Claude Code and Claude Code pricing.

Related

Price history

We re-check OpenAI's prices on its own pricing page every day and log every change to its regular prices here, newest first. Short-term sales aren't listed.

  • November 26, 2026: First checked. Codex included on all ChatGPT plans: Plus $20 a month, Pro $100/$200/$500, Business Standard $20 a user billed yearly ($25 monthly), Premium $100 ($125). API GPT-6.2 Sol $2/$10 per million tokens. Source

Last checked against OpenAI's own pricing page on November 27, 2026. Prices are US prices before tax and change often, so confirm on the vendor's site before you buy.

More AI tool prices we track: Claude Code · Zapier · Cursor · ElevenLabs · n8n · Descript · Notion AI · Suno · Otter.ai · Granola · HeyGen vs Synthesia · Lovable · Replit · Gamma · Windsurf · Make · HeyGen · Synthesia · Kling AI · Midjourney · Speechify

Sources: Codex pricing, chatgpt.com/pricing, Using Codex with your ChatGPT plan, OpenAI API pricing.

Frequently asked questions

Is OpenAI Codex free?

Partly. Codex is included on ChatGPT Free and Go, with limited usage in the desktop app. Codex on the web, in the CLI and in your editor, with more usage, starts on Plus at $20 a month.

Which ChatGPT plan includes Codex?

All of them include some Codex. Plus ($20 a month) adds the web, CLI, editor and iOS versions and cloud tasks. Pro ($100, $200 or $500 a month) removes the five-hour limit. Business Standard seats match Plus.

How much does Codex cost on the API?

You pay per token. GPT-6.2 Sol is $2 per million input tokens and $10 per million output tokens. With an API key, Codex runs in the CLI, SDK or editor but has no cloud features.

What happens when I hit the Codex limit?

On Plus and Pro you can buy ChatGPT credits to keep working. Plus has a five-hour limit and weekly limits may apply; Pro plans have no five-hour limit.

Scroll to Top