June 16, 2026

Claude Code and Codex Pricing in 2026: What AI Coding Agents Cost

Claude Code pricing starts at $20 a month on Claude Pro, and Codex is included from ChatGPT Free and Go up to Pro. Here's every plan side by side, how the usage limits work, and how to get the most out of the plans you already pay for.

Quick answer

Last checked: 23 October 2026, against claude.com/pricing, Anthropic's Max plan and usage limit help articles, OpenAI's Codex pricing and API pricing pages, and cursor.com/pricing. Prices are monthly in USD, before tax. Providers change plans often, so confirm on their pages before you buy.

  • Claude Code comes with Claude Pro ($20/mo, or $17/mo billed yearly), Max 5x ($100/mo), Max 20x ($200/mo) and Team seats ($25 Standard, $125 Premium per seat billed monthly). You can also run it on pay-as-you-go API usage.
  • OpenAI Codex comes with every ChatGPT plan: Free, Go ($8/mo), Plus ($20/mo), Pro (from $100/mo, with $200 and $500 tiers) and Business ($25 per user billed monthly, $20 billed yearly). You can also run it with an API key at API rates.
  • Both cost the same to start: $20 a month gets you Claude Pro or ChatGPT Plus, and each includes its coding agent.

AI coding agent pricing comparison

AgentEntry paid planHigher tiersTeam pricingPay as you go
Claude CodeClaude Pro, $20/mo ($17/mo billed yearly)Max 5x $100/mo, Max 20x $200/moTeam Standard $25/seat, Premium $125/seat (billed monthly)Anthropic API, per token
OpenAI CodexChatGPT Go $8/mo or Plus $20/mo (also on Free)Pro from $100/mo, with $200 and $500 tiersBusiness $25/user (billed monthly), $20 billed yearlyOpenAI API key, per token
CursorPlus $8/mo (also a Free plan)Premium $30, Super $100, Ultra $200 per monthTeams from $30/userThird-party models billed separately
AiderOpen source, no subscription––Your own API key for the model you choose

All prices last checked 23 October 2026.


Claude Code pricing

Claude Code is included with every paid Claude plan, and it shares one usage pool with Claude on the web, desktop and mobile apps.

PlanPriceClaude Code usage
Free$0Claude Code not included
Pro$20/mo, or $17/mo billed yearly ($200 up front)Included
Max 5x$100/mo5× Pro's usage per five-hour session
Max 20x$200/mo20× Pro's usage per five-hour session
Team Standard$25/seat/mo billed monthly, $20 billed yearlyMore usage than Pro
Team Premium$125/seat/mo billed monthly, $100 billed yearly5× a Standard seat

API pricing. Claude Code can also run on an Anthropic API key, billed per million tokens:

ModelInputOutput
Opus 5.5$4$20
Sonnet 5.5$2$10
Haiku 5.5$0.10$0.50

Prompt caching makes repeated context much cheaper (Opus 5.5 cache reads are $0.20 per million tokens), which matters for coding agents that re-read the same files.

Which plan fits? Pro is a good start if you use Claude Code for focused sessions most days. Max 5x suits people who run Claude Code for most of the working day, and Max 20x suits people who run several Claude Code sessions in parallel.


Claude Code usage limits

Claude Code doesn't publish a fixed message count. Paid plans use two limits instead:

  • A five-hour session limit. Your allowance resets on a rolling five-hour window.
  • Weekly limits. These reset once a week, at a fixed time assigned to your account.

Usage is shared: everything you do in Claude and Claude Code counts against the same limits. Max multiplies the per-session allowance (5× or 20× Pro).

Checking where you are. Run /usage in Claude Code, or open Settings → Usage in Claude, to see your session and weekly progress and when each one resets.

When you reach a limit, you can wait for the reset, upgrade your plan, or turn on usage credits, which keep you working at standard API rates. The monthly API credits included with Max are for the API and can't be used in Claude Code.

Getting more from your limits. Keep sessions focused on one task, clear context between unrelated tasks, and use a lighter model for simple edits. If you also have a ChatGPT plan, giving some of the work to Codex spreads it across two separate allowances, which is what running both with Chief is for.


Codex pricing

Codex is included with every ChatGPT plan, and you can also run the Codex CLI with an OpenAI API key.

PlanPriceCodex usage
Free$0Included; limits not published
Go$8/moIncluded; limits not published
Plus$20/moFive-hour message allowance per model (below)
ProFrom $100/mo ($100, $200 or $500 tiers)No five-hour limit
Business$25/user/mo billed monthly, $20 billed yearly (2+ users)Same allowances as Plus per seat
Enterprise and EduContact salesFlexible pricing, or Plus-level limits per seat

Codex usage limits on Plus and Business. OpenAI publishes estimated local messages per five hours, by model: GPT-6.1 Sol 15–160, GPT-6 Luna 350–3,000 and GPT-6 Astra 5–45. Cloud tasks draw on the same allowance, and weekly limits may also apply. Your Codex usage dashboard shows the current figures.

API pricing. With an API key, Codex is billed at OpenAI API rates per million tokens:

ModelInputOutput
gpt-6.1-sol$2.00$10.00
gpt-6-astra$10.00$50.00
gpt-6-luna$0.10$0.50
gpt-5.3-codex$1.75$14.00

Which plan fits? Plus covers regular Codex use alongside ChatGPT. Pro is the plan for long Codex sessions and many cloud tasks, since it has no five-hour limit.


Claude Code vs Codex pricing

At the entry level the two are priced the same: Claude Pro and ChatGPT Plus are both $20 a month and include their coding agent. Codex also comes with ChatGPT Free and Go, so it's the lower-cost way to try an agent. For heavy use, Claude Max starts at $100 and ChatGPT Pro starts at $100, and both have higher tiers.

Many developers keep both. The agents have different strengths and separate usage allowances, so two $20 plans can go further than one, and you can choose the agent that suits each task. For what each agent is best at, see Claude Code vs Codex. To run both from one place, see Chief + Claude Code and Chief + Codex.


Run Claude Code and Codex on one budget

Chief runs Claude Code, Codex and other coding agents on your own machine, signed in with the plans you already have. It doesn't add agent costs on top of your subscriptions.

  • Usage per project and task. See what each project and task used of your provider plan, across every provider, in one place.
  • Auto mode with a usage budget. Set a task limit and a weekly cap on your provider's usage. Chief works towards your goals and stops when it reaches either limit.
  • The right agent for each milestone. Set a default agent per project and pick a different one for any milestone, so heavy work can go to whichever plan has room.
  • Shared context. Switch a milestone from Claude Code to Codex and the next agent already knows what happened, so you don't spend usage re-explaining your codebase.

Chief has a free plan with no credit card required; see Chief pricing.

See your usage across every agent. Start free →


What to expect to pay in 2026

One agent, regular use: about $20 a month. Claude Pro or ChatGPT Plus covers most people who use one agent for part of the day.

Two agents: about $40 a month for Claude Pro plus ChatGPT Plus. This gives you two separate allowances and the strengths of both agents.

Heavy, all-day use: $100–200 a month for Claude Max or ChatGPT Pro, sometimes alongside a $20 plan from the other provider.

Teams: per seat, from $25 a month for Claude Team Standard or ChatGPT Business billed monthly, with higher-usage seats for the people who run agents all day.

Tips for getting more from your plan

Match the agent to the task. Use your strongest model for architecture and tricky multi-file changes, and a lighter, cheaper model for small edits and tests.

Give each session one clear task. Focused sessions with clear acceptance criteria use less context and produce work that's easier to review.

Batch your work. Dispatch well-defined pieces of work in blocks rather than starting and stopping sessions all day, so agents re-read your codebase less often.

Track usage per project. Knowing which projects and tasks use the most of your plan tells you where a lighter model or a second provider would help. For the bigger picture on running several agents at once, see AI agent orchestration.

FAQ

How much does Claude Code cost?

Claude Code is included with Claude Pro at $20 a month ($17 a month billed yearly), Max 5x at $100 a month and Max 20x at $200 a month. Team seats are $25 (Standard) or $125 (Premium) per seat billed monthly. You can also use it on pay-as-you-go Anthropic API pricing. Prices last checked 23 October 2026.

Is Claude Code free?

Claude Code isn't included in the Claude Free plan. The lowest-cost way to use it is Claude Pro at $20 a month, or an Anthropic API key billed per token.

How much does Codex cost?

Codex is included with ChatGPT Free, Go ($8 a month), Plus ($20 a month), Pro (from $100 a month) and Business ($25 per user billed monthly). You can also run it with an OpenAI API key at API rates. Prices last checked 23 October 2026.

What are the Claude Code usage limits?

Paid Claude plans have a five-hour session limit and weekly limits, shared between Claude and Claude Code. Max 5x and Max 20x give 5× and 20× Pro's usage per session. Run /usage in Claude Code to see where you are and when your limits reset.

What happens when I hit the Claude Code usage limit?

You can wait for the five-hour or weekly reset, upgrade to a higher plan, or turn on usage credits to keep working at API rates. If you also have a ChatGPT plan, you can hand the next task to Codex, which has its own allowance.

Is Claude Code or Codex cheaper?

They cost the same at $20 a month for Claude Pro or ChatGPT Plus. Codex is also included with ChatGPT Free and Go, so it's cheaper to try. For heavy use, both have plans from $100 a month.

Does Chief add cost on top of my agent subscriptions?

No agent costs. Chief runs the agents you already pay for, signed in with your own accounts. Chief itself has a free plan, and paid plans lift its project and daily task limits.

More articles

AI Agent Orchestration Guide

What AI agent orchestration is, how multi-agent orchestration works for Claude Code and Codex, and a comparison of orchestration approaches. Free guide.

What Is Agentic Engineering?

Agentic engineering means directing AI coding agents that write and test code while you set goals and review results. How it differs from agentic coding.

AI Code Review at Scale

What AI code review is, the main types of AI code review tools, and five workflows for reviewing AI-generated code from several coding agents at once.

From Single Agent to Multi-Agent

Already using one AI coding agent? Here's how to scale to multiple instances running in parallel — the concurrency patterns, worktree isolation, and task decomposition strategies that make it work.

Vibe Coding at Scale

Vibe coding with one agent is fun. Vibe coding with five is chaos — unless you have orchestration. Here's how to scale the vibe without losing the quality.

Why AI Agents Need an Orchestration Layer

Running AI coding agents in terminal tabs works for two. Five signs you've outgrown it, tabs vs an orchestration layer, and what to look for in one.

Multi-Provider AI Orchestration

Claude Code, Codex, Cursor, Aider — each excels at different work. Here's how to combine providers into one coordinated workflow and why cross-provider review catches bugs single-provider setups miss.

Use Chief From Your AI Assistant

Add Chief's remote MCP server to Claude, Claude Code or Codex. Ask what's waiting on you, catch up on what shipped and propose milestones from chat.

Claude Code vs Codex: When to Use Each

Codex vs Claude Code: when each fits, a comparison table and FAQ. Claude Code vs Codex isn't either-or; Chief runs both on your projects.

Claude Code vs Cursor: When to Use Each

Cursor vs Claude Code: when each fits, a comparison table and FAQ. Claude Code vs Cursor isn't either-or; keep Cursor and let Chief run Claude Code.

How to Run Multiple Claude Code Agents in Parallel

Run multiple Claude Code agents in parallel, step by step: worktrees, background agents, subagents and review. Then let Chief orchestrate them for you.

Git Worktrees for AI Coding Agents

How to use git worktrees with Claude Code and Codex: one per agent, parallel runs, .env files, merging and cleanup. Every command, step by step.

How to Run Claude Code From Your Phone

Run Claude Code from your phone: Remote Control, cloud sessions in the Claude mobile app, or SSH and tmux, step by step. Plus approving agents in Discord.

The Best AI Coding Agents in 2026

The best AI coding agents of 2026: Claude Code, Codex, Cursor, Copilot and more agentic AI coding tools compared, and how to run several with Chief.

Subagents vs Parallel Agents

What is a subagent? How Claude Code subagents and Codex subagents work, how they differ from parallel agents, and when to use each one.

How to Install and Set Up Codex CLI

Install Codex CLI on macOS, Linux or Windows, sign in, run your first session and update it. Every command, then run Codex alongside Claude Code in Chief.

Ready to manage your agents?

Free plan, no credit card required. Chief gives you one view of usage across every agent you run, and paid plans lift the Free plan's project and daily task limits.