Claude Code Pro vs Max vs API: Which Is Cheapest for You?
There are really two questions hiding in "how should I pay for Claude Code": flat subscription or pay-as-you-go API — and if subscription, which tier. The right answer depends almost entirely on how heavily you use it. Here's the plain version. (All numbers are as of 2026; check Anthropic's pricing for the current figures.)
The ways to pay
| Plan | Price | Roughly who it's for |
|---|---|---|
| Free | $0 | Trying Claude, not real Claude Code work |
| Pro | ~$20/mo | Light, occasional Claude Code use |
| Max 5x | ~$100/mo | Daily driver, one heavy project at a time |
| Max 20x | ~$200/mo | All-day heavy use, multiple agents |
| API (pay-as-you-go) | per token | Bursty, automated, or team workloads |
Subscriptions (Pro/Max) give you a usage allowance with rate limits for a flat fee. The API charges per token with no ceiling — cheap on light days, open-ended on heavy ones.
API pricing, if you go pay-as-you-go
You pay per token, priced per model (per million tokens, 2026):
| Model | Input | Output |
|---|---|---|
| Haiku | ~$1 | ~$5 |
| Sonnet | ~$3 | ~$15 |
| Opus | ~$5 | ~$25 |
Output costs ~5x input. Two big discounts matter: prompt caching cuts cached input by ~90%, and batch processing is ~50% off. Model choice dominates everything — running Opus where Sonnet would do is the usual budget killer.
The real decision: subscription or API?
It comes down to predictability vs. scaling.
- Subscription wins when your usage is steady and heavy. If you'd burn through more than the monthly fee in API tokens anyway, a flat $100 or $200 is both cheaper and predictable — you never get a surprise bill.
- API wins when usage is bursty or light. If you use Claude Code a few times a week, pay-as-you-go can come in under $20/mo. And for automation that occasionally spikes, you only pay for the spike.
A useful anchor: Claude Code's median spend is around $6 per developer per day, with 90% of users under $12/day — call it $100–200/month of equivalent usage for a daily user. If that sounds like you, a Max plan is usually cheaper than the same volume on the API. If you're well under it, Pro or the API wins.
The catch with Max: weekly limits
Max plans aren't truly unlimited. They carry weekly usage limits (one across all models, one for Sonnet specifically) on top of the rolling 5-hour windows, resetting seven days after a session starts. Heavy all-day users can hit them. If you routinely run multiple agents for hours, factor this in — sometimes the uncapped API is the only thing that won't throttle you mid-task.
How to actually know which is cheapest for you
Don't guess — measure your real token usage for a week, then compare it against the plan fees:
- Run ccusage or watch it passively with Tokipet to get your actual per-day, per-model spend.
- Multiply out a month. If it's comfortably above a Max tier, subscribe. If it's spiky or low, stay on the API.
- Either way, cut the usage first — the cheapest plan is the one you've right-sized your consumption for.
The full cost guide covers how billing works under the hood, and the skills roundup lists the tools that lower whichever path you pick.
FAQ
Is Claude Code Max worth it over Pro? If you use Claude Code daily on real projects, yes — Pro's allowance runs out fast, and Max 5x ($100) gives roughly 5x the headroom. For occasional use, Pro or the API is cheaper.
Is the API cheaper than a Max subscription? Only if your usage is light or bursty. For steady daily use that would exceed the flat fee in tokens, Max is cheaper and predictable. For a few sessions a week, the API often costs less than even Pro.
What's the difference between Max 5x and Max 20x? Headroom. Max 20x ($200) gives roughly 4x the usage allowance of Max 5x ($100) — worth it only if you genuinely run Claude Code heavily all day, often with multiple agents.
Does Claude Code have a free tier? There's a Free Claude plan, but it's not meant for real Claude Code work. In practice you're on Pro, Max, or the API.
How much does Claude Code cost per month? On subscription, the flat Pro/Max fee. On the API, it scales with use — the median developer runs ~$6/day, but it varies widely. Track yours to know your real number.
The cheapest plan is the one that matches your real usage — so measure it. Tokipet reads your Claude Code logs locally and shows your spend per repo and model, in your menu bar — install it here.