OpenAI Codex pricing in 2025: A clear & simple guide

Stevia Putri
Written by

Stevia Putri

Katelin Teen
Reviewed by

Katelin Teen

Last edited May 20, 2026

Expert Verified
OpenAI Codex pricing in 2025: A clear & simple guide

Trying to figure out OpenAI Codex pricing feels like a wild goose chase, right? You’ve probably landed on a bunch of pages that give you conflicting information. One says the API was shut down in 2023, another mentions a subscription, and some forum posts are still asking if it’s free. It’s confusing.

So let’s cut through the noise. The short answer is that OpenAI Codex has been completely rebuilt and woven back into the OpenAI ecosystem. The old, standalone API is gone, but it's been replaced by a powerful set of coding tools you can get your hands on in a few different ways.

This guide will give you a straight, simple breakdown of how OpenAI Codex pricing works today, what you actually get for your money, and where its limits might mean you need a more specialized tool.

What is OpenAI Codex?

First, a quick history lesson to clear things up. The original OpenAI Codex was the AI model that powered the first version of GitHub Copilot, famous for turning plain English into code. It was available through a private beta API, but OpenAI officially deprecated the Codex models in March 2023.

But it didn't disappear. Instead, Codex has been relaunched as a whole suite of AI software engineering tools. Think of it as a coding partner that can help you write new features, squash bugs, answer questions about your codebase, and even review pull requests.

Today, you can access it in a few forms:

  • Codex in ChatGPT: A cloud-based agent living inside the ChatGPT interface. You can give it tasks, and it will get to work on them in the background.

  • Codex CLI: A command-line tool that brings all that coding power right into your local terminal.

  • Codex IDE Extension: An integration that embeds Codex directly into your editor, like VSCode.

  • API Models: For more custom needs, specialized models like "codex-mini-latest" are available through the OpenAI API.

The main source of confusion is that Codex isn't a separate product anymore. It’s now bundled with ChatGPT subscriptions. Let's break down what that means for your wallet.

How OpenAI Codex pricing works: The subscription model

The simplest and most common way to use Codex is through a ChatGPT subscription. There’s no separate "Codex plan" to sign up for. You just get the Codex agent and its tools as part of your ChatGPT Plus, Pro, Business, or Enterprise plan.

It's a smart move. This positions Codex as a powerful feature within a broader AI toolkit rather than a niche product for developers only. If you’re already using ChatGPT for other things, getting a capable coding assistant feels like a fantastic bonus.

Here’s a full breakdown of the plans and what they include for Codex, based on what we know from OpenAI's official documentation.

PlanMonthly PriceCodex Usage LimitsBest For
ChatGPT Plus$20/month~160 messages with the latest model per 3 hours (rolling window)Developers who need an AI coding partner for focused sessions a few times a week.
ChatGPT Pro$200/month~20x Plus limits with priority accessFull-time developers who want to weave AI into their daily workflow across multiple projects.
ChatGPT Business$20/user/month (annual) / $25/user/month (monthly)Same per-seat limits as Plus, with team admin controls and data privacy guarantees.Teams that need to work together and want centralized billing.
ChatGPT EnterpriseCustom PricingUsage is drawn from a shared credit pool.Large organizations that need advanced security, admin controls, and high-volume usage.

So, what do those usage limits actually mean?

The number of messages you get isn’t fixed because it all depends on complexity and server demand. A simple request to refactor a function will use fewer resources than asking Codex to build a new feature across several files. Limits reset on a rolling 3-hour window, so you can continue working after the window resets.

For most individual developers, the ChatGPT Plus plan at $20 a month offers a surprisingly good amount of access. It’s a low-cost way to kick the tires and see if Codex fits into your workflow before you think about a bigger plan.

The API option: Pay-as-you-go pricing

What if you need more control or want to build your own tools on top of OpenAI's coding models? You can skip the ChatGPT subscription and use the API directly. This is also a handy escape hatch if you're on the Plus plan and occasionally bump into your usage limits. You can configure the CLI to use an API key for pay-as-you-go access when you need it.

Here, the pricing is based on "tokens," which are basically pieces of words. You pay for the input you send to the model (your prompt) and the output it generates (the code).

According to the official OpenAI pricing page, here are the key models for coding and what they cost per million tokens:

ModelInput Price (per 1M tokens)Output Price (per 1M tokens)Key Characteristics
"codex-mini-latest"$1.50$6.00A smaller, faster version of the new Codex, great for quick Q&A and edits in the CLI.
"gpt-5"$1.25$10.00OpenAI's flagship model, excellent for really complex coding and agent-like tasks.
"gpt-5-mini"$0.25$2.00A faster, cheaper version of GPT-5 for more straightforward tasks.

Using the API gives you a ton of flexibility, but the costs can be less predictable. A single, tricky debugging session could end up costing more than a flat monthly subscription. For most people, the subscription model is the better value, with the API serving as a great fallback or a tool for custom projects.

What you actually get with OpenAI Codex: Features vs. limitations

Alright, you’ve paid your $20 for ChatGPT Plus. What can Codex actually do, and where does it still fall short?

The Good Stuff:

  • Multi-threaded work: You can give it multiple jobs at once. Kick off a bug fix, a refactor, and a request for new unit tests, and Codex will happily work on all of them in the background.

  • Full repository context: Codex clones your repo into a secure sandbox environment. This lets it read files, understand dependencies, and make changes across your entire codebase.

  • Command execution: It can run commands like linters and tests to check its own work, which helps make sure the code it writes actually works.

  • GitHub integration: It can create branches and open pull requests for you, which is a nice touch for streamlining the review process.

The Not-So-Good Stuff:

  • No internet access (by default): For security reasons, the cloud agent’s sandbox is cut off from the internet. This means it can’t install new dependencies, update packages, or grab data from external APIs. While internet access can now be enabled, the default secure setup is a big hurdle for a lot of real-world tasks.

  • It prefers small, clear tasks: People who've used it a lot find that Codex is at its best with small, well-defined "paper cut" tasks. Think writing tests, refactoring a function, or fixing a simple bug. For large, complex features, the back-and-forth can get a bit clunky.

  • It’s a developer tool, not a business tool: This is the most important thing to understand. Codex was built by developers, for developers, to solve software engineering problems. It’s not built to automate business processes, answer customer support tickets, or handle internal employee questions.

Trying to make Codex manage your Zendesk queue would be like using a soldering iron to toast bread. It’s just the wrong tool for the job. For that kind of business automation, you need a platform designed for it.

That’s where a solution like eesel AI comes into the picture. While Codex lives in your codebase, eesel is an AI platform built for customer service and internal support. It connects directly to your help desk (like Zendesk or Freshdesk), chat tools (like Slack), and knowledge sources (Confluence, Google Docs, you name it).

Unlike developer-first tools that need code to customize, eesel AI is completely self-serve. You can connect your tools and build a powerful AI agent in minutes, not months, without writing a single line of code. It gives you a workflow engine you can fully customize to define exactly how the AI should act, from its tone of voice to the specific actions it’s allowed to take.

What’s the bottom line on OpenAI Codex pricing?

The confusion around OpenAI Codex pricing is totally understandable, but the new setup is actually pretty straightforward. The old API is gone, and Codex is now a powerful feature baked into your ChatGPT subscription.

  • For $20/month, the ChatGPT Plus plan gives most developers more than enough juice to experiment with and get real value from a powerful AI coding partner.

  • For heavy-duty or custom needs, the pay-as-you-go API is a flexible, though less predictable, alternative.

Codex is an impressive tool that’s genuinely pushing the boundaries of what AI can do in software development. But it's important to use it for what it was built for: writing code. If your goal is to automate business processes like customer support or internal help desks, you'll need a different kind of tool.

Platforms like eesel AI are designed from the ground up to tackle those exact challenges. With a focus on being easy to use, connecting deeply with business tools, and offering a fully customizable workflow engine, eesel lets you automate complex support tasks with the same AI power, but without the developer overhead.

So, if you’re looking to streamline your coding, Codex is a fantastic and now very affordable option. If you’re looking to streamline your business, it’s time to look at an agent built for that job.

Frequently asked questions

The old standalone API was deprecated in March 2023, but Codex has been completely rebuilt and integrated into the OpenAI ecosystem. You now primarily access its powerful coding tools through ChatGPT subscriptions or via a pay-as-you-go API.

The simplest and most common way to access Codex is through a ChatGPT subscription, such as ChatGPT Plus. There isn't a separate "Codex plan"; it's included as a powerful feature within these broader AI toolkits, bundling a coding assistant with your ChatGPT access.

For more control or custom integrations, you can use the pay-as-you-go API option. This allows you to build your own tools and pay based on "tokens" consumed by models like "codex-mini-latest", offering flexibility but with potentially less predictable costs.

Usage limits depend on the complexity of your tasks and are measured in local messages (for CLI/IDE) or cloud tasks (for the ChatGPT web interface) over a five-hour period. A simple request consumes fewer resources than a complex feature build, which is why there's a wide range in reported limits.

Codex is included with ChatGPT Plus, Pro, Business, and Enterprise plans. These tiers offer varying usage limits and features, ranging from sufficient access for individual developers at $20/month to custom pricing and shared credit pools for large organizations.

Yes, for most individual developers, the ChatGPT Plus plan at $20 a month offers a surprisingly good amount of access to Codex. It serves as an affordable way to experiment with and integrate an AI coding partner into your daily workflow.

Share this article

Stevia Putri

Article by

Stevia Putri

Stevia Putri is a marketing generalist at eesel AI, where she helps turn powerful AI tools into stories that resonate. She’s driven by curiosity, clarity, and the human side of technology.

Related Posts

All posts →
A complete Claude overview: Models, pricing, and key limitations
Trending

A complete Claude overview: Models, pricing, and key limitations

Explore our comprehensive Claude overview to understand Anthropic's powerful AI. We break down the pricing for Claude Pro and the API, its core features like the 200k token window, and its limitations for support automation.

Kenneth PanganKenneth PanganSep 25, 2025
A clear guide to OpenAI Codex pricing in 2026
Trending

A clear guide to OpenAI Codex pricing in 2026

Unravel the complexities of OpenAI Codex pricing. Learn about the new GPT-5.2-Codex models, how they're accessed through ChatGPT subscriptions, and their per-token API costs.

Stevia PutriStevia PutriJan 6, 2026
Editorial illustration showing four floating priority cards with a dotted feedback loop on a warm off-white background
Trending

How Anthropic designs AI behavior

Most AI companies train models and add guardrails. Anthropic does something different: it trains Claude to have values. Here's how that process actually works.

Stevia PutriStevia PutriMay 8, 2026
Two chat interface panels side by side on a warm off-white background - one showing an agreeable AI response, one showing Claude's thoughtful pushback, in a clean flat editorial illustration style
Trending

What makes Claude different from other AI

Claude pushes back, skips the follow-up prompts, and won't flatter you. Here's the design philosophy that makes it feel different from every other AI chatbot.

Stevia PutriStevia PutriMay 8, 2026
Editorial illustration of an AI values design system - chat interface surrounded by floating value cards in a clean flat style
Trending

Claude AI design principles: how Anthropic builds character into its AI

Anthropic doesn't just train Claude to be capable - it trains Claude to have values. Here's how the design principles behind Claude actually work, from the soul document to the four-value hierarchy.

Stevia PutriStevia PutriMay 8, 2026
Editorial illustration of a split-panel design tool interface with chat on the left and a live canvas preview on the right, in eesel's flat editorial SaaS style
Trending

Claude Design pricing: what you actually get at each plan (2026)

Claude Design is included in Claude Pro, Max, Team, and Enterprise plans - but the token budget is brutal. Here's what each plan actually costs and whether it's usable.

Stevia PutriStevia PutriMay 8, 2026
Editorial illustration of an AI design workspace with Claude branding, design panels, and export options in a clean flat style
Trending

Claude Design review 2026: what it actually does (and where it runs out of steam)

Anthropic shipped a design tool in April 2026. Figma's stock dropped ~7%. Here's what Claude Design actually does, where it earns its keep, and what the token economics really look like.

Stevia PutriStevia PutriMay 8, 2026
A blog writing workspace surrounded by multiple AI tool option panels, one highlighted in eesel blue as the selected choice
Trending

6 ChatGPT alternatives for blog writing in 2026

ChatGPT is a solid starting point, but it has no built-in SEO scoring, no keyword-to-article pipeline, and no brand voice enforcement. Here are six alternatives built specifically for bloggers.

Amogh SardaAmogh SardaMay 7, 2026
ChatGPT open in a browser with a blog post draft in Canvas mode and a user editing inline
Trending

ChatGPT for blog writing: an honest review (2026)

ChatGPT can handle most of the blog writing workflow — research, drafting, editing, images — but raw drafts still need significant work and there's no built-in SEO scoring. Here's what you need to know before subscribing.

Amogh SardaAmogh SardaMay 6, 2026

Ready to hire your AI teammate?

Set up in minutes. No credit card required.

Get started free