AI Ranked
Guide

Claude Code Pricing: What Each Plan and the API Really Cost

Every plan and API rate, a break-even calculator, three worked scenarios, and how 10 ranking guides scored against Anthropic's live pages.

Short answerClaude Code pricing starts at $20 a month on Pro, or $17 with annual billing. Max is $100, Ultra is $200, Team seats run $20 to $125 and Enterprise is $20 a seat plus API usage. The Free plan excludes it. Across enterprise deployments, Anthropic reports about $13 per developer per active day.
Key takeaways
  • Claude Code has no plan of its own. It comes with every paid Claude plan and shares one usage pool with chat, or you pay per token through a Console API key.
  • Weekly usage costs the same $20 per Pro-sized allowance on Pro, Max and Ultra. Upgrading buys size, Fable access and fewer stops. It buys no volume discount.
  • Cache rates drive most API bills. On Opus 5.5 a cache hit is $0.20 per million tokens and a 5-minute write is $5, so the blended input rate is $0.34 at a 97% hit share and $1.16 at 80%.
  • At Anthropic's average of $13 per active day, the API passes Pro after 1.5 active days, Max after 7.7 and Ultra after 15.4.
  • We scored 10 ranking guides on 13 claims against Anthropic's live pages. Plan prices mostly held up, yet 6 of 10 pages still use the old Max 20x name or an out-of-date tier name, and only 2 state Ultra's real 10x weekly limit.

How much does Claude Code cost?

On a plan, Claude Code costs $20 a month on Pro, $100 on Max and $200 on Ultra, with Team seats from $20 and Enterprise at $20 a seat plus usage. There's no standalone Claude Code plan and no charge for the software itself. You pay for the model usage behind it, through a plan or per token.

Every figure in this table comes from Anthropic's pricing page, read in a real browser on both the Individual and the Team and Enterprise tabs, plus the Team plan help article. Prices exclude tax.

PlanPriceClaude CodeUsage against ProMonthly API credits
Free$0NoLimitedNone
Pro$20 a month, or $17 a month on annual ($200 up front)Yes1x, the baselineNone
Max$100 a month, monthly billing onlyYes5x every 5 hours and every week$100
Ultra$200 a month, monthly billing onlyYes10x weekly, and verified accounts skip the 5-hour limit$200
Team Standard seat$25 monthly or $20 annual, per seatYes1.25x per session$20 per seat, pooled, $500 cap
Team Premium seat$125 monthly or $100 annual, per seatYes6.25x per session$100 per seat, pooled, $500 cap
Enterprise$20 per seat a month on annual billing, 20 seats at least, with usage billed at API ratesYesSet by admin spend limitsNone
Console APINo fee, pay per tokenYesYour workspace limitsNot applicable

The chat side of these plans gets its own treatment in our Claude pricing guide. Here we stay on what the coding tool costs. Annual Pro saves $40 a year against twelve monthly payments. Mobile prices can differ, since the Ultra help article says its $200 applies to web subscriptions.

How does Claude Code billing work?

Claude Code bills in one of three ways: a subscription that draws on a shared usage allowance, a Console API key charged per token, or a cloud provider account such as Amazon Bedrock. Whichever login a session uses decides who pays, and each developer on a mixed team is metered by the method they signed in with.

On a subscription, the terminal, the IDE extensions and the Claude apps all draw from one pool. Anthropic's Claude Code plan article says all activity in both tools counts against the same limits, so a long chat in the morning shrinks what's left for coding that afternoon. A subscription and a Console account are also separate purchases, and the Pro plan doesn't include API use in the Console.

That same article carries the most expensive small print on this page. If an ANTHROPIC_API_KEY environment variable is set on your machine, Claude Code uses it instead of your subscription and you pay API charges. Run /status to see which login a session is on. A Login method row means subscription, an API key row means the Console is paying.

The three kinds of credits people mix up

Anthropic uses the word credits for three different balances, and only two of them work in an interactive Claude Code session.

NameWhere it comes fromWorks in interactive Claude Code?Key rule
Usage creditsYou prepay on a paid planYes, past your limitBilled at standard API rates, with a monthly spend cap you set
Console creditsYou buy them in the Claude ConsoleYes, with a Console loginPay per token, separate from any plan
Monthly API creditsIncluded with Max, Ultra and TeamNoExpire each billing cycle, no rollover

The third row is the trap. Anthropic's monthly API credits article rules out interactive sessions, whether they run in a terminal, an IDE, the desktop app or the web. It does cover claude -p and the Agent SDK if they run on a key from the Console organization you linked. So a Max subscriber's $100 can pay for scripted runs, while a signed-in session still draws on plan limits. Link the Console organization on claude.ai after seven days on the plan.

What are the Claude Code API rates?

Claude Code API rates per million tokens are $2 input and $10 output on Sonnet 5.5, $4 and $20 on Opus 5.5, and $10 and $50 on Fable 5.1. Haiku 5.5 starts at $0.10 and $0.50. Cached input is far cheaper, and because Claude Code re-sends the conversation on every turn, cached input is most of what a long session buys.

ModelInputOutput5-minute cache write1-hour cache writeCache hit
Fable 5.1$10$50$12.50$20$0.25
Opus 5.5$4$20$5$8$0.20
Sonnet 5.5$2$10$2.50$4$0.10
Haiku 5.5, prompts up to 100,000 tokens$0.10$0.50$0.125$0.20$0.01
Haiku 5.5, prompts over 100,000 tokens$0.50$2.50$0.625$1$0.05

All rates are from Anthropic's API pricing page, in US dollars per million tokens. Five things change the bill beyond this table:

  • Tokenizer. The newer tokenizer on Claude 4.7 and later adds roughly 30% to the token count of the same text, so comparing per-token prices with older models understates the change.
  • Fast mode. Opus 5.5 in fast mode costs $8 and $40 per million tokens. On subscriptions it always draws from usage credits, even with plan usage left.
  • US-only inference. Setting inference_geo to us multiplies every token price by 1.1.
  • Web search. Search on the Claude API adds $10 per 1,000 searches on top of token costs.
  • Long context. Haiku 5.5 is the one current model with a price step, because a request over 100,000 prompt tokens pays the higher rates even when part of it is a cache hit.
Opus 5.5 API rates per million tokens, by token typeCache hitCache hit: $0.20 per million tokens$0.20InputInput: $4.00 per million tokens$4.005-minute cache write5-minute cache write: $5.00 per million tokens$5.001-hour cache write1-hour cache write: $8.00 per million tokens$8.00OutputOutput: $20.00 per million tokens$20.00
Opus 5.5 rates in US dollars per million tokens, from Anthropic's pricing page. Sonnet 5.5 is exactly half of each bar. A cache hit is 5% of the input rate.

Read the cache rates first. Anthropic's prompt caching docs explain why: each message re-sends the full context, and the cache serves whatever matches the previous request. So a one-line follow-up late in a long session is still a large request, and most of it bills at the cache hit rate.

What did Claude Code cost on older models?

Older Claude models cost more per token, not less. Opus 4 and Opus 4.1 are $15 input and $75 output per million tokens, Opus 4.5 through Opus 5 are $5 and $25, and Opus 5.5 is $4 and $20. Sonnet 4.6 and the Sonnets before it are $3 and $15, while Sonnet 5 and Sonnet 5.5 are $2 and $10.

These rows matter for two reasons. You can pin a model in Claude Code with /model, so a team that pinned an older Opus keeps paying its rate after a newer one ships. And plenty of pricing guides still print these rows as the current price, which is the most common API mistake in our audit further down.

ModelInputOutputCache hitTokenizer
Fable 5$10$50$1Newer
Opus 5, Opus 4.8, Opus 4.7$5$25$0.50Newer
Opus 4.6, Opus 4.5$5$25$0.50Previous
Opus 4.1, Opus 4$15$75$1.50Previous
Sonnet 5$2$10$0.20Newer
Sonnet 4.6, Sonnet 4.5, Sonnet 4$3$15$0.30Previous
Haiku 4.5$1$5$0.10Previous

Rates are per million tokens from the additional models table on Anthropic's API pricing page. Anthropic lists Sonnet 4.5 as deprecated. The tokenizer column follows the page's note that Claude 4.7 and later use the newer tokenizer and Sonnet 4.6 and earlier use the previous one.

Opus output price per million tokens, by model generationOpus 4Opus 4: $75 per million output tokens$75Opus 4.1Opus 4.1: $75 per million output tokens$75Opus 4.5Opus 4.5: $25 per million output tokens$25Opus 4.6Opus 4.6: $25 per million output tokens$25Opus 4.7Opus 4.7: $25 per million output tokens$25Opus 4.8Opus 4.8: $25 per million output tokens$25Opus 5Opus 5: $25 per million output tokens$25Opus 5.5Opus 5.5: $20 per million output tokens$20
Output price in US dollars per million tokens for each Opus model on Anthropic's API pricing page. Input is one fifth of output on every row: $15, $5 and $4.

The tokenizer changes how these prices compare. The newer one produces roughly 30% more tokens for the same text, so a lower list price doesn't always mean a lower bill. Two examples from the table:

  • Sonnet 4.6 to Sonnet 5.5. Output drops from $15 to $10 per million tokens. With roughly 30% more tokens, the same text costs about $13 at Sonnet 5.5's rate, so the saving is near 13% rather than a third.
  • Opus 4.6 to Opus 4.7. Same $5 and $25 list price, but Opus 4.7 counts the text with the newer tokenizer, so the same session bills roughly 30% more tokens.

Cache hits moved more than list prices did. Fable 5 and Fable 5.1 share the $10 and $50 rates, yet a cache hit is $1 on Fable 5 and $0.25 on Fable 5.1. In a long Claude Code session, where most input is a cache hit, that fourfold gap outweighs everything else in the row. The same pattern holds for Sonnet: $0.20 a cache hit on Sonnet 5, $0.10 on Sonnet 5.5.

How much will Claude Code cost you? Use the calculator

Your Claude Code cost on the API is active days times hours times token volume, priced at your model's cache and output rates. This calculator does that sum and sets the result beside Pro, Max and Ultra, so you can see which fees your usage passes. Pick a preset or enter your own numbers. Your real cache hit share appears in the Prompt cache (main) line of /usage, which Anthropic's cost docs describe, on current versions of Claude Code.

$272.92

API cost per month

Cache reads Cache writes Output

PlanAPI costBreak-even


        
      
Screen recording of this page's Claude Code cost calculator: switching presets, changing the model from Opus 5.5 to Sonnet 5.5 and lowering the cache hit share while the monthly API cost and plan break-even update.
Recorded from this page: the calculator's API total and break-even rows update as the preset, model and cache hit share change.

The formulas are the ones printed under the results, filled in with your numbers. Three modelling choices are ours. Every input token that isn't a cache hit is billed as a 5-minute cache write, on the assumption that Claude Code caches new context as it goes, so the base input rate rarely applies. Writes use the 5-minute rate because that's the default on an API key. And the plan rows compare fees only, since Anthropic publishes no token cap for any plan, so the calculator can't tell you whether a plan's limit would hold your usage. Only /usage and a week of real work can do that.

The JavaScript stays in your browser, so your numbers never leave the page. We test it with 13 scripted checks, including hand-worked totals, the 1.1x multiplier and bad input.

To sanity-check a result, Anthropic's cost docs give around $13 a developer on an active day across enterprise deployments, $150 to $250 per developer monthly, and under $30 a day for 90% of users. Anthropic puts agent teams at roughly 7 times a standard session's tokens, so heavy agent work can land above those figures.

What does Claude Code cost for a hobbyist, a developer and a 10-person team?

A solo hobbyist comes to about $9 a month on the API, a full-time developer on Opus 5.5 about $273, and a 10-person team about $1,774. Those workloads are assumptions we set, priced with the formulas above. Replace them with your numbers in the calculator, since token volume varies more than any rate does.

Solo hobbyist: pay as you go wins on price

Assume 8 active days a month, 1.5 hours a day, 2 million input tokens and 10,000 output tokens an hour, on Sonnet 5.5 with a 90% cache hit share.

  • Input tokens: 8 × 1.5 × 2M = 24M
  • Cache reads: 24M × 90% × $0.10 = $2.16
  • Cache writes: 24M × 10% × $2.50 = $6.00
  • Output: 8 × 1.5 × 10,000 = 0.12M, × $10 = $1.20
  • Total: $9.36 a month, or $1.17 per active day

That's under half of Pro's $20. The API only overtakes Pro's fee after about 17 of these days. Pick Pro anyway if you also want Claude chat, because the fee covers both.

Full-time developer: every plan fee is below the API cost

Assume 21 active days, 5 hours a day, 6.8 million input tokens and 13,000 output tokens an hour, on Opus 5.5 with a 97% cache hit share. All of these inputs are our assumptions.

  • Input tokens: 21 × 5 × 6.8M = 714M
  • Cache reads: 714M × 97% × $0.20 = $138.52
  • Cache writes: 714M × 3% × $5 = $107.10
  • Output: 21 × 5 × 13,000 = 1.365M, × $20 = $27.30
  • Total: $272.92 a month, or $13.00 per active day

That daily figure matches Anthropic's $13 average, which makes it a fair reference case. On Sonnet 5.5 the same tokens cost $136.46, or $6.50 a day, because Sonnet 5.5 is exactly half of Opus 5.5 on every rate in the table. Either way the API costs more than Max's fee, so this developer belongs on a plan. Which plan depends on whether its limit holds, which we cover under Max and Ultra.

10-person team: seats, API or Enterprise

Assume seven developers at the Sonnet 5.5 workload above and three heavy users at the Opus 5.5 workload.

RouteMathsMonthly costWhat's left to manage
Team, annual billing7 × $20 + 3 × $100$440Seat limits, then usage credits at API rates
Team, monthly billing7 × $25 + 3 × $125$550Same limits, no annual commitment
Console API7 × $136.46 + 3 × $272.92$1,773.98Workspace spend limits, no seat limits
Enterprise20 seat minimum × $20 + $1,773.98$2,173.98Pays for 10 unused seats, adds SCIM and audit logs

The API figure sits inside Anthropic's range: $150 to $250 per developer a month is $1,500 to $2,500 for ten people. Team looks cheapest because seat usage is prepaid capacity with a ceiling. If Standard seats run out often, usage credits close part of that gap at API rates. Team seats also carry a pooled API credit of $440 a month here (7 × $20 + 3 × $100, under the $500 cap), which only helps with scripted API work.

Should you pay for a subscription or the API?

Pay for a subscription once your monthly API estimate passes the plan's fee and the plan's limit holds your work. Stay on the API if your estimate is under $20, your usage comes in bursts, or the work runs unattended. At Anthropic's $13 average, the API passes Pro after 1.5 active days.

API cost by active days against Pro, Max and Ultra fees$0$100$200$30005101520Active days in the monthPro $20Max $100Ultra $200API at $13 a day$13 a day reaches $20 after 1.5 active days$13 a day reaches $100 after 7.7 active days$13 a day reaches $200 after 15.4 active daysAPI at $30 a day$30 a day reaches $20 after 0.7 active days$30 a day reaches $100 after 3.3 active days$30 a day reaches $200 after 6.7 active days$30 a day$13 a day
Break-even points. $13 is the average per active day in Anthropic's cost docs and $30 is the level 90% of users stay below. At $13 the API passes Pro after 1.5 active days, Max after 7.7 and Ultra after 15.4. At $30 it takes 0.7, 3.3 and 6.7.

Use these rules in order:

  • Pick the API if your estimate stays under $20 a month, you code in occasional bursts, or you want spend capped and reported through Console workspaces.
  • Pick Pro if you use Claude Code a few days a month or more, and you stop hitting limits when you stay on Sonnet 5.5.
  • Pick Max if Pro stops you most weeks, or you want Fable included, which Pro only offers through usage credits.
  • Pick Ultra if the 5-hour limit is what interrupts you, or you outgrow Max's weekly limit.
  • Pick an API key for CI and scheduled jobs if you want that work off your plan limits. A signed-in claude -p run draws on the plan.
  • Mix both if you hold Max or Ultra and run scripts, because the monthly API credits apply to key-based claude -p and Agent SDK runs.

A cheap way to decide is a week of your own work on a Console key. Run /usage, read the session cost, multiply your typical week by four and compare. Claude Code computes that figure locally at list price, so treat it as an estimate. On a subscription this test doesn't apply, since the Session block's dollar figure isn't part of your bill.

Our takeBudget the API from two numbers: Anthropic's $13 average day and its $30 marker, which 10% of users go past. Over 21 active days those come to $273 and $630, and the second is more than three times Ultra's fee. If you're on a key, set a workspace spend limit before any long agent run. If your first week lands nearer $30 a day than $13, a plan whose limit holds is the cheaper route by a wide margin.

Is Max or Ultra worth it for Claude Code?

Max and Ultra pay off when limits stop your work. They offer no saving per unit, because weekly usage costs the same $20 per Pro-sized allowance on all three plans. What you buy with an upgrade is a bigger allowance, included Fable, priority at busy times, monthly API credits and, on Ultra, no 5-hour limit.

PlanMonthly feeAllowance against ProFee per 1xExtra you get
Pro, monthly$201x$20Fable through usage credits only
Pro, annual$16.67 ($200 a year)1x$16.67The lowest rate here
Max$1005x weekly and per 5 hours$20Fable up to half the weekly limit, $100 API credits
Ultra$20010x weekly$20No 5-hour limit when verified, $200 API credits
Team Premium, annual$100 per seat6.25x per session$16 per sessionAdmin controls, 2 seat minimum

Pro, Max and Ultra multipliers are on Anthropic's Max plan and Ultra pages. The Fee per 1x column is our division. The Team row compares per-session allowance only, because Anthropic doesn't state Team's weekly limit as a multiple of Pro.

Ultra's real difference from two Max accounts' worth of usage is the missing session cap. Your account is verified automatically from factors such as payment history, and Anthropic says that if you see no Current session bar in Settings, you're verified. Until then a temporary limit applies.

Our takeTreat the upgrade path as a capacity decision. Both multipliers scale exactly with price, so nobody's saving money by moving from Pro to Ultra, and the case for Max rests on interruptions and Fable. At Anthropic's $13 average, Ultra's fee equals 15.4 active days at list price, so a developer who works most weekdays pays less on any plan whose limit holds than on the API. Max subscribers who also run scripts should claim the API credits, because that $100 returns the whole fee if they'd spend it anyway. For a two-person shop, a Premium seat on annual billing matches Max's price with 6.25x per-session usage against Max's 5x. We haven't measured how its weekly limit compares.

What happens when you hit your Claude Code limit?

When you hit a limit, Claude Code stops new work until the window resets, unless you upgrade, turn on usage credits at API rates or switch to a Console account. Pro and Max have a 5-hour session limit plus a weekly limit. Verified Ultra accounts have only the weekly one.

Anthropic's plan article and the cost docs fill in the detail:

  • Warnings come first. You'll see messages as you approach a limit.
  • A running step may finish. If you reach the 5-hour limit mid-response, Claude Code can show "Usage limit reached · wrapping up" and complete the step. That allowance is small, it's rolling out gradually, and it counts toward your weekly limit. On Pro it applies up to once per weekly period.
  • Switching models won't restore a session or weekly limit, since those are shared across all models. After a model-specific message such as "You've hit your Opus limit", moving to another model family with /model does keep you working.
  • Max and Ultra have a separate weekly limit for Fable, and usage credits can carry you past it.
  • You can wait it out. On current versions Claude Code can pause, then resume the stopped task on its own once the limit resets.
  • Context warnings aren't usage limits. An auto-compact warning means the conversation is close to being summarized.

What usage credits cost

Usage credits are prepaid, billed at standard API rates, and in most cases don't expire. You can set a monthly spend limit or turn on auto-reload. Going over your plan also changes caching: Claude Code drops the main conversation from a one-hour to a five-minute cache, which lowers the write rate but means a break longer than five minutes reprocesses your context. A one-hour promptCacheTtl setting restores the longer window.

Run /usage to see where you stand on any plan. Weekly limits reset at a fixed time assigned to your account, and your next reset is listed in Settings. To stop the API credit prompt appearing at all, Anthropic suggests signing out and logging in with only your plan credentials.

What do Claude Code Team and Enterprise cost?

Claude Code on Team costs $20 or $25 per Standard seat and $100 or $125 per Premium seat, for 2 to 150 people. Enterprise costs $20 per seat a month, billed annually with a 20 seat minimum, plus usage at API rates. Every Team seat includes Claude Code, and you can mix seat types.

Team seat usage is per person. One member reaching a limit doesn't affect anyone else, and limits can't be shared or moved between seats. Standard seats get 1.25x Pro's per-session allowance and Premium seats 6.25x, each with a weekly limit across all models. Owners can turn on usage credits so that members keep working past their seat.

Enterprise works differently. On usage-based Enterprise plans there are no per-seat usage limits and consumption bills at API rates, so the seat fee is the small part of the invoice. At Anthropic's $150 to $250 per developer a month, usage would run about 8 to 13 times the $20 seat. Older Enterprise plans can have different seat types, so check yours.

Admins on either plan set spend limits in the claude.ai admin console, at organization, group and member level on Enterprise. Anthropic's consumption guide recommends starting with group and per-user limits, because an organization-wide cap cuts off everyone at once. It also says no limit anywhere means no limit, which is worth checking before rollout. Its other advice is to release Claude Code in waves, starting with the teams most likely to use it well.

Agent teams are the line item to watch: Anthropic puts them at roughly 7 times a standard session's tokens when teammates work in plan mode.

What rate limits should a Claude Code team request?

Anthropic suggests 200,000 to 300,000 tokens per minute (TPM) per user for 1 to 5 users, falling step by step to 10,000 to 15,000 TPM per user above 500 users. Requests per minute (RPM) fall the same way, from 5 to 7 per user to 0.25 to 0.35. These are organization-level limits, so one developer can use more than their share while others are idle.

Team sizeTPM per userRPM per userExample teamTotal TPM to request
1 to 5 users200k to 300k5 to 75 users1M to 1.5M
5 to 20 users100k to 150k2.5 to 3.520 users2M to 3M
20 to 50 users50k to 75k1.25 to 1.7550 users2.5M to 3.75M
50 to 100 users25k to 35k0.62 to 0.87100 users2.5M to 3.5M
100 to 500 users15k to 20k0.37 to 0.47200 users3M to 4M
500+ users10k to 15k0.25 to 0.351,000 users10M to 15M

The per-user bands come from Anthropic's rate limit recommendations. We multiplied each band by the example team size to get the totals. Anthropic's own example is the 200-user row: 20,000 TPM each, or 4 million in total.

Suggested Claude Code tokens per minute per user, by team size1 to 5 users1 to 5 users: 200k to 300k tokens per minute per user200k to 300k5 to 20 users5 to 20 users: 100k to 150k tokens per minute per user100k to 150k20 to 50 users20 to 50 users: 50k to 75k tokens per minute per user50k to 75k50 to 100 users50 to 100 users: 25k to 35k tokens per minute per user25k to 35k100 to 500 users100 to 500 users: 15k to 20k tokens per minute per user15k to 20k500+ users500+ users: 10k to 15k tokens per minute per user10k to 15k
Suggested tokens per minute per user for Claude Code on Console organizations, in thousands, from Anthropic's cost docs. Each bar spans the low and high end of the band.

The totals tell the more useful story. Between 20 and 100 users, the organization total barely moves, staying between 2 and 3.75 million TPM in our examples, because Anthropic expects fewer people to run sessions at the same moment as a group grows. Going from 20 developers to 100 doesn't mean asking for five times the throughput.

Three details from the same docs page affect planning:

  • Shared limits. The first Console login creates a workspace called Claude Code, and its traffic counts toward your organization's overall API rate limits. You can't create API keys for it.
  • Protect production. Set a workspace rate limit on that workspace's Limits page to cap Claude Code's share, so a busy afternoon of coding can't starve your production API calls.
  • Plan for spikes. Live training sessions, where a whole group starts sessions at once, can need more TPM per user than the bands suggest.

Does Claude Code cost more on AWS, Google Cloud or Microsoft Foundry?

On Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry, Claude Code bills per token to your cloud account, with no flat plan fee. The cost difference sits in the endpoint: Bedrock and Google Cloud add a 10 percent premium for regional and multi-region endpoints over global ones, and US-only inference on Anthropic-run routes costs 1.1 times the standard rate.

RouteWho invoices youToken ratesLocation premium
Claude API (Console key)AnthropicAnthropic's list rates1.1x with inference_geo set to us
Claude Platform on AWSAWS Marketplace, in Claude Consumption Units at $0.01 eachSame as the Claude API1.1x for US-only inference
Claude in Microsoft FoundryAzure Marketplace, in Claude Consumption Units at $0.01 eachSame as the Claude API1.1x on US Data Zone Standard deployments
Amazon BedrockAWSBedrock's own price listRegional endpoints 10% over global
Claude on Google Cloud (Google managed)Google CloudGoogle Cloud's own price listRegional and multi-region 10% over global

Sources: the cloud platform section of Anthropic's API pricing page and the cloud providers note in the Claude Code cost docs. The 10 percent premium applies from the 4.5 generation onward (Sonnet 4.5, Haiku 4.5 and Opus 4.5) and to every later model.

On the two marketplace routes, Anthropic rates your tokens in dollars at the normal per-model rates, applies any negotiated discount, and converts the total to consumption units. Metering is hourly, invoices are monthly, and payment is in arrears with no prepaid credits. Your cloud bill shows one line item.

The practical differences are about control, not price. Spend controls for these routes live in your cloud provider's billing console, and Claude Code doesn't send metrics from your cloud back to Anthropic. If you already have a Bedrock private offer, Anthropic says to talk to your account team before switching to Claude Platform on AWS, because discounts can't be applied to usage from before the offer was accepted.

How do you cut Claude Code cost?

The biggest savings come from keeping context small, keeping the cache warm and matching the model to the job. Anthropic's docs say Sonnet handles most coding tasks well, and every Sonnet 5.5 rate is exactly half of Opus 5.5's, so that single change halves the API cost of the same tokens. On plans, the same habits make your limit last longer, because usage tracks tokens.

Blended input rate per million tokens by cache hit share on Opus 5.5$0$1$2$3$4$50%25%50%75%100%Cache hit share0% hit share: $5.00 per million input tokens0%: $5.0050% hit share: $2.60 per million input tokens50%: $2.6080% hit share: $1.16 per million input tokens80%: $1.1697% hit share: $0.34 per million input tokens97%: $0.34
The input rate you pay per million tokens on Opus 5.5 at each cache hit share, counting every miss as a 5-minute cache write. Maths only: a $0.20 hit and a $5 write from Anthropic's pricing page.

A few percentage points of cache hit share move the bill more than most people expect. Dropping from 97% to 80% more than triples the blended input rate on Opus 5.5, from $0.34 to $1.16 per million tokens. These tips come from Anthropic's cost and prompt caching docs, ordered by the rate gaps above: the cache first, then context size, then the multipliers.

Protect the cache

  • Pick your model at the start of a session. Each model has its own cache, so a mid-task /model switch reprocesses the whole conversation.
  • Turn fast mode on at the start too. The first time you enable it, you pay the uncached fast rate for all the context so far.
  • Run /compact at natural breaks, while the cache is warm. Compacting after a long break reprocesses the history as uncached input.
  • Use /rewind to abandon a wrong path. It returns to a prefix that's already cached.
  • On an API key, consider promptCacheTtl set to 1h if you leave sessions idle. Skip it for short bursts, since one-hour writes cost 2x input against 1.25x.

Shrink the context

  • Use /clear between unrelated tasks. It costs nothing, and stale context bills on every later message.
  • Keep CLAUDE.md under 200 lines and move workflow detail into skills, which load only when invoked.
  • Prefer CLI tools such as gh over MCP servers where both exist, and disable servers you aren't using through /mcp.
  • Add a hook that filters output before Claude reads it. Anthropic's example turns a 10,000-line log into just the error lines.
  • Write specific prompts. "Improve this codebase" triggers broad scanning, while naming the function and file doesn't.

Watch the expensive multipliers

  • Give subagents a smaller model, since their requests bill separately. Anthropic suggests model: haiku for simple ones.
  • Lower the level with /effort on simple tasks. Thinking tokens bill as output, and Fable, Opus 5.5, Sonnet 5.5 and Haiku 5.5 always think.
  • Keep agent teams small, use Sonnet for teammates and shut them down when they finish.
  • Check scheduled tasks and idle sessions. A session-scoped task fires on its interval and sends your full context each time.
  • Press f in the /usage breakdown on a plan. It lists behaviors behind 10% or more of your usage and can apply some fixes for you.
  • Use plan mode for complex work and press Escape early when Claude heads the wrong way. Rework is the hidden token cost.

Is Claude Code cheaper than Cursor, GitHub Copilot or Codex?

On sticker price, GitHub Copilot is cheapest: Copilot Pro is $10 a month against $20 for Claude Pro. Cursor's plans that can run third-party models start at $30, and Claude usage inside Cursor is billed on top at API list price. Codex comes with ChatGPT plans, the same way Claude Code comes with Claude plans. None of the three pages states its allowance in tokens, so price per hour of real work stays a guess.

Monthly price of individual plans: Claude, Cursor and GitHub CopilotCopilot ProCopilot Pro: $10 a month$10Claude ProClaude Pro: $20 a month$20Cursor PremiumCursor Premium: $30 a month$30Copilot Pro+Copilot Pro+: $39 a month$39Claude MaxClaude Max: $100 a month$100Cursor SuperCursor Super: $100 a month$100Copilot MaxCopilot Max: $100 a month$100Claude UltraClaude Ultra: $200 a month$200Cursor UltraCursor Ultra: $200 a month$200
Monthly price in US dollars of each vendor's paid individual plans, from the Claude, Cursor and GitHub Copilot pricing pages. Cursor Plus at $8 is left out because it runs Grok models only.
ToolPaid individual plansHow Claude models are paid for
Claude CodePro $20 ($17 annual), Max $100, Ultra $200Inside the plan's usage pool, then usage credits at API rates
CursorPlus $8, Premium $30, Super $100, Ultra $200; Teams from $30 a userNot in the monthly price; billed separately by usage at API list price
GitHub CopilotPro $10, Pro+ $39, Max $100From monthly AI credits: $15 on Pro, $70 on Pro+, $200 on Max
CodexPart of ChatGPT plansNot applicable: Codex runs OpenAI models

What each pricing page says, in short:

  • Cursor. The plans now bundle Grok and X features alongside the editor. Plus at $8 is limited to Grok models, and Premium at $30 is the first tier with third-party models, which includes Claude. That usage isn't covered by the monthly fee, so Opus 5.5 in Cursor costs the plan price plus Anthropic's list rates.
  • GitHub Copilot. Free covers 2,000 completions a month with Haiku 4.5 and other small models. Agent mode, code review and Copilot CLI spend GitHub AI Credits, and Opus is listed from Pro+. The Pro plan card lists third-party agents, Claude Code and Codex, while the comparison table puts delegating to the Claude and Codex agents (a preview) on Pro+ and Max only. Check which one applies to your account before you buy Pro for that.
  • Codex. OpenAI's coding agent has no plan of its own. The ChatGPT pricing page lists limited Codex access on Free and Go, expanded usage on Plus and longer Codex sessions on Pro.

Our take: if Claude Code is the tool you want, Claude's own plans are the direct route. Cursor adds its fee on top of Claude's token rates, and Copilot spends one credit pool across every model you pick. Copilot Pro+ makes sense when you already live in GitHub and want Claude as one model among several.

How accurate are the top Claude Code pricing guides? Our audit of 10 pages

Plan prices in the top guides are mostly right, while the $200 tier and API rates are not. Across 130 scored claims on 10 ranking pages, 75 were correct, 27 were wrong or out of date and 28 were missing. One page was correct on all 13 claims, and three had no errors.

Our testWe ran this audit on November 5, 2026. We read Google's US results for "claude code pricing" with personalization off and took the first 10 third-party guides in ranking order, spread over the first two result pages. We skipped Anthropic's own docs and one forum thread. We loaded each page in Chrome, saved the visible text and scored 13 claims against Anthropic's pricing, help and docs pages read the same day. A claim scored correct if the page stated the live figure, wrong if it gave a different or superseded one, and not stated if it was absent. Prices from a page about an older model count as out of date.
All 130 scored claims in the audit of 10 ranking pagesCorrect: 75 of 130 claims (57.7%)Wrong or out of date: 27 of 130 claims (20.8%)Not stated: 28 of 130 claims (21.5%)130scored claimsCorrect: 75 (57.7%)Wrong or out of date: 27 (20.8%)Not stated: 28 (21.5%)
All 130 claims across the 10 pages, scored against Anthropic's live pages. Fewer than six in ten were correct.
Audit of 10 ranking pages against Anthropic pages, by claimCorrectWrong or out of dateNot statedPro $20 a monthPro $20 a month: 9 of 10 pages correctPro $20 a month: 1 of 10 pages not statedPro annual ($17 a month, $200 a year)Pro annual ($17 a month, $200 a year): 8 of 10 pages correctPro annual ($17 a month, $200 a year): 2 of 10 pages not statedMax $100 a monthMax $100 a month: 9 of 10 pages correctMax $100 a month: 1 of 10 pages not stated$200 tier price$200 tier price: 9 of 10 pages correct$200 tier price: 1 of 10 pages not statedTeam Standard $20 or $25Team Standard $20 or $25: 8 of 10 pages correctTeam Standard $20 or $25: 1 of 10 pages wrong or out of dateTeam Standard $20 or $25: 1 of 10 pages not statedTeam Premium $100 or $125Team Premium $100 or $125: 8 of 10 pages correctTeam Premium $100 or $125: 2 of 10 pages not statedEnterprise $20 a seat plus API usageEnterprise $20 a seat plus API usage: 6 of 10 pages correctEnterprise $20 a seat plus API usage: 2 of 10 pages wrong or out of dateEnterprise $20 a seat plus API usage: 2 of 10 pages not stated$200 tier named Ultra$200 tier named Ultra: 3 of 10 pages correct$200 tier named Ultra: 6 of 10 pages wrong or out of date$200 tier named Ultra: 1 of 10 pages not statedUltra is 10x Pro weeklyUltra is 10x Pro weekly: 2 of 10 pages correctUltra is 10x Pro weekly: 5 of 10 pages wrong or out of dateUltra is 10x Pro weekly: 3 of 10 pages not statedOpus 5.5 at $4 and $20Opus 5.5 at $4 and $20: 4 of 10 pages correctOpus 5.5 at $4 and $20: 4 of 10 pages wrong or out of dateOpus 5.5 at $4 and $20: 2 of 10 pages not statedSonnet 5.5 at $2 and $10Sonnet 5.5 at $2 and $10: 4 of 10 pages correctSonnet 5.5 at $2 and $10: 4 of 10 pages wrong or out of dateSonnet 5.5 at $2 and $10: 2 of 10 pages not statedSonnet 5.5 cache hit at $0.10Sonnet 5.5 cache hit at $0.10: 2 of 10 pages correctSonnet 5.5 cache hit at $0.10: 5 of 10 pages wrong or out of dateSonnet 5.5 cache hit at $0.10: 3 of 10 pages not statedAPI credits excluded from interactive Claude CodeAPI credits excluded from interactive Claude Code: 3 of 10 pages correctAPI credits excluded from interactive Claude Code: 7 of 10 pages not stated
Our audit of the 10 ranking third-party pages for "claude code pricing", scored against Anthropic's live pages. Each bar is 10 pages. Plan prices hold up. The $200 tier and current API rates do not.
ClaimCorrectWrong or out of dateNot stated
Pro $20 a month901
Pro annual ($17 a month, $200 a year)802
Max $100 a month901
$200 tier price901
Team Standard $20 or $25811
Team Premium $100 or $125802
Enterprise $20 a seat plus API usage622
$200 tier named Ultra361
Ultra is 10x Pro weekly253
Opus 5.5 at $4 and $20442
Sonnet 5.5 at $2 and $10442
Sonnet 5.5 cache hit at $0.10253
API credits excluded from interactive Claude Code307

Five of the 10 pages got all seven plan price points right. None of the 10 had a working cost calculator on the page, and the only break-even figure we found was an unsourced count of sessions. Google's AI Overview for the same query also labelled the $200 tier "Max (20x) / Ultra", so the older name is reaching answers as well as blog posts.

Our takeSearch for a plan's price and you'll probably get it right. Search for what the plan gives you and you may well not, since 5 of the 10 pages told readers the $200 tier delivers 20x Pro when Anthropic's pages say 10x a week. A buyer comparing Max and Ultra on those pages sees four times the usage for twice the price, and Anthropic's figures make it two times for twice the price. Before you upgrade, read the multiplier on Anthropic's own plan page, and treat any guide that still says Max 20x as suspect on the rest.

What do most Claude Code pricing guides get wrong?

The most common errors are an old plan name, an old usage multiplier and old model rates, each left over from before Anthropic's recent plan and model changes. These are the mistakes we found in the audit, stated against Anthropic's live pages. Check any guide you're relying on for them.

  • "Max 20x at $200." That plan is now Ultra. Existing Max 20x subscribers moved over automatically at the same price.
  • "20x Pro usage." Ultra is 10x Pro every week, with no 5-hour limit for verified accounts.
  • Listing Opus 4.8 or Sonnet 4.6 as the current rates. Opus 5.5 is $4 and $20, and Sonnet 5.5 is $2 and $10. Older tables overstate what current models cost.
  • A $0.20 cache hit on Sonnet 5.5. It's $0.10. Cache reads on Opus 5.5 and Sonnet 5.5 are 5% of input, and on Fable 5.1 they're 2.5%, so the old "10% of input" rule no longer covers every model.
  • "Opus costs 1.7 times Sonnet." On the current models it's exactly 2 times, at every rate.
  • "Standard Team seats don't include Claude Code." Every Team seat includes it.
  • "Team needs five people." The minimum is two.
  • "Enterprise is quote only." Anthropic publishes $20 per seat plus usage, with a 20 seat minimum. Sales can still tailor a quote.
  • A fixed token count per 5-hour window. Anthropic publishes no such number and says there's no fixed message count, since usage depends on model, conversation length and files.
  • Counting Max's API credits toward Claude Code. They don't apply to interactive sessions, and 7 of the 10 pages we read didn't mention that.
  • Estimating from input and output rates only. In our full-time developer scenario, output is $27.30 of $272.92, and cache reads and writes are the rest.

Frequently asked questions

Is Claude Code free to use?

No. Installing Claude Code costs nothing, but running it needs a paid Claude plan or a Console account that pays per token. Anthropic's Free plan doesn't include Claude Code. The cheapest subscription route is Pro at $20 a month, or $17 a month on annual billing. A light user can spend less than that on the API.

Is the $20 Claude Code plan worth it?

Pro is worth $20 if you use Claude Code on more than a day or two each month, because at Anthropic's $13 per active day average the API passes $20 after 1.5 active days. It suits lighter work on Sonnet 5.5. If limits stop you most weeks, move up. If you code only occasionally, the API may cost less.

Is Claude Code costly?

It depends on the route. On a plan the cost is fixed at $20 to $200 a month. Across enterprise deployments, Anthropic reports around $13 a developer on an active day and $150 to $250 a month. Anthropic also says 90% of users stay below $30 on an active day, and heavy agent work on the API can pass that, so set a spend limit first.

Is Claude worth $100 a month?

Max at $100 is worth it if Pro's limits interrupt your work, or if you want Fable included for up to half your weekly limit. It gives 5x Pro's usage every 5 hours and every week, at the same $20 per Pro-sized allowance. It also adds $100 in API credits, which don't work in interactive Claude Code.

Is Claude Code really worth it?

Claude Code is worth paying for if its time savings beat a known cost, which is simple to test. Run the calculator with your hours, try one month of Pro, and read /usage to see where the tokens go. Stay if the work justifies the fee. Compare it with your current tool on real tasks before moving a team.

Can you use Claude Code through AWS Bedrock?

Yes. Claude Code runs on Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry, and bills per token to your cloud account with no plan fee. Bedrock's regional endpoints cost 10 percent more than global ones for the 4.5 generation and later. Spend limits sit in your cloud billing console, not the Claude Console.

Is Claude Code cheaper than GitHub Copilot or Cursor?

Copilot Pro is cheaper on sticker price at $10 a month against $20 for Claude Pro. Cursor's plans with third-party models start at $30 and bill Claude usage on top at API list price. Claude's own plans include Claude Code usage in the fee, so compare the work you get done, not the price alone.

What rate limits should a Claude Code team set?

Anthropic suggests 200,000 to 300,000 tokens per minute per user for 1 to 5 users, 100,000 to 150,000 for 5 to 20, and down to 10,000 to 15,000 above 500. The limits apply organization-wide, so a team of 200 at 20,000 each would request 4 million tokens per minute in total.

Cite this page Marksman, Robin. "Claude Code Pricing: What Each Plan and the API Really Cost." AI Ranked, November 5, 2026. https://airanked.ai/guides/claude-code-pricing