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
| Agent | Entry paid plan | Higher tiers | Team pricing | Pay as you go |
|---|---|---|---|---|
| Claude Code | Claude Pro, $20/mo ($17/mo billed yearly) | Max 5x $100/mo, Max 20x $200/mo | Team Standard $25/seat, Premium $125/seat (billed monthly) | Anthropic API, per token |
| OpenAI Codex | ChatGPT Go $8/mo or Plus $20/mo (also on Free) | Pro from $100/mo, with $200 and $500 tiers | Business $25/user (billed monthly), $20 billed yearly | OpenAI API key, per token |
| Cursor | Plus $8/mo (also a Free plan) | Premium $30, Super $100, Ultra $200 per month | Teams from $30/user | Third-party models billed separately |
| Aider | Open 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.
| Plan | Price | Claude Code usage |
|---|---|---|
| Free | $0 | Claude Code not included |
| Pro | $20/mo, or $17/mo billed yearly ($200 up front) | Included |
| Max 5x | $100/mo | 5× Pro's usage per five-hour session |
| Max 20x | $200/mo | 20× Pro's usage per five-hour session |
| Team Standard | $25/seat/mo billed monthly, $20 billed yearly | More usage than Pro |
| Team Premium | $125/seat/mo billed monthly, $100 billed yearly | 5× a Standard seat |
API pricing. Claude Code can also run on an Anthropic API key, billed per million tokens:
| Model | Input | Output |
|---|---|---|
| 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.
| Plan | Price | Codex usage |
|---|---|---|
| Free | $0 | Included; limits not published |
| Go | $8/mo | Included; limits not published |
| Plus | $20/mo | Five-hour message allowance per model (below) |
| Pro | From $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 Edu | Contact sales | Flexible 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:
| Model | Input | Output |
|---|---|---|
| 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.