⏰ TL;DR: Claude Code Pricing in 2026
- Claude Pro: $20/month ($17/month billed annually) — light, occasional Claude Code use, shared with your Claude.ai chat allowance.
- Claude Max 5x: $100/month — roughly 5x Pro’s usage limits, built for daily development.
- Claude Max 20x: $200/month — roughly 20x Pro’s usage limits, built for heavy daily and agentic work.
- Team Premium: $100/seat/month billed annually ($125/seat/month billed monthly), 5-seat minimum — the only Team tier that includes Claude Code.
- Enterprise: custom pricing with SSO (single sign-on), audit logs, and higher limits.
- API (pay-as-you-go): metered per token — Claude Sonnet 5 at $2/$10 per million input/output tokens, Claude Opus 5 at $5/$25, Claude Haiku 4.5 at $1/$5.
- For most individual developers, a flat Max plan works out far cheaper than paying by the token once you’re coding daily.
Type “Claude Code pricing” into Google and you’ll get at least four different answers depending on which page you land on. You might see a $20 number, a $200 number, a per-token number that means nothing until you do the math, or a horror story about a five-figure bill. None of those pages are lying to you, they’re each describing one piece of the same pricing system. That system has three separate layers: a flat subscription tier, a usage limit inside that tier that resets on a rolling window, and a metered API that bills per token if you skip the subscription entirely.
This guide breaks down all three layers with the current, verified 2026 numbers, including the newest Claude Opus 5 and Claude Sonnet 5 API rates that most existing pricing guides haven’t updated yet. There’s also a full breakdown of Claude Code pricing in India converted to rupees, and a plain answer to the question that actually matters: which plan should you pay for.
What Is Claude Code?
Claude Code is Anthropic’s agentic coding tool. It’s built to work inside your terminal, your IDE (code editor), or headless in CI (continuous integration, meaning it can run unattended as part of an automated build pipeline). Rather than just answering a single chat prompt, it reads your actual codebase, runs commands, edits files across multiple steps, and fixes its own mistakes along the way. It ships as part of every paid Claude subscription (Pro, Max, Team Premium, and Enterprise), and is also available standalone through the Claude API if you’d rather pay per token with your own key.
The reason Claude Code pricing confuses people is that it isn’t sold as its own product with its own price tag. It draws from the same usage allowance as Claude.ai chat, Claude Cowork, and Claude Design. So a developer who burns through the daily pool writing code in the terminal by lunchtime has burned through it for everything else too, chat included.
Does Claude Code Cost Extra on Top of Claude Pro or Max?
No. Claude Code is not a separate paid add-on. If you already pay for Claude Pro, Max, or Team Premium, Claude Code is included in that subscription at no extra charge. It draws from the same usage allowance as Claude.ai chat rather than billing separately. The only time you pay something distinct from your subscription is if you also connect your own Anthropic API key inside Claude Code. That key bills per token, independently of whatever plan you’re on.
Table of Contents
- What Is Claude Code?
- Does Claude Code Cost Extra on Top of Claude Pro or Max?
- Claude Code Pricing Plans in 2026: Full Overview
- Claude Pro Pricing: $20/Month Breakdown
- Claude Max Pricing: $100 and $200 Plans Explained
- How Claude Code Usage Limits Actually Work
- What Happens When You Hit Your Claude Code Usage Limit?
- Claude Code Team & Enterprise Pricing
- How Claude Code Billing & Plan Changes Work
- Anthropic API Pricing in 2026: Full Per-Token Breakdown
- Claude Code Pricing in India (INR)
- Real-World Monthly Cost Scenarios
- Which Claude Code Plan Should You Actually Pick?
- Claude Code vs. GitHub Copilot vs. Cursor: Pricing Comparison
- Why Your Claude Code Bill Might Spike
- How to Reduce Claude Code Costs
- How to Track and Forecast Your Claude Code Spend
- Common Mistakes That Make Claude Code Feel Expensive
- Recent Claude Code Pricing Changes in 2026
- Frequently Asked Questions
- Conclusion
Claude Code Pricing Plans in 2026: Full Overview
Here’s every current way to pay for Claude Code, side by side, with what you actually get for the price.
| Plan | Price | Claude Code Access | Best For |
|---|---|---|---|
| Free | $0 | Not included | Trying Claude.ai chat only |
| Pro | $20/mo ($17/mo billed annually) | Included, shared with chat usage | Occasional or evening coding |
| Max 5x | $100/mo | ~5x Pro’s usage limits | Daily, full-time development |
| Max 20x | $200/mo | ~20x Pro’s usage limits | Heavy daily use and agentic workflows |
| Team Standard | $25/seat/mo ($20/seat/mo annual), 5-seat minimum | Not included | Non-developer teams on Claude.ai |
| Team Premium | $125/seat/mo ($100/seat/mo annual), 5-seat minimum | Included, per seat | Development teams needing admin controls |
| Enterprise | Custom | Included, with higher limits | Large orgs needing SSO, audit logs, compliance |
| API (pay-as-you-go) | Metered per token | Included, unlimited but billed by usage | CI/CD (continuous integration and deployment) automation, spiky or unpredictable usage |
The single most common mistake: assuming any Team plan includes Claude Code. It doesn’t. Team Standard is priced for general Claude.ai chat access across a company. Claude Code specifically requires Team Premium, Enterprise, or an individual Pro/Max subscription.
Claude Pro Pricing: $20/Month Breakdown
Claude Pro is the cheapest way to get real Claude Code access. It’s genuinely enough for light use: a few coding sessions a week, small scripts, and the occasional larger task. The catch is that your Claude Code usage and your regular Claude.ai chat usage draw from the exact same rolling limit. A long chat session earlier in the day can eat into the coding budget you had planned for the evening.
- Price: $20/month billed monthly, or $17/month if you pay annually upfront.
- Usage window: a rolling session limit (commonly reported around 5 hours) that resets on a cycle, not a hard monthly cap you can exhaust permanently.
- Model access: Claude Sonnet 5 for most tasks, with limited Claude Opus 5 access for harder problems.
- Realistic fit: a handful of sessions a week, small-to-medium codebases, and tasks that don’t involve long-running multi-agent workflows.
Claude Max Pricing: $100 and $200 Plans Explained
Max is where Claude Code becomes a genuinely daily tool rather than an occasional helper. Both Max tiers include the same features as Pro, just with a much larger usage allowance. The difference between 5x and 20x is purely how much you can run before hitting a limit.
| Max 5x | Max 20x | |
|---|---|---|
| Price | $100/month | $200/month |
| Usage vs. Pro | ~5x the limits | ~20x the limits |
| Typical fit | Full-time solo developer, daily use | Heavy agentic workflows, multiple parallel sessions, power users |
| Model access | Sonnet 5 + Opus 5 | Sonnet 5 + Opus 5, with more Opus headroom |
Here’s the number that actually matters for deciding between them. A Max 20x subscriber who genuinely uses their full allowance every day is, in raw API-token terms, consuming several hundred to over a thousand dollars a month of usage, for a flat $200. That gap is exactly why heavy users should default to Max 20x over paying by the token. It’s also why light users shouldn’t pay for headroom they’ll never touch.
How Claude Code Usage Limits Actually Work
Every subscription tier, Pro included, is capped by a usage limit rather than being truly unlimited. Misunderstanding how that limit resets is the single biggest reason people feel like they were “throttled for no reason.”
- A rolling session window, not a fixed clock slot. Usage is commonly tracked over a rolling window (widely reported as roughly 5 hours) that starts from your first message, not from a fixed time like midnight, so two sessions on the same day can have completely different reset times.
- A separate weekly ceiling sits on top of the session window. Even if you haven’t hit your rolling session limit, a broader weekly cap on total compute can still apply, which is why a light week followed by a suddenly heavy day can trigger a limit that a single busy session alone wouldn’t.
- Limits scale with model and task, not just message count. A short question and a long agentic refactor don’t count the same, since the limit is ultimately about total tokens processed, not number of prompts sent. Two “prompts” can consume wildly different amounts of your allowance.
- Limits aren’t fixed forever. Anthropic has adjusted exact usage limits more than once in 2026 in response to demand and infrastructure capacity, so a number you read on any pricing page, including this one, is a snapshot, not a permanent guarantee.
The practical takeaway: if you’re hitting limits on Pro regularly, that’s a signal to move up a tier, not a sign something is broken. If you’re on Max 20x and never come close to the ceiling, you’re very likely overpaying for headroom you don’t use.
What Happens When You Hit Your Claude Code Usage Limit?
Claude Code pauses, it doesn’t charge you extra. When you reach your plan’s usage limit, Claude Code shows a message in the terminal telling you the limit has been reached and roughly when it resets. It then declines further requests until that reset happens. It does not silently switch you to metered billing or generate a surprise charge. A subscription limit is a hard stop, not an overage.
Three practical options once you hit it:
- Wait for the reset. Since the limit is a rolling window, it typically clears within hours, not days.
- Switch to a cheaper or different model for the rest of your session if your workflow allows it, lighter tasks on Haiku 4.5 consume the allowance more slowly than the same tasks on Opus 5.
- Add your own API key as a fallback. Claude Code supports falling back to pay-as-you-go API billing once your subscription allowance is exhausted, so time-sensitive work doesn’t have to stop entirely, you just start paying per token for the overflow instead of waiting.
Claude Code Team & Enterprise Pricing
Team and Enterprise plans add seat management, centralized billing, and admin controls on top of individual access. But only one Team tier actually ships with Claude Code.
- Team Standard — $25/seat/month billed monthly, or $20/seat/month billed annually, 5-seat minimum. This is Claude.ai chat access for a company. It does not include Claude Code.
- Team Premium — $125/seat/month billed monthly, or $100/seat/month billed annually, 5-seat minimum. This is the tier that actually includes Claude Code, at roughly 5x Standard’s usage per seat.
- Enterprise — custom, quote-based pricing. Adds SSO/SAML (single sign-on standards for centralized company logins), audit logs, higher default usage limits, and dedicated support, aimed at organizations with compliance or scale requirements a self-serve plan can’t meet.
For a 10-person engineering team, that puts Team Premium at roughly $1,000/month billed annually ($100 × 10 seats). That’s worth comparing directly against 10 individual Max 5x subscriptions, also $1,000/month at list price, rather than assuming Team is automatically the cheaper route. The real difference is centralized billing and admin visibility, not a lower per-seat price.
How Claude Code Billing & Plan Changes Work
- Monthly vs. annual billing. Every individual plan (Pro, Max 5x, Max 20x) and Team Premium is available billed monthly or, at a discount, billed annually upfront. The Pro/Max prices throughout this guide are the monthly-billing rate unless stated otherwise.
- Upgrading mid-cycle. Moving from Pro to a Max tier generally takes effect immediately, with the price difference prorated for the remainder of your current billing period, rather than making you wait until renewal.
- Downgrading takes effect at renewal. Dropping from Max 20x to Max 5x, or from Max to Pro, typically applies at your next billing date rather than immediately, so you keep the higher tier’s usage limits for the rest of the period you already paid for.
- Cancelling. You can cancel a subscription at any time from your account billing settings; access continues until the end of the period you’ve already paid for, it doesn’t cut off immediately.
- Switching to the API instead. Nothing stops you from cancelling a subscription and using Claude Code with your own API key instead, or running both side by side for different projects, since the subscription and API are billed completely independently.
Anthropic API Pricing in 2026: Full Per-Token Breakdown
If you’d rather pay only for what you use, plug your own Anthropic API key into Claude Code and skip the subscription entirely. This is the same Anthropic API pricing that powers every Claude product: chat, Claude Code, and any third-party app built on Claude. It’s billed per million tokens, split into input tokens (what you send) and output tokens (what the model generates), with output priced significantly higher across every model. If you want to sidestep per-token cost entirely, running an open-weight coding model locally is the alternative. Our best GPUs for AI and machine learning guide covers what hardware that actually takes.
Current-Generation Model Pricing
| Model | Input (per 1M) | Output (per 1M) | Context Window | Max Output |
|---|---|---|---|---|
| Claude Haiku 4.5 | $1.00 | $5.00 | 200K | 64K |
| Claude Sonnet 5 | $2.00 | $10.00 | 1M | 128K |
| Claude Sonnet 4.6 | $3.00 | $15.00 | 1M | 128K |
| Claude Opus 5 | $5.00 | $25.00 | 1M | 128K |
| Claude Opus 4.8 / 4.7 / 4.6 | $5.00 | $25.00 | 1M | 128K |
| Claude Fable 5.1 | $10.00 | $50.00 | 1M | 128K |
Two pricing details worth knowing before you budget off this table:
- Anthropic cancelled a planned Sonnet price increase in 2026. Sonnet 5 was scheduled to move to $3/$10, but Anthropic kept it at $2/$10 permanently, worth knowing since some older pricing pages still reference the higher number.
- The tokenizer changed starting with the Opus 4.7 generation. Opus 4.7, 4.8, and Fable 5.1 share a newer tokenizer that can produce noticeably more tokens, up to roughly 1.35x, for the same input compared to Opus 4.6’s older tokenizer. Per-token rates didn’t change, but your effective cost per request can rise slightly after migrating between tokenizer generations, worth re-benchmarking rather than assuming a same-price model swap is cost-neutral.
Legacy Models Still Billable (For Reference)
These older models remain callable via the API for existing integrations, though none are the right default choice for new Claude Code work in 2026:
| Model | Input (per 1M) | Output (per 1M) | Note |
|---|---|---|---|
| Claude Sonnet 4.5 | $3.00 | $15.00 | Carries a long-context surcharge past 200K tokens on the 1M-context beta, migrate to Sonnet 4.6 to avoid it |
| Claude Sonnet 3.7 | $3.00 | $15.00 | Same price as Sonnet 4.6 with meaningfully weaker coding performance |
| Claude Haiku 3.5 | $0.80 | $4.00 | Cheaper than Haiku 4.5 but a noticeably older, less capable model |
| Claude Opus 3 | $15.00 | $75.00 | Three times the cost of Opus 5 for older-generation capability, no reason to use it for new work |
Prompt Caching: How Much You Actually Save
Claude Code resends your project’s context (CLAUDE.md, recent file contents, tool definitions) on every single turn. Prompt caching changes that: the first call in a caching window pays a premium to write the cache. Every subsequent call that hits it pays a small fraction of standard input price instead of paying full price again.
| Model | Standard Input | 5-Min Cache Write | 1-Hr Cache Write | Cache Hit (Read) |
|---|---|---|---|---|
| Claude Haiku 4.5 | $1.00 | ~$1.25 | ~$2.00 | ~$0.10 |
| Claude Sonnet 5 | $2.00 | ~$2.50 | ~$4.00 | ~$0.20 |
| Claude Opus 5 | $5.00 | ~$6.25 | ~$10.00 | ~$0.50 |
In practice, a cache read costs roughly 90% less than standard input. That’s why confirming caching is actually active in your setup matters so much. A silently invalidated cache doesn’t just cost a little more, it quietly bills your full project context at full price on every turn. That alone can easily triple a real bill, with no error message telling you it happened.
Batch API: 50% Off for Non-Urgent Work
Anthropic’s Message Batches API processes requests asynchronously, typically within 24 hours, at exactly half the standard per-token price on both input and output, with no quality difference in the model’s response. It’s not something Claude Code’s interactive terminal sessions use. But it matters directly if you’re scripting bulk, non-interactive work around your codebase outside the live coding session itself, generating documentation for hundreds of files, bulk-summarizing commit history, or running an automated code-review pass across an entire repository.
| Model | Standard Input / Output | Batch Input / Output |
|---|---|---|
| Claude Haiku 4.5 | $1.00 / $5.00 | $0.50 / $2.50 |
| Claude Sonnet 5 | $2.00 / $10.00 | $1.00 / $5.00 |
| Claude Opus 5 | $5.00 / $25.00 | $2.50 / $12.50 |
Fast Mode and Other Add-On Costs
- Fast Mode (Claude Opus 5 and Opus 4.8 only) runs the same model at up to roughly 2.5x higher output tokens per second, at premium pricing of $10/$50 per million tokens, double the standard Opus rate. Worth it when raw response latency matters more than cost; not something to enable by default.
- Web search tool calls made through the API are billed separately from token usage, commonly cited around $10 per 1,000 searches, on top of whatever tokens the search results themselves consume once read into context.
Real-World API Cost Examples
| Workload | Model | Estimated Cost |
|---|---|---|
| Light coding assistant, ~20 short sessions/day, caching active | Claude Sonnet 5 | ~$15-25/day (~$450-750/mo) |
| Daily agentic development, ~10 long sessions/day, caching active | Claude Sonnet 5 | ~$40-70/day (~$1,200-2,100/mo) |
| Heavy agentic refactors, multiple subagents, no caching | Claude Opus 5 | ~$100-180/day (~$3,000-5,400/mo) |
| Bulk, non-interactive doc generation across a repo | Claude Haiku 4.5 (Batch API) | ~$0.001-0.002 per file processed |
These are exactly the numbers that make a flat Max subscription look so different from paying by the token. The “daily agentic development” row alone comfortably exceeds Max 20x’s flat $200/month. That’s the whole reason Anthropic can sell unlimited-feeling access inside a usage cap for a fixed price.
Cost Optimization Priorities, Ranked
- Turn on and verify prompt caching for anything resembling reused context, this is the single highest-leverage saving available and costs nothing to implement.
- Match model to task difficulty before reaching for the most capable (and most expensive) model by default.
- Route bulk, non-interactive work to the Batch API for an automatic 50% discount wherever a 24-hour turnaround is acceptable.
- Avoid legacy models with surcharges or weaker tokenizers when a same-price current-generation model is available.
- Keep prompts and project context lean, every redundant token in your CLAUDE.md or system prompt gets billed on every single call it’s included in.
- Monitor spend continuously rather than checking once a month, a spike caught on day one is a configuration fix, the same spike caught on day thirty is already a large invoice.
One thing worth restating clearly: a Claude Pro or Max subscription and a pay-as-you-go API key are billed completely independently. Subscribing to Max 20x does not give you API credits. Spending heavily on the API does nothing to your subscription’s usage limits either, they’re two separate products that happen to run the same underlying models.
If you’re also running an autonomous agent framework like Hermes Agent on the same Claude API key, its token usage is billed the same way and adds directly to this bill. See our Hermes Agent cost and pricing breakdown for a full accounting of what that adds up to.
Claude Code Pricing in India (INR)
Anthropic bills every Claude subscription in US dollars regardless of where you live. Indian developers pay the same $20/$100/$200 tiers, just converted at whatever your card network’s exchange rate is at billing time. At a rough rate of ₹95 to the dollar (September 2026), here’s what that works out to:
| Plan | USD Price | Approx. INR |
|---|---|---|
| Pro (monthly) | $20/mo | ₹1,900/mo |
| Pro (annual) | $17/mo | ₹1,615/mo |
| Max 5x | $100/mo | ₹9,500/mo |
| Max 20x | $200/mo | ₹19,000/mo |
| Team Premium (annual) | $100/seat/mo | ₹9,500/seat/mo |
Two India-specific costs sit on top of the sticker price: your bank’s foreign currency markup, typically 1.5-3.5% on international card transactions, and, depending on how your bank classifies the charge, GST (Goods and Services Tax) on that markup. Neither is charged by Anthropic directly, but both show up on your statement. If you’re paying via API instead of a subscription, note that API billing is also USD-denominated and carries the same conversion overhead.
Real-World Monthly Cost Scenarios
| Profile | Usage Pattern | API-Equivalent | Best Plan |
|---|---|---|---|
| Occasional coder | A few short sessions a week, small scripts | ~$10-30/mo | Pro ($20) |
| Daily developer | 5-10 real sessions/week, feature work | ~$80-200/mo | Max 5x ($100) |
| Heavy / agentic user | 15+ long sessions/week, multi-agent workflows | ~$250-700+/mo | Max 20x ($200) |
| CI / automation pipeline | Machine-triggered, scales with job volume | Highly variable | API with a hard spend cap |
Which Claude Code Plan Should You Actually Pick?
- Choose Pro ($20/mo) if you code a few evenings a week and don’t want to think about usage limits most weeks.
- Choose Max 5x ($100/mo) if Claude Code is part of your daily workflow and Pro’s limits interrupt you mid-task more than once a week.
- Choose Max 20x ($200/mo) if you run long agentic sessions, multiple parallel tasks, or rely heavily on Claude Opus 5 for complex work.
- Choose Team Premium if you’re buying for a development team and need centralized billing, admin controls, and seat management.
- Choose the API if your usage is automated (CI/CD, scheduled jobs), highly unpredictable, or you specifically need to track cost per project rather than per person.
- Choose Enterprise only once SSO, audit logs, or a compliance requirement is the actual blocker, not just usage volume, since Max 20x covers most heavy individual use cases at a fraction of Enterprise’s typical cost.
Claude Code vs. GitHub Copilot vs. Cursor: Pricing Comparison
| Tool | Entry Price | Top Individual Tier | Model |
|---|---|---|---|
| Claude Code (via Pro) | $20/mo | Max 20x, $200/mo | Subscription with usage limits, or metered API |
| GitHub Copilot | $10/mo (Pro) | Copilot Pro+, $39/mo | Subscription, request-based limits |
| Cursor | $20/mo (Pro) | Ultra, $200/mo | Subscription, usage-based overage billing |
Copilot is the cheapest entry point but the least capable for genuinely agentic, multi-file work. Cursor and Claude Code sit closer together on price at both ends of their lineups. The real difference between them is model choice, and how each tool’s agent handles a large, unfamiliar codebase, rather than the sticker price itself.
Why Your Claude Code Bill Might Spike
If you’re on the API rather than a flat subscription, a handful of patterns are responsible for almost every reported “surprise bill”:
- Context resubmission. Every turn resends your project context unless caching is genuinely active, a silently broken cache can multiply your real cost several times over without any error message.
- Subagent fan-out. Spinning up multiple subagents to parallelize a task multiplies token usage by however many agents you launch, useful for speed, expensive if left unbounded.
- Long-running sessions. Token cost per turn climbs as conversation history grows, a session at turn 200 can cost meaningfully more per exchange than the same session at turn 10.
- Runaway loops. A task stuck retrying, resending large context on every attempt, is the single most common cause of an unexpectedly large bill, and the easiest one to prevent with a spend cap.
- Extended thinking left uncapped. Thinking tokens are billed as output tokens. Left unbounded on a hard problem, this can add tens of thousands of billed tokens to a single response.
How to Reduce Claude Code Costs
- Confirm prompt caching is actually working. Check for cached token reads in your usage logs, don’t assume it’s active by default in every setup.
- Route tasks to the right model. Use Claude Haiku 4.5 for mechanical, low-stakes edits, Claude Sonnet 5 as your daily driver, and reserve Claude Opus 5 for genuinely hard problems.
- Keep your CLAUDE.md lean. A bloated project-context file gets resent on every single turn, keeping it under roughly 200 lines noticeably reduces baseline token spend.
- Compact or clear context at natural breakpoints. Use it between unrelated tasks so old, irrelevant history stops being billed on every new turn.
- Cap extended thinking on routine tasks rather than leaving it fully open-ended by default.
- Set a hard spend limit on your API workspace before running any automated or CI-triggered Claude Code job, not after the first surprising invoice.
- Compare your real usage against a flat plan before assuming pay-as-you-go is cheaper, for daily use, it usually isn’t.
How to Track and Forecast Your Claude Code Spend
Anthropic’s /cost command inside Claude Code shows your current session’s token usage and estimated cost directly in the terminal. It’s the fastest way to sanity-check a single session before it’s done. For ongoing, team-wide visibility, pair that with your Anthropic Console usage dashboard, which breaks down spend by day, model, and workspace if you’re on the API rather than a flat subscription.
Beyond the built-in command, a small ecosystem of open-source community tools (ccusage is the most widely used) can parse your local Claude Code logs into daily and weekly usage breakdowns. That’s useful if you want history and trends rather than a single session snapshot. For API-based usage specifically, the Anthropic Console’s usage dashboard remains the authoritative source of truth on actual dollars billed.
If you’re managing Claude Code cost across a team, the pattern that works is simple: check per-developer spend weekly for the first month on any new plan, then monthly once usage stabilizes. A sudden week-over-week jump is far easier to trace back to a specific cause, a new automated job, a runaway loop, a model change, than a monthly total that’s already three weeks stale.
If you’re running Claude Code unattended on a schedule or as part of a CI pipeline, that workload needs an always-on server rather than your own laptop. Our Hermes Agent hosting comparison reviews ten VPS providers well suited to that kind of always-on automation. It was written with a different agent framework in mind, but the hosting requirements, root access, enough RAM, reliable uptime, are the same.
Common Mistakes That Make Claude Code Feel Expensive
- Buying Max 20x before ever using Pro or Max 5x and never actually needing the extra headroom.
- Assuming Team Standard includes Claude Code and discovering the gap only after purchasing seats.
- Defaulting every task to Claude Opus 5 instead of matching model choice to task difficulty.
- Running automated or CI-triggered jobs on the API with no spend cap set.
- Letting a bloated CLAUDE.md or stale conversation history quietly inflate every single turn’s cost.
Recent Claude Code Pricing Changes in 2026
Claude Code pricing hasn’t been static this year. Two changes worth knowing if you last checked pricing months ago:
- A planned Sonnet price increase was cancelled. Claude Sonnet 5 was scheduled to move from $2/$10 to $3/$10 per million input/output tokens, Anthropic reversed that and kept the lower rate permanent.
- Usage limits have been adjusted more than once. Exact session and weekly caps on Pro and Max plans have shifted during the year in response to demand and infrastructure capacity, the dollar prices of each tier have stayed the same, but how far that price actually stretches has moved.
Neither change affects the flat monthly prices in this guide. Both affect how much usage you actually get for that price. That’s the real reason it’s worth re-checking a page like this every few months, rather than trusting a number you read once at the start of the year.
Frequently Asked Questions
How much does Claude Code cost per month?
Claude Code is included in every paid Claude plan: Pro at $20/month, Max 5x at $100/month, Max 20x at $200/month, Team Premium at $100-125/seat/month, or Enterprise at custom pricing. You can also pay per token through the API instead of a flat subscription.
Is Claude Code free to use?
No standalone free tier includes Claude Code. The free Claude plan covers Claude.ai chat only. The cheapest way to get real Claude Code access is the $20/month Pro plan.
What is the difference between Claude Max 5x and Max 20x?
Both include the same features and model access; the difference is purely usage headroom. Max 20x ($200/month) gives roughly four times the usage allowance of Max 5x ($100/month), aimed at heavy daily use and agentic workflows rather than occasional coding.
Does the Claude Team plan include Claude Code?
Only Team Premium ($100-125/seat/month) includes Claude Code. Team Standard ($20-25/seat/month) is priced for general Claude.ai chat access and does not include it, a common and costly assumption to get wrong when buying seats for a dev team.
How much does the Claude Code API cost per token?
As of 2026, Claude Sonnet 5 costs $2 per million input tokens and $10 per million output tokens, Claude Opus 5 costs $5/$25, and Claude Haiku 4.5 costs $1/$5. Prompt caching can cut the effective cost of repeated context by roughly 90%.
Is a Claude Max subscription cheaper than paying per token through the API?
For daily, heavy use, yes, often significantly. A Max 20x subscriber using their full allowance consistently is, in raw token terms, using several hundred dollars or more of API-equivalent usage for a flat $200/month. Light, occasional users are usually better off on Pro or even the API directly.
How much does Claude Code cost in India?
Anthropic bills in US dollars worldwide, so Indian users pay the same $20/$100/$200 tiers, converted at your card’s exchange rate, roughly ₹1,900, ₹9,500, and ₹19,000 per month at a ~₹95/USD rate, plus your bank’s foreign currency markup.
Why did my Claude Code API bill spike unexpectedly?
The most common causes are a silently broken prompt cache resending full context every turn, an unbounded subagent fan-out, a runaway retry loop, or extended thinking left uncapped on a hard problem. Setting a hard spend limit on your API workspace catches all four before they become a large invoice.
Which is cheaper, Claude Code or GitHub Copilot?
Copilot’s entry tier ($10/month) is cheaper than Claude Code’s entry point ($20/month via Pro), but Copilot is generally less capable for large, multi-file agentic tasks. At the top end, Claude Code Max 20x ($200/month) and Cursor Ultra ($200/month) are priced identically, well above Copilot Pro+ ($39/month).
Is there a free trial for Claude Code?
Anthropic doesn’t run a standing free trial of Pro or Max specifically for Claude Code. The free Claude plan lets you try Claude.ai chat at no cost, but it does not include Claude Code access at all, the cheapest way to actually try Claude Code is the $20/month Pro plan. Anthropic occasionally runs promotional credits or trial offers, so it’s worth checking claude.com directly for any current promotion before subscribing.
What happens when I hit my Claude Code usage limit?
Claude Code pauses and shows a message telling you when your limit resets, it does not silently bill you extra. You can wait for the rolling window to reset, switch to a lighter model like Haiku 4.5 for the rest of the session, or add your own API key so Claude Code falls back to pay-as-you-go billing instead of stopping entirely.
Conclusion
Claude Code’s pricing isn’t complicated once you separate the three layers: a flat subscription most individual developers should actually buy, a usage limit inside that subscription that scales with the tier you pick, and a metered API sitting underneath both for automation or genuinely unpredictable usage. The number that matters isn’t “how much does Claude Code cost.” It’s “how much does my specific usage cost” based on your own coding habits, not a generic average.
If you’re coding daily and haven’t run your own numbers yet, do that before assuming either the cheapest or the most expensive plan is the right one. Revisit this page every few months too, since Anthropic has already adjusted Claude Code pricing and limits more than once in 2026.



