Short answer: Claude Code comes with Claude Pro at $20 a month ($17 billed annually), Max at $100, Ultra at $200, and Team seats from $25 a month; the Free plan doesn't include it.1 On API billing you pay per token instead, which Anthropic puts at about $13 per developer per active day and $150–250 a month.4 The model you leave as default moves the bill most: on RouteBench, Sonnet 5.5 cost 47% of Opus 5.5 per coding task and passed as often.6
How much does Claude Code cost on each plan?
Claude Code costs $20 a month on Pro, $100 on Max and $200 on Ultra, and every paid plan except Enterprise includes it in a flat price with usage limits that reset every five hours and every week.1 Ultra is the new name for Max 20x, and Max is the new name for Max 5x: subscribers moved over with no price change.2
| Plan | Price | Claude Code usage | Also included |
|---|---|---|---|
| Free | $0 | Not included | Chat only |
| Pro | $20 a month, or $17 a month billed annually | More usage than Free, per 5 hours and per week | Usage credits for overage |
| Max | $100 a month | 5x Pro usage, per 5 hours and per week | $100 a month in API credits |
| Ultra (was Max 20x) | $200 a month | 10x Pro usage per week; no 5-hour limit on verified accounts | $200 a month in API credits |
| Team Standard | $25 a seat a month, or $20 billed annually | More usage than Pro | $20 a seat in API credits |
| Team Premium | $125 a seat a month, or $100 billed annually | 5x a Standard seat | $100 a seat in API credits |
| Enterprise | $20 a seat a month, annual, 20-seat minimum | Usage billed on top at API rates | No monthly API credits |
The API credits on Max, Ultra and Team are for building on the Claude Platform: they don't pay for Claude Code use.3 When a plan runs out mid-week, Pro, Max, Ultra and Team can keep going on usage credits, which you manage with /usage-credits.14
What does Claude Code cost on the API?
Claude Code on API billing costs about $13 per developer per active day and $150–250 per developer per month, and 90% of users stay below $30 per active day, according to Anthropic's figures from enterprise deployments.4 You pay each model's token price, and the default model is Opus 5.5 on every plan and on the API.10
| Model | Input | Cache hit | Output |
|---|---|---|---|
| Opus 5.5 | $4.00 | $0.20 | $20.00 |
| Sonnet 5.5 | $2.00 | $0.10 | $10.00 |
| Haiku 5.5 (prompt up to 100K) | $0.10 | $0.01 | $0.50 |
| Haiku 5.5 (prompt over 100K) | $0.50 | $0.05 | $2.50 |
| Fable 5.2 | $8.00 | $0.20 | $40.00 |
A 5-minute cache write costs 1.25x the input price and a 1-hour write 2x; batch requests are half price.5 Claude Code reads most of each request from the prompt cache, so the cache-hit column is most of what a long session pays per turn.4
Is a plan or the API cheaper for you?
A plan is cheaper than the API once your API-rate spend would pass the plan's price and the plan's limits still cover your work. Put in your own numbers; the defaults are Anthropic's averages.4
The calculator compares prices only. A plan's limit is shared with Claude chat and resets every five hours and every week, so heavy days can hit it before the month is out.1
What does each model cost per 1,000 coding tasks?
Per 1,000 coding tasks, Opus 5.5 cost $4.78 and Sonnet 5.5 $2.27 in our RouteBench runs, while DeepSeek V4.1 Flash and Haiku 5.5 did the same tasks for under $0.20 at 99% passed.6 RouteBench is Griffin's weekly benchmark; these rows pool six runs from October 12 to November 16, 2026 on three coding-agent task types: finding a seeded bug in a diff, security review, and picking the right tool call.67
| Model | Calls | Passed | $ per 1,000 tasks |
|---|---|---|---|
| Claude Opus 5.5 | 536 | 99.1% | $4.78 |
| Claude Sonnet 5.5 | 391 | 100% | $2.27 |
| GLM 5.3 | 146 | 98.6% | $1.51 |
| Kimi K3.1 Pro | 24 | 100% | $1.81 |
| GPT-6.1 Sol | 157 | 100% | $0.87 |
| DeepSeek V4.1 Flash | 2,957 | 98.9% | $0.17 |
| Claude Haiku 5.5 | 392 | 99.2% | $0.13 |
| GLM 5.3 Flash | 160 | 95.0% | $0.13 |
These are single calls, not whole agent sessions, so they show which models hold up on each kind of work and at what relative price, not your monthly bill. The pooled data, per task type, is in routebench-coding.json.6 Kimi K3.1 Pro's 24 calls are too few to lean on.
Is Opus worth paying for over Sonnet in Claude Code?
Opus isn't worth paying for on routine coding work in our runs: Sonnet 5.5 passed all of RouteBench's coding tasks at $2.27 per 1,000, while Opus 5.5 passed 99.1% at $4.78.6 On long open-ended sessions the gap grows: in MindStudio's test, 100 rounds of "make it better" on one website cost $29.93 on Sonnet and $137 on Opus, both at medium effort, with images and videos included.15 Keep Opus for planning and hard bugs; opusplan does that switch for you.10
Which Claude plan fits which developer?
Pro fits a developer who uses Claude Code a few times a week, Max fits daily use, and Ultra fits all-day sessions or several agents at once; the API fits bursty use, CI jobs and teams that want a hard spend limit.14
- Pro, $20: short sessions and small repos. Sonnet as the default stretches the limit furthest.4
- Max, $100: a working day of Claude Code on most days. At Anthropic's $13-a-day average, eight active days on the API already cost more.4
- Ultra, $200: long sessions, agent teams (about 7x the tokens of a normal session) and no 5-hour limit on verified accounts.24
- Team: Standard seats at $25 a month for most people, Premium seats at $125 with 5x the usage for the heaviest users.1
- API: pay only for active days, set workspace spend limits in the Console, and route to cheaper models when you want.4
Why does a Claude Code bill spike?
A Claude Code bill spikes mostly from long sessions that were never cleared and from Opus left as the default model, Anthropic says.4 Every request re-reads the whole conversation, so a session that has grown to 200,000 tokens pays for those tokens again on each turn, at the cache-hit rate when the cache is warm and at the full input rate after a break.4 Agent teams, subagents, scheduled tasks and compaction add their own requests.4 Our Claude Code token usage guide shows how to see each of these and cut them.
How can I run Claude Code for less?
You can run Claude Code for less by making Sonnet the default and saving Opus for planning, or by pointing it at a cheaper model through an Anthropic-compatible endpoint, a coding plan, or a router. Each route below has its own guide.
| Route | What it costs | What you give up |
|---|---|---|
| Sonnet default, Opus for plans | Sonnet is half Opus's token price5 | Opus's depth on hard design work |
| DeepSeek API | $0.30 in / $1.20 out per million, half off-peak11 | Anthropic-only features; vision on V4 Pro |
| GLM Coding Plan | $18, $72 or $160 a month12 | Credits run out fast at peak hours |
| Kimi membership | $19 to $199 a month13 | One credit pool shared with Kimi's other apps |
| OpenRouter | Model's price plus OpenRouter's credit fee | One more vendor between you and the model |
| Claude Code Router | Free, open source (MIT)14 | A local gateway to run and keep updated |
Changing models mid-session costs one uncached turn, because each model has its own prompt cache, so pick the model at the start of a task.9
How does Claude Code pricing compare with Codex?
Codex costs the same as Claude Code at the entry tier, $20 a month on ChatGPT Plus, and its Pro plans run $100, $200 or $500 with no five-hour limit.8 Codex meters use in credits per million tokens, while Claude plans meter a share of usage per five hours and week. Our Codex pricing guide converts both to dollars.
What should I check before I pick a Claude Code plan?
Before you pick a Claude Code plan, check five things: how many days a month you use it, which model it runs by default, whether your sessions get cleared, whether a teammate needs the same seat, and whether a cheaper model passes your own work.4
- Count active days for two weeks and price them in the calculator above.
- Run
/usageafter a normal day to see tokens, cost and how much of the limit is left.4 Our token usage guide explains each line. - Check the default model with
/status; it is Opus 5.5 unless you changed it.10 - Clear between tasks before you upgrade a plan: long uncleared sessions are the usual cause of high spend.4
- Try a cheaper model on a week of routine work before you pay for a bigger plan; the routes are in the table above.
Is Claude Code worth the price?
Claude Code is worth $20 to $100 a month for most developers who use it on most working days, because Anthropic's own average API-rate spend, $150–250 a month, is above the Max price.14 It is not worth Ultra unless you hit Max's limits, and it is cheaper on the API if you only use it a few days a month.
Sources
- Anthropic: Claude plans and pricing · checked
- Anthropic Help Center: the Ultra plan (updated November 9, 2026) · checked
- Anthropic Help Center: monthly API credits on paid plans · checked
- Claude Code docs: manage costs effectively · checked
- Claude API docs: pricing · checked
- Griffin: RouteBench coding results, six runs pooled (our data) · checked
- Griffin: RouteBench, method and weekly runs (our benchmark) · checked
- OpenAI: Codex pricing · checked
- Claude Code docs: how Claude Code uses prompt caching · checked
- Claude Code docs: model configuration · checked
- DeepSeek API docs: models and pricing · checked
- Z.ai docs: GLM Coding Plan prices (legacy plan migration notice) · checked
- Kimi Help Center: membership overview · checked
- GitHub: musistudio/claude-code-router · checked
- MindStudio: what 100 rounds of Claude Code edits cost (October 30, 2026) · checked
FAQ
Is Claude Code free?
No. Claude Code needs a paid Claude plan (Pro, Max, Ultra, Team or Enterprise) or an API account billed per token; the Free plan doesn't include it.
Is Claude Code included in Claude Pro?
Yes. Pro at $20 a month, or $17 billed annually, includes Claude Code with usage limits that reset every five hours and every week, shared with Claude chat.
Is the $100 Max plan worth it for Claude Code?
It is if you use Claude Code on most working days: Anthropic puts the average API-rate cost at about $13 per active day, so eight active days already pass $100.
What happened to Max 20x?
Anthropic renamed it Ultra. It still costs $200 a month, with 10x Pro usage each week and no five-hour limit for verified accounts; Max 5x is now just Max.
Do Max's API credits pay for Claude Code?
No. The monthly API credits on Max, Ultra and Team are for building on the Claude Platform and don't cover Claude Code use.
What is the cheapest way to use Claude Code?
Pro at $20 a month with Sonnet as the default, or the API for light use. For more volume at a lower price, point Claude Code at DeepSeek's Anthropic-compatible API or a GLM or Kimi coding plan.
Pay less for the AI in your app, too.
Griffin shows what each AI feature in your app costs and tests cheaper models on your own calls before it moves any. Watching is free.