Claude Code Pricing: Pro, Max, and API Costs
Claude Code costs $20/month with Pro, $100 or $200 with Max, or pay-as-you-go API rates. Compare plans, limits, and the right billing route.
Claude Code pricing has two billing routes. You can use Claude Code through a paid Claude subscription, or fund it with pay-as-you-go API usage. As of July 19, 2026, Claude Pro costs $20 per month, while Claude Max costs $100 or $200 per month. API usage has no fixed monthly price: input, output, and prompt-cache tokens are billed at the selected model's rate.
Sources: Claude plans and pricing, Anthropic's plan chooser, and Claude Code cost documentation, checked July 19, 2026. Prices and limits can change.
Claude Code pricing at a glance #
| Billing route | Published price | Claude Code access | Best fit |
|---|---|---|---|
| Claude Pro monthly | $20/month | Included | Regular individual use |
| Claude Pro annual | $200/year, about $17/month | Included | Regular use with annual commitment |
| Claude Max 5x | $100/month | Included | Heavy daily sessions |
| Claude Max 20x | $200/month | Included | Very heavy individual use |
| Team or Enterprise | Current per-seat or contract price | Included | Shared administration and organization controls |
| Anthropic API | Per token | API-funded login | Variable or metered workloads |
| Compatible API gateway | Per token, plus any gateway fees | Custom gateway route | Multi-model access and separate spend controls |
Claude Code is included in every paid Claude plan. The important detail is that terminal usage does not have a separate pool: Claude Code, Claude web, desktop, and mobile activity share the same plan limits.
Claude Pro: $20 monthly or $200 annually #
Claude Pro is the lowest-cost paid route into Claude Code. The monthly plan is $20. The annual plan is $200 paid up front, which Anthropic presents as roughly $17 per month.
Pro is the sensible starting point when you want Claude Code and also use Claude's chat applications. It is not an unlimited terminal plan. Anthropic describes plan limits as rolling usage windows, with weekly limits layered on paid plans. The number of prompts you receive varies with conversation length, model choice, files, tools, and your usage across other Claude surfaces.
Choose Pro when:
- You code with Claude regularly but not continuously all day.
- You also value Claude on the web or desktop.
- A predictable $20 bill matters more than per-request accounting.
- Waiting for a reset after an occasional limit is acceptable.
Claude Max: $100 or $200 monthly #
Claude Max has two individual tiers. The $100 option provides 5x the usage of Pro per five-hour session. The $200 option provides 20x the usage of Pro per five-hour session. Both include the rest of the Pro feature set and higher output limits.
Max is designed for people who work with Claude throughout the day. It is still governed by usage limits rather than a fixed token allowance. Paying $200 does not create an unlimited API account.
Choose Max when:
- Claude Code is part of several hours of daily development.
- Pro limits interrupt paid work often enough to cost more than the upgrade.
- You want subscription predictability instead of tracking every token.
- You use Claude's other applications enough to value the shared plan.
The honest test is operational: record how often Pro blocks a productive session and how long you wait. Upgrade when the lost work is consistently worth more than the price difference.
Pay-as-you-go Claude Code API pricing #
API-funded Claude Code has no $20, $100, or $200 subscription tier. The cost is calculated from the model's token rates:
request cost =input tokens / 1,000,000 × input rate+ output tokens / 1,000,000 × output rate+ cache writes and reads at their published rates
Anthropic's Claude Code cost documentation says API usage averages about $13 per developer per active day and $150–$250 per developer per month, with 90% of users staying below $30 per active day. Those figures are planning baselines, not a promise. Repository size, model choice, agent loops, and tool output can move the real number sharply.
API billing is attractive when use is intermittent. A developer who runs two bounded sessions a week may spend less than a monthly plan. An autonomous agent working across several repositories can spend far more.
What happens when a subscription limit is reached #
Anthropic says paid users can wait for the usage window to reset, upgrade, or enable usage credits to continue at standard API rates. This makes the subscription behave like a base allowance with optional metered overflow.
Before enabling overflow billing:
- Set a monthly spending cap.
- Check which model Claude Code selects by default.
- Clear or compact long sessions when the old context is no longer useful.
- Separate personal experiments from organization-funded work.
- Review usage after the first full week, not after the first cheap prompt.
Subscription vs API: which is cheaper? #
There is no honest universal break-even calculation because Anthropic does not sell Pro or Max as fixed token bundles. Limits depend on workload behavior, and the subscription pool is shared with other Claude products.
Use this decision rule:
| Work pattern | Better starting route |
|---|---|
| Daily interactive coding plus Claude chat | Pro |
| Pro interrupts work repeatedly | Max 5x |
| Claude Code is open most of the workday | Max 20x or measured API pilot |
| A few bounded sessions each month | API billing |
| Automated jobs with explicit budgets | API billing |
| Need Claude, GPT, Gemini, and DeepSeek through one balance | Multi-model gateway |
Run both billing routes for one representative week if the difference matters. Record productive sessions completed, blocks, API cost, and time spent managing limits.
Using Claude Code with a compatible API gateway #
Claude Code accepts a custom Anthropic-compatible base URL. A gateway can be useful when you want pay-as-you-go access, a separate hard budget for the coding key, or the ability to select non-Anthropic models without maintaining several provider accounts.
RouterPlex supports the Anthropic Messages route and bills from a prepaid balance. Each API key can carry a hard lifetime budget, so a coding session can be limited to $5, $10, or another explicit amount at the server.
That route is not automatically cheaper than Claude Pro. It is more measurable and more flexible. You pay for the actual model usage, and you can move between Claude, GPT, Gemini, DeepSeek, Kimi, and other supported models through the same balance.
Read the current Claude Code Router and custom gateway setup, or install Claude Code first.
A practical first-month choice #
Start with Pro if you are an individual who wants Claude Code every week and prefers a fixed bill. Start with a small API budget if usage is occasional, automated, or needs strict cost attribution. Move to Max only after Pro limits repeatedly interrupt work.
If multi-model access is the requirement, create a RouterPlex account, add the minimum $5 balance, and give the Claude Code key a hard cap before the first repository session.
Frequently asked questions
How much does Claude Code cost?
Claude Code is included with paid Claude plans. Claude Pro is $20 per month or $200 billed annually. Claude Max is $100 per month for 5x Pro usage or $200 per month for 20x Pro usage. API-funded Claude Code is billed per token instead of by subscription.
Is Claude Code included with Claude Pro?
Yes. Anthropic says Claude Code is included in all paid Claude plans. Terminal usage and Claude web, desktop, and mobile usage draw from the same plan limits.
What happens when Claude Code reaches a plan limit?
You can wait for the rolling usage window to reset, move to a higher plan, or enable paid usage credits where available. Additional usage credits are charged at standard API rates.
Is Claude Code cheaper with a subscription or API billing?
A subscription is easier to budget for steady daily use, while API billing can be cheaper for irregular or tightly capped workloads. There is no universal break-even point because subscription limits depend on model choice, conversation length, and other Claude usage.
Run the smallest paid test.
Add $5, cap the key, and verify the result with your own workload.