Sign inGet started
All insights
Agents, MCP & Prompting

GPT-5-Codex: What It Does, What It Costs, and When It's Worth It

By SkillzBench · October 17, 2026

Discover GPT-5-Codex capabilities, pricing, and best use cases. Learn when it beats GPT-5 for autonomous coding and how to verify agent skills.


Key Facts

  • GPT-5-Codex worked independently for more than 7 hours during testing, self-correcting mistakes without human intervention, according to SiliconANGLE's launch coverage.
  • GPT-5-Codex scored 51.3% on OpenAI's code refactoring eval versus 33.9% for GPT-5 — a gap of over 17 percentage points, per Simon Willison's analysis.
  • The bottom 10% of coding requests consumed 93.7% fewer tokens than GPT-5 thanks to dynamic thinking time, SiliconANGLE reported.
  • OpenAI shipped five major Codex model releases in under a year, with GPT-5.3-Codex running roughly 25% faster than its predecessor, per OpenAI's release notes.
  • GPT-5-Codex-Mini delivers up to 4x more usage under the same subscription, auto-switching at 90% of the 5-hour usage limit, according to OpenAI's release notes.
  • The only published pricing is the GPT-5 API baseline: $1.25 per million input tokens and $10.00 per million output tokens, per OpenAI's product page.
  • OpenAI's prompting guide warns that requesting upfront plans or status updates can cause the model to stop abruptly before completing a rollout, per its developer cookbook.

The Real Problem: Choosing a Coding Agent When the Model Line Keeps Changing

If you searched for "how much does GPT-5-Codex cost" this week, you probably found conflicting answers — and for good reason. "Codex" isn't one model with one price tag. It's a fast-moving family of coding models and tools from OpenAI, and the ground keeps shifting under anyone trying to make a purchasing decision.

According to independent commentator Simon Willison, "Codex" is best understood as OpenAI's brand name for its entire coding family — the models and the tools (CLI, IDE extension, Codex Cloud, code review) that run them. That family has iterated at a remarkable pace:

  • GPT-5-Codex launched September 15, 2025, optimized for agentic coding
  • GPT-5-Codex-Mini followed, offering up to 4x more usage on the same subscription
  • GPT-5.1-Codex-Max arrived November 19, 2025, built for project-scale work
  • GPT-5.2-Codex landed December 18, 2025, claiming state-of-the-art results on SWE-Bench Pro and Terminal-Bench 2.0
  • GPT-5.3-Codex arrived February 5, 2026, roughly 25% faster than its predecessor

That's five major model releases in under a year. For a team trying to standardize on a coding agent, each release changes the calculus on capability, speed, and usage limits.

The pricing picture is murkier still. OpenAI's release notes reference Codex access through subscription tiers and usage limits, but no published dollar figure exists for Codex-specific access anywhere. The only concrete numbers on record are GPT-5 API rates — $1.25 per million input tokens and $10.00 per million output tokens — which serve as a baseline, not a Codex price list. In practice, teams evaluate cost through subscription plans (Plus, Pro, Business, Enterprise) and how quickly they hit usage caps, which is partly why Codex-Mini's 4x-usage pitch resonates.

Then there's the trust problem. The headline numbers — a 51.3% score on OpenAI's code refactoring eval versus 33.9% for GPT-5, or 7+ hours of autonomous work — are all self-reported by OpenAI. Willison notes the refactoring eval is proprietary and hard to evaluate without seeing its details. Third-party impressions exist (reviewer Theo Browne was "generally impressed" but found the model surprisingly poor at navigating code via the CLI search tool), but there are no independent benchmarks of any Codex model.

This is exactly the gap that careful validation fills. SkillzBench is building free, independent benchmarking that tests agent skills in a sandbox with the same model — with and without each skill — and publishes the Lift in percentage points, so teams can see what actually helps rather than trusting vendor claims. The same skepticism you'd apply to a model benchmark applies to the skills and tools layered on top of it.

The takeaway for decision-makers: treat Codex as a product line you'll need to re-evaluate quarterly, budget in subscription terms rather than per-token dollars, and demand evidence beyond the vendor's own scorecard before committing your workflow to any single version.

What GPT-5-Codex Actually Does: Long-Horizon, Self-Correcting Coding Work

GPT-5-Codex is not a faster autocomplete — it is a coding agent built to keep working after you walk away. OpenAI's model can operate independently for more than seven hours, correcting its own mistakes without human intervention, according to launch coverage of the model. That endurance, not raw generation speed, defines what the Codex line is for.

The clearest evidence sits in refactoring. GPT-5-Codex scored 51.3% on OpenAI's code refactoring eval against 33.9% for GPT-5 — a gap of more than 17 percentage points, as Simon Willison noted in his independent analysis. Willison cautions that the eval is proprietary and hard to assess without its details, so treat the number as directional rather than definitive.

Dynamic thinking time drives the efficiency story. GPT-5-Codex scales its reasoning to task complexity, and the bottom 10% of coding requests by token count consumed 93.7% fewer tokens than GPT-5. Later models pushed further: GPT-5.3-Codex runs roughly 25% faster than its predecessor, per OpenAI's model release notes.

Three shifts matter most for teams evaluating Codex:

  • Autonomy over assistance — multi-hour sessions with self-correction replace turn-by-turn prompting.
  • Steerability over generation — GPT-5.3-Codex is described as a general-purpose coding agent you can actively steer while it works.
  • Compaction over context limits — GPT-5.1-Codex-Max sustains project-scale work across multiple context windows.
  • Security research as a use case — Privy's Andrew MacPherson used GPT-5.1-Codex-Max to research the React2Shell vulnerability, leading to responsible disclosure of previously unknown React Server Components flaws.

Expert reception is mixed in useful ways. Theo Browne reported being "generally impressed" but found the model surprisingly weak at using the Codex CLI search tool to navigate code. Dan Shipper of Every called a later Codex-generation model "the first coding model I've used that has serious conceptual clarity," while Cursor CEO Michael Truell described it as more persistent and less likely to stop early.

One practical note from OpenAI's own prompting guide: remove requests for upfront plans and status updates, since these can cause the model to halt before a rollout completes. For teams layering agent skills on top of Codex workflows, that same discipline applies to tooling — test what actually helps before relying on it, which is exactly what SkillzBench is building its free sandbox benchmarking and Lift scoring to do.

The Cost Question: What You Can (and Can't) Pin Down

Most buyers want a number. OpenAI doesn't publish one for GPT-5-Codex — no dollar figure appears in any public source for the model itself, the Codex CLI, or Codex Cloud. That makes cost a question you answer by reading the subscription terms, not the price sheet.

GPT-5-Codex is available through paid ChatGPT tiers — Plus, Pro, Business, Edu, and Enterprise — rather than as a standalone SKU. The constraint that actually shapes your bill is the usage window. OpenAI's model release notes describe a 5-hour usage limit, with an automatic switch to GPT-5-Codex-Mini once you hit 90% of that window. Codex-Mini delivers up to 4x more usage under the same subscription, which is the practical lever for anyone burning through limits on long refactors.

If you're routing work through the API instead of ChatGPT, the only published rate is the GPT-5 baseline: $1.25 per million input tokens and $10.00 per million output tokens, against a 400K context window. Codex-specific API pricing is not documented, so any API cost projection has to assume parity with that baseline — a reasonable but unverified assumption.

What you can pin down:

  • Subscription access via ChatGPT Plus, Pro, Business, Edu, and Enterprise
  • A 5-hour rolling usage limit per window
  • Auto-fallback to GPT-5-Codex-Mini at 90% of that limit, giving up to 4x more usage
  • GPT-5 API rates as a baseline proxy ($1.25 input / $10.00 output per 1M tokens)

What you can't:

  • Codex-specific dollar pricing — no source provides it
  • Per-tier pricing for ChatGPT Plus, Pro, Business, Edu, or Enterprise
  • Any independent benchmark of cost-per-task against competing coding models

The performance claims that justify the spend are also worth handling carefully. The headline numbers — 51.3% on OpenAI's refactoring eval, state-of-the-art on SWE-Bench Pro, 82.7% on Terminal-Bench 2.0 — are all self-reported by OpenAI. Independent commentator Simon Willison notes the refactoring eval is proprietary and hard to evaluate without seeing its details. For teams extending Codex with agent skills and automations, the honest move is to test on your own workload before committing budget — measure the lift on tasks you actually run, not the ones in a vendor benchmark.

If you want a structured way to validate which skills and tools actually move the needle on your stack, SkillzBench is building a free directory and MCP connector that benchmarks agent skills against the same model with and without the skill attached, publishing the lift in percentage points. It's a useful frame for the same "verify before you pay" instinct that should guide any Codex adoption decision.

When It's Worth It: Sweet Spots, Prompting Rules, and Practical Steps

GPT-5-Codex excels at specific, high-stakes coding tasks, but it is not a replacement for general-purpose AI. OpenAI explicitly recommends using GPT-5-Codex for coding-focused work in Codex environments while reserving standard GPT-5 for non-coding tasks. This distinction prevents wasted resources and ensures optimal performance for each type of workload.

The sweet spots for GPT-5-Codex include large refactors, migrations, and long-running tasks. The model scored 51.3% on OpenAI’s code refactoring eval, significantly outperforming the 33.9% achieved by standard GPT-5. It can also work independently for more than seven hours, self-correcting mistakes without user intervention. These capabilities make it ideal for complex projects that require sustained focus and autonomous problem-solving.

To get the most out of the model, follow specific prompting rules from OpenAI’s developer cookbook. The guidance advises removing requests for upfront plans, preambles, or status updates, as these can cause the model to stop abruptly before completing a rollout. Instead, prompt for outcomes and let the model act. Use "medium" reasoning effort as the default setting, reserving "high" or "xhigh" only for the hardest tasks.

  • Focus on large-scale refactors and code migrations
  • Utilize long-running tasks that exceed standard context windows
  • Avoid requesting preliminary plans or frequent status updates
  • Set reasoning effort to "medium" for most coding requests
  • Reserve "high" reasoning for exceptionally complex problems

Teams should evaluate fit on their own codebases before committing to a subscription. Since all headline benchmarks are self-reported by OpenAI, independent validation is crucial. You can test the model in a sandbox environment with your specific codebase to verify its effectiveness. This approach ensures that the tool actually improves your workflow rather than just looking good on paper.

For teams extending Codex workflows with agent skills, testing skills in a sandbox with the same model is a natural way to validate what helps. SkillzBench is building a free directory and MCP tool to help you discover, verify, and benchmark agent skills. This allows you to see which skills provide a measurable "Lift" in performance before you integrate them into your production environment.

The decision to use GPT-5-Codex depends on your specific coding needs. If your work involves complex, long-duration coding tasks, the model’s autonomous capabilities and specialized training provide significant value. For simpler tasks or general non-coding work, standard GPT-5 remains the more efficient choice. By aligning your tool selection with your actual workflow, you maximize both productivity and cost-effectiveness.

Going Further: Extending Codex Workflows with Verified Agent Skills

Every headline number you've read about GPT-5-Codex — the 51.3% refactoring score, the 7+ hour autonomous sessions — comes from OpenAI itself. As Simon Willison noted, the refactoring eval is proprietary and hard to evaluate without seeing its details. That "verify before you trust" instinct matters even more when you extend Codex with third-party agent skills.

Agent skills — SKILL.md instruction packages that teach Codex, Claude Code, Cursor, and other agents new workflows — are multiplying fast across GitHub. But published research found that roughly 26% of skills carry at least one vulnerability, and there's no easy way to tell which ones genuinely improve your agent's output versus which ones quietly introduce risk or degrade performance.

The same skepticism you'd apply to vendor benchmarks applies here, with a twist: skills run inside your environment, so a bad one isn't just inaccurate — it can be dangerous. A sensible verification checklist looks like this:

  • Pin every skill version to a commit SHA so you know exactly what code you're running
  • Security-scan and license-check each skill before it touches your repos
  • Test the skill in a sandbox, with the same model, with and without the skill — then measure the actual Lift
  • Track upstream changes so a "safe" skill doesn't silently become unsafe after an update

That last point deserves emphasis. The Codex line iterates fast — GPT-5-Codex-Mini alone delivers up to 4x more usage under the same subscription, and each new model shifts how skills perform. A skill that helped last quarter may be neutral or harmful on the model you're running today, which is why benchmarking must be repeatable, not one-time.

This is exactly the problem SkillzBench is built to solve. The platform — currently in pre-launch, with a live waitlist — will offer a free, independent directory of agent skills, with every version pinned to a commit SHA, validated, license-checked, and security-scanned. Each skill gets benchmarked in a sandbox with the same model, with and without the skill, and the resulting Lift is published in percentage points — always shown separately from trust scores, so a well-marketed skill can't outshine its actual measured value.

Everything on SkillzBench will be free: the directory, the benchmarks, the alerts, and a free MCP server that connects any agent to the skills you choose, with per-agent loadouts so each agent only sees what you've deliberately enabled for it. No charge for access, and no way for money to influence a score.

If you're putting Codex-style agents to work on real codebases, the skills you equip them with deserve the same scrutiny as the models themselves. Join the SkillzBench waitlist to get access at launch and start equipping your agents with skills that are verified, benchmarked, and proven.

Frequently Asked Questions

How much does GPT-5-Codex actually cost?
OpenAI doesn't publish a dollar price for GPT-5-Codex or any Codex model. Access comes through paid ChatGPT plans (Plus, Pro, Business, Edu, and Enterprise), and the only concrete published rate is the GPT-5 API baseline: $1.25 per million input tokens and $10.00 per million output tokens, per OpenAI's pricing page — a reasonable proxy, not a Codex price list.
What makes GPT-5-Codex different from regular GPT-5 for coding?
It's a coding agent, not a faster autocomplete — GPT-5-Codex can work independently for over 7 hours and self-correct mistakes without human intervention, per launch coverage. It also scored 51.3% on OpenAI's code refactoring eval versus 33.9% for standard GPT-5, though that eval is proprietary and self-reported.
Can I trust OpenAI's benchmark numbers for Codex models?
Treat them as directional, not definitive. All headline numbers — the 51.3% refactoring score, SWE-Bench Pro, and Terminal-Bench 2.0 results — are self-reported by OpenAI, and Simon Willison notes the refactoring eval is proprietary and hard to evaluate without seeing its details. There are no independent benchmarks of any Codex model, so test on your own codebase before committing budget.
What happens if I hit the Codex usage limit?
OpenAI's release notes describe a 5-hour usage window, and once you hit 90% of it, the system automatically switches you to GPT-5-Codex-Mini, which delivers up to 4x more usage under the same subscription. That fallback is the practical lever for teams burning through limits on long refactors.
When is GPT-5-Codex worth it — and when isn't it?
It's best for large refactors, migrations, and long-running coding tasks; OpenAI explicitly recommends reserving standard GPT-5 for general non-coding work, per its model release notes. If your tasks are simple or short, the specialized model's autonomy is wasted — align the tool with your actual workload.
How should I prompt GPT-5-Codex to get the best results?
Prompt for outcomes, not plans: OpenAI's developer cookbook advises removing requests for upfront plans, preambles, or status updates, since these can cause the model to stop abruptly before a rollout completes. Use "medium" reasoning effort as the default and reserve "high" or "xhigh" only for the hardest tasks.

The Bottom Line: Buy Autonomy, Verify Everything

GPT-5-Codex is best understood not as a single model but as a fast-moving product line — five major releases in under a year — built around one genuine shift: coding agents that work autonomously for hours, self-correct, and handle large refactors and migrations rather than turn-by-turn prompting. The pricing picture is deliberately subscription-shaped: no published dollar figure exists for Codex itself, so budget around ChatGPT tiers, the 5-hour usage window, and Codex-Mini's 4x-usage fallback, with GPT-5 API rates ($1.25/$10.00 per 1M tokens) as your only concrete baseline. The catch is that every headline number — including the 51.3% refactoring score flagged as proprietary by Simon Willison — is self-reported. Your next steps: pilot on your own codebase before committing budget, prompt for outcomes rather than plans, and re-evaluate quarterly as the line iterates. And when you extend Codex with agent skills, apply the same scrutiny — SkillzBench is building free, independent sandbox benchmarking that measures the Lift each skill actually delivers, so you equip your agents with what's proven, not what's marketed. Join the waitlist to be first in line when it launches.

GPT-5-Codex: Costs, Features & When It's Worth It · SkillzBench