A clear guide to OpenAI Codex pricing in 2026

Stevia Putri
Written by

Stevia Putri

Katelin Teen
Reviewed by

Katelin Teen

Last edited May 20, 2026

Expert Verified
A clear guide to OpenAI Codex pricing in 2026

Trying to figure out OpenAI Codex pricing can feel like a bit of a puzzle. If you've been looking around, you've probably seen mentions of old models, new APIs, and various ChatGPT plans without getting a straight answer. The confusion is understandable, especially since things changed when older models like "code-davinci-002" were deprecated back on March 23, 2023.

Let's clear the air. This post will give you a straightforward, current breakdown of how to access and pay for OpenAI's coding tools in 2026.

We'll cover what happened to the old Codex, then jump into the two main ways you can use its powerful successors: through a ChatGPT subscription or the pay-as-you-go API. We'll break down the costs for each, discuss who these tools are really for, and touch on what to do when you need an AI for more than just writing code.

What happened to the old OpenAI Codex and the original Codex pricing?

First off, the standalone "Codex" that many developers first used isn't a separate product anymore. Models like "code-davinci-002" and "code-cushman-001" were officially shut down in March 2023. At that time, OpenAI pointed developers toward "gpt-4o", which was a big hint about their new strategy. Instead of having a separate tool for coding, they were folding that functionality into their more powerful, general-purpose models.

When we talk about Codex now, we're not talking about a single product. It’s more like a family of advanced AI coding models and agents that are part of the bigger OpenAI ecosystem. These new capabilities, running on models like the new GPT-5.2-Codex, are smarter and more flexible than the old ones.

The main thing to remember is that you now get these coding superpowers through two channels: a monthly ChatGPT subscription for interactive use, or the pay-as-you-go API for building your own apps. Let’s look at what each involves.

The subscription model: Codex pricing in ChatGPT plans

For most developers, teams, and hobbyists, the easiest way to use Codex is with a paid ChatGPT plan. This gives you access to the "Codex agent," a version of the chatbot that's fine-tuned for coding tasks, all for a predictable monthly fee. You just log in, open a chat, and start coding.

Here’s a look at the plans that include Codex and what you get.

The ChatGPT Plus plan and its Codex pricing

The Plus plan is your first step into OpenAI's more serious tools. It offers significant upgrades over the free version and gives you access to the latest models.

  • Cost: "$20 per month".

  • Included Codex Access: This plan includes the "Codex agent" feature. Your usage is connected to the most powerful models, and Plus users can send up to approximately 160 messages with the latest model every 3 hours. These limits can change depending on server demand, but it's plenty for most individual workflows.

  • Who it's for: This plan is a great fit for individual developers, computer science students, or anyone who codes for fun. If you need a smart AI assistant for personal projects, debugging, or learning a new language, the Plus plan is a cost-effective option.

chatGPT plus is incredibly cheap!

The ChatGPT Pro plan and its Codex pricing

If you're always hitting the message limits on the Plus plan or just need the fastest possible responses, the Pro plan was made for you.

  • Cost: "$200 per month".

  • Included Codex Access: You get an "Expanded, priority-speed Codex agent." The main benefit is unlimited messages, though it's still subject to fair use and abuse guardrails. You won't have to worry about getting cut off mid-session, and you get priority server access for quicker replies.

  • Who it's for: This is for full-time professional developers and freelancers who depend on AI as a core part of their daily work. If coding is your job, the productivity gain from unlimited, high-speed access can be significant.

ChatGPT Business and Enterprise plans: Understanding the Codex pricing

For companies that want to give AI coding tools to their whole engineering team, the Business and Enterprise plans provide the needed management and security features.

  • Cost: The Business plan is "$20 per user per month" (billed annually) or $25/user/month (billed monthly), while Enterprise pricing is custom.

  • Included Codex Access: Both plans give every user the Codex agent, but the real benefit is the team features. You get a dedicated workspace, admin controls, and unified billing. Importantly, OpenAI guarantees that your business data is not used for training on these plans. The Enterprise plan also adds security features like SOC 2 Type 2 compliance and single sign-on (SSO).

  • Who it's for: These plans are for startups, agencies, and large companies that need to deploy AI coding tools securely and at scale. If you need to manage team access, protect data, and get a single bill, this is the way to do it.

To make it easier to compare, here’s a quick summary:

PlanMonthly CostKey Codex Features & LimitsTypical User
ChatGPT Plus$20Includes Codex agent; ~160 messages / 3 hours with the latest modelIndividual developers, students
ChatGPT Pro$200Expanded, priority-speed Codex agent; unlimited messagesFull-time professional developers
ChatGPT Business$20/user (annual)Includes Codex agent; team workspace & admin controlsSmall to medium-sized teams
ChatGPT EnterpriseCustomFlexible Codex access; advanced security, 24/7 supportLarge organizations
An infographic comparing the different subscription plans and their Codex pricing, including features for Plus, Pro, Business, and Enterprise tiers.
An infographic comparing the different subscription plans and their Codex pricing, including features for Plus, Pro, Business, and Enterprise tiers.

The pay-as-you-go model: API-based Codex pricing

If you want to do more than just chat with an AI, the OpenAI API is what you need. It's for developers who want to build applications, automate workflows, or integrate Codex's abilities directly into their own tools. Instead of a monthly subscription, you pay only for what you use.

This model is based on "tokens," which are just small chunks of text (one token is about four characters). You're billed for the input tokens you send to the model and the output tokens the model generates.

While general models can handle code, OpenAI has several that are specifically optimized for it. According to their developer documentation, these are the ones to consider:

  • "gpt-5.2-codex": This is the top-of-the-line agentic coding model. It's built for complex, multi-step tasks where it needs to act more like an autonomous assistant.

  • "gpt-5.1-codex-max": Optimized for long and highly complex coding problems, like refactoring an entire legacy codebase or designing a new microservice.

  • "gpt-5.1-codex-mini": A smaller, faster, and cheaper model that's great for common tasks like completing a function, writing unit tests, or translating code snippets.

    Pro tip

    This model is a great balance of performance and cost. On the standard API tier, it’s priced at '[$0.25 per 1 million input tokens and $2.00 per 1 million output tokens](https://platform.openai.com/docs/pricing)'. That makes it very affordable for a lot of different applications.

    Why would you pick the API over a ChatGPT subscription? Here are a few common scenarios:

  • Automating code reviews: You could build a tool that scans new pull requests in your CI/CD pipeline, flags potential issues, and suggests fixes.

  • Building custom developer tools: Imagine an internal tool that generates boilerplate code for new services based on a simple text prompt.

  • Embedding AI in your app: You could add an AI-powered "help me code this" feature directly into your own software, giving your users a powerful assistant inside your platform.

Understanding the costs and limitations of Codex pricing

Codex is an incredibly powerful tool, but it helps to know what it's really built for. At its heart, Codex is an expert tool made by developers, for developers. Its whole job is to read, write, and refactor code. It's a specialist, and it's very good at what it does.

But that specialization is also its main limitation. It's not a no-code platform or a general business automation tool. To use it well, especially the API, you need to be technical. It understands Python and JavaScript, not customer support or sales queries.

This means it has some clear boundaries in a business setting:

  • It can’t read a support ticket from Zendesk and figure out what the customer is asking.

  • It doesn't know how to check an order status in Shopify.

  • It won't answer an employee's question by searching your company's Confluence or Google Docs.

While Codex is the perfect "AI teammate" for an engineering team, other departments need a different kind of specialist. A customer service team needs an AI that understands tickets and help centers, not Python.

This is where a different type of AI is useful. Tools like eesel AI are designed to be the AI teammate for those other business teams. Instead of being trained on internet code, eesel is an AI Agent that learns from your company's own data. It connects to your help desk, reads past tickets, and memorizes your internal docs. It’s built to handle customer service, sales, and internal support, complementing Codex rather than competing with it.

The eesel AI Agent works within platforms like Zendesk to handle customer service and internal support, complementing developer-focused tools like Codex.
The eesel AI Agent works within platforms like Zendesk to handle customer service and internal support, complementing developer-focused tools like Codex.

To see a breakdown of how these different pricing models work in practice, especially the value proposition of the ChatGPT Plus plan versus the API, check out this video explanation.

The $20 ChatGPT Plus plan offers incredible value for most developers while the API provides flexibility for custom builds.

Is OpenAI Codex pricing right for you?

Let's wrap things up. The old, standalone Codex is gone, replaced by something much more powerful and integrated. Today, you can access its capabilities in two main ways.

  1. For most developers, a ChatGPT Plus subscription at "$20/month" is an easy choice. It offers amazing value and direct access to the Codex agent for your daily coding.

  2. For custom applications, the pay-as-you-go API provides flexible, scalable access. Models like "gpt-5.1-codex-mini" make it surprisingly affordable to build your own AI-powered developer tools.

If you’re a developer who wants to write better code faster or speed up your workflow, the pricing for OpenAI's integrated Codex tools is very reasonable.

But if you're a business leader in support, sales, or operations looking for an AI teammate that automates work using your business data, not your codebase, see how eesel AI can help.

Frequently asked questions

For most individual developers, the ChatGPT Plus plan at $20 per month is the most affordable and practical option. It includes access to the powerful Codex agent for daily coding tasks without the complexity of API billing.

The API uses a pay-as-you-go model where you're charged for "tokens" (small pieces of text). You pay for the amount of data you send to the model (input tokens) and the code it generates (output tokens). This is ideal for building custom applications where you only pay for what you use.

While there is a free version of ChatGPT, it does not include the advanced Codex agent or the latest models. To access OpenAI's dedicated coding capabilities, you'll need a paid plan like ChatGPT Plus or use the pay-as-you-go API.

The original standalone Codex models were deprecated in 2023. Today, Codex's functionality is integrated into newer, more powerful models like GPT-5.2. You access these capabilities through ChatGPT subscriptions or the OpenAI API, so the "Codex pricing" is part of those services.

Yes, it does. The ChatGPT Business and Enterprise plans guarantee that your company's data will not be used to train OpenAI's models. These plans are designed for organizations that require enhanced security and data privacy.

For simpler tasks like code completion, the "gpt-5.1-codex-mini" model offers the best value with very low per-token costs. For highly complex problems, you'd use a more powerful (and more expensive) model like "gpt-5.2-codex", so the pricing scales with the complexity of your needs.

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
OpenAI Codex pricing in 2025: A clear & simple guide
Trending

OpenAI Codex pricing in 2025: A clear & simple guide

The old OpenAI Codex API was deprecated in 2023, leaving many developers confused about its current pricing and availability. This guide provides a clear, up-to-date breakdown of the new OpenAI Codex pricing structure for 2025.

Stevia PutriStevia PutriOct 8, 2025
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