Research · Claude Code Pricing · Verified 5 Dec 2026

Claude Code pricing. What each tier buys and when API wins.

Every live Anthropic subscription tier, official enterprise spend benchmarks, and real 45-turn session break-even math against pay-as-you-go APIs.

01

Claude Code plans and seats (December 2026)

Claude Code ships in two billing modes: flat subscriptions through claude.com/pricing (with shared usage caps across web, desktop, IDE, and terminal) or pay-as-you-go API tokens. Older guides still cite "Max 20x" - Anthropic's live top individual tier is now Ultra ($200/mo) with 10x Pro weekly usage and no 5-hour cap for verified accounts.

PlanPrice (USD)Claude CodeUsage capAPI creditsBest for
Free
Price$0
Claude CodeNo
Usage capChat only (web, desktop, mobile)
API creditsNone
Best forTesting Claude chat
Pro
Price$20/mo ($17/mo annual)
Claude CodeIncluded
Usage cap5-hour + weekly cap (shared w/ chat & IDE)
API creditsOptional PAYG credits
Best forLight daily coding, short sessions
Max
Price$100/mo
Claude CodeIncluded
Usage cap5x Pro every 5 hours & weekly
API credits$100/mo Claude API credits
Best forAll-day individual coding
Ultra
Price$200/mo
Claude CodeIncluded
Usage capNo 5-hour cap (verified); 10x Pro weekly
API credits$200/mo Claude API credits
Best forLong uninterrupted sprints (replaced Max 20x)
Team
Price$20-$25 Std / $100-$125 Prem
Claude CodeIncluded
Usage capStandard > Pro; Premium 5x Standard
API creditsUp to $500/mo pooled
Best for2-150 seats, SSO, no training default
Enterprise
Price$20/seat/mo annual + API
Claude CodeIncluded
Usage capAdmin spend limits (20-seat min)
API creditsBilled at API rates
Best forSCIM, audit logs, custom retention

Source: claude.com/pricing (read 5 Dec 2026, excl. tax). Max ($100) and Ultra ($200) include monthly Claude Platform API credits and Fable up to half the weekly limit.

02

What $20 buys on real Claude Code sessions

List output rates mislead you in a coding agent. Every turn resends your system prompt, tool schemas, and growing chat prefix. In one real 14-minute, 45-request Claude Code session of ours (usage counters only: 26k tokens on turn 1 growing to 188k on turn 45), 96.5% of 4.87M input tokens came from prompt cache (171k new input, 82k output).

Plate 1 · What $20 buys

  • One 14-minute session
Claude Opus 5.5$3.44 a session5.8Claude Sonnet 5.5$1.72 a session11.6Cyber v1$0.21 a session96.5Claude Opus 5.5$3.44 a session5.8Claude Sonnet 5.5$1.72 a session11.6Cyber v1$0.21 a session96.5
The same real Claude Code session, 45 requests, priced on each model. List prices read 5 December 2026, weekday rates; 96% of the session's input was read from cache.
Model / BackendInputCache writeCache readOutput45-req / $20
Claude Fable 5.2Anthropic pricing
Input$8.00
Cache write$10.00
Cache read$0.20
Output$40.00
45-req / $20$5.93 · 3.4 runs
Claude Opus 5.5Anthropic pricing
Input$4.00
Cache write$5.00
Cache read$0.20
Output$20.00
45-req / $20$3.44 · 5.8 runs
Claude Sonnet 5.5Anthropic pricing
Input$2.00
Cache write$2.50
Cache read$0.10
Output$10.00
45-req / $20$1.72 · 11.6 runs
Claude Haiku 5.5 (<=100k)Anthropic pricing
Input$0.10
Cache write$0.125
Cache read$0.01
Output$0.50
45-req / $205x over 100k · Varies w/ length
DeepSeek V4.1 FlashDeepSeek pricing (peak)
Input$0.30
Cache write$0.30
Cache read$0.006
Output$1.20
45-req / $20$0.18 · 111 runs
Input$0.33
Cache write$0.33
Cache read$0.009
Output$1.32
45-req / $20$0.21 ($0.10 Sat-Sun) · 96.5 runs (193 Sat-Sun)

Rates per 1M tokens (Anthropic 5m cache write; 1h cache writes cost 2x input). Fixed token counts across backends - Anthropic notes Claude 4.7+ counts ~30% more tokens for the same text. Haiku 5.5 jumps 5x over 100k input; Cyber v1 bills cached reads over 262k at 4x (session peaked at 188k).

03

Subscription vs API break-even

Across enterprise teams on the API, Anthropic's own cost docs put average spend at ~$13 per developer per active day and $150-$250 per month (with 90% under $30/day). Plotting our measured 45-request session against flat subscription tiers shows the exact break-even points:

Plate 2 · A month of sessions

  • Opus 5.5 API
  • Sonnet 5.5 API
  • Cyber v1 API
  • Plan price
Pro $20Max $100Ultra $200Opus 5.5 · $3.44 a sessionSonnet 5.5 · $1.72Cyber v1 · $0.21 a session0306090120sessionsPro $20Max $100Ultra $200Opus 5.5 · $3.44 a sessionSonnet 5.5 · $1.72 a sessionCyber v1 · $0.21 a session0120 sessions
On the API, Opus 5.5 passes Pro's $20 after 5.8 sessions and Max's $100 after 29.1. Cyber v1 passes $20 after 96.5. Each step is our same 45-request session. A plan's dashed line holds only while you stay under its 5-hour and weekly limits, which Anthropic does not publish in tokens.
Pro ($20/mo) crosses at 6 Opus / 12 Sonnet runs
If you only run Claude Code a few times a month, PAYG API costs less than Pro. Past 6 heavy Opus sessions ($20.64) or 12 Sonnet sessions ($20.64), Pro wins on raw dollars until you hit a 5-hour wall.
Max ($100) crosses at 29 / 58 · Ultra ($200) at 58 / 116
Heavy daily Claude-model users save money on Max or Ultra compared to direct Anthropic API billing ($344/mo for 100 Opus sessions, $172/mo for 100 Sonnet sessions). Their $100 and $200 monthly API credits don't help here: Anthropic says they don't cover interactive Claude Code.
Cyber v1 stays near Pro's price at 100 sessions/mo
At $0.21 weekday ($0.10 Sat-Sun), 100 heavy sessions on Cyber v1 total ~$21/month - roughly Pro's price with zero 5-hour limits, zero weekly caps, memory-only ZDR, and 1/100 security refusals. Test your own turn count in our agent cost calculator.

04

How 5-hour and weekly limits work

Anthropic does not publish fixed prompt or token counts for subscription caps - usage depends on model choice, context length, and repo size. Four concrete rules from Anthropic's subscription docs govern when you get stopped:

Two rolling clocks on Pro & Max
Pro and Max enforce both a 5-hour session cap and a weekly cap, shared across Claude web, desktop, IDE extensions, and Claude Code. Max gives 5x Pro capacity on both clocks.
Ultra drops the 5-hour cap (verified accounts)
Ultra ($200/mo) gives 10x Pro weekly capacity and removes the 5-hour session ceiling for verified accounts, plus a separate weekly allowance for Fable.
Wrap-up allowance vs hard stop
When a 5-hour limit hits mid-response, Claude Code allows a short capped wrap-up (once per week on Pro, each 5-hour window on Max) before blocking new prompts until reset or optional PAYG usage credits kick in.
The ANTHROPIC_API_KEY trap
If ANTHROPIC_API_KEY is exported in your environment, Claude Code silently ignores your Pro/Max/Ultra subscription and bills API tokens. Unset it and run /login to use your plan.

05

Cut your Claude Code bill without leaving the CLI

Whether you stay on Anthropic or add a cheaper backend for high-volume and security loops, four habits eliminate most wasted spend:

1. Watch /usage and /clear between tasks
Run /usage to check prompt cache hit rate and cache rebuilds. Starting unrelated work in an old 150k-token thread resends dead history on every single turn.
2. Trim CLAUDE.md and idle MCP servers
Every tool schema and instruction line rides on request 1 through request 45. Cutting 15 KB of boilerplate saves tokens across the entire session.
3. Keep subscriptions for Opus; burst overflow to PAYG
Keep your Pro/Max plan for hardest architecture work, and point a shell alias at DeepSeek V4.1 Flash / Cyber v1 for high-turn loops, pentesting, or when your 5-hour window locks.

Five env vars run the exact same Claude Code CLI on Cyber v1 ($0.009/M cached input, 1M context, 64 concurrent, $5 PAYG card or crypto, no KYC):

Cyber v1 · Anthropic Messages (no /v1)
export ANTHROPIC_BASE_URL=https://api.nodecode.ai
export ANTHROPIC_AUTH_TOKEN=sk-nc-...
export ANTHROPIC_MODEL=nodecode-cyber-v1
export CLAUDE_CODE_MAX_CONTEXT_TOKENS=1048576
export CLAUDE_CODE_AUTO_MODE_SERVER=0
claude

Full walkthrough, DeepSeek direct comparison, and live security captures: Claude Code + DeepSeek · Cyber v1 quickstart · OpenRouter ZDR alternative.

06

Questions

No. Anthropic's Free plan ($0) covers chat on web, desktop, and mobile only. Claude Code requires at least Claude Pro ($20/month, or $17/month billed $200 annually), a Team or Enterprise seat, or an API key billed per token.

Anthropic now lists two top individual tiers on claude.com/pricing: Max ($100/month, 5x Pro usage every 5 hours and weekly, plus $100/month in API credits) and Ultra ($200/month, 10x Pro weekly usage, no 5-hour limit for verified accounts, plus $200/month in API credits).

Anthropic's enterprise cost documentation reports an average of ~$13 per developer per active day and $150-$250 per developer per month, with 90% of users under $30 per active day. Actual spend tracks cache read rates closely because long sessions resend 90%+ cached context on every turn.

On our measured 45-request session (4.87M input tokens, 96.5% cached), Opus 5.5 API costs $3.44 and Sonnet 5.5 API costs $1.72. Pro ($20) breaks even at 6 Opus or 12 Sonnet sessions per month, Max ($100) at 29 Opus or 58 Sonnet, and Ultra ($200) at 58 Opus or 116 Sonnet - as long as you stay inside each tier's rolling caps.

Per Anthropic's support docs, if ANTHROPIC_API_KEY is exported in your shell, Claude Code authenticates with that key and bills per token instead of your subscription. Unset ANTHROPIC_API_KEY and run /login to switch back to your plan.

Use pay-as-you-go API billing instead of a capped plan. On Anthropic's API that runs $172-$344 for 100 heavy sessions/month; pointing ANTHROPIC_BASE_URL at api.nodecode.ai runs the same Claude Code CLI on Cyber v1 for ~$21/month across 100 sessions ($0.009/M cached weekday, half off Sat-Sun) with no 5-hour or weekly caps, memory-only ZDR, and 1/100 security refusals.