Claude Code: Subscription vs API
Break-even calculator
Best fit
Max
$100/mo
Model assumptions & API credit exclusions
Illustrative rate: ~1.4M input and ~0.14M output tokens per active coding hour.
Your illustrative API workload (~$153.41/mo) exceeds Max's $100 fixed subscription. Max delivers 5x Pro usage every 5 hours and every week, plus Fable 5.2 up to half your weekly limit.
Max ($100/mo) and Ultra ($200/mo) promotional API credits never apply to Claude Code or extra app usage.
Verified API token rates
| Model | Input / MTok | Output / MTok | Cache Hit | Batch API | Long Context |
|---|---|---|---|---|---|
| Claude Fable 5.2 | $8 | $40 | $0.2 (0.025x) | 50% off | Flat to 1M |
| Claude Opus 5.5 | $4 | $20 | $0.2 (0.05x) | 50% off | Flat to 1M |
| Claude Sonnet 5.5 | $2 | $10 | $0.1 (0.05x) | 50% off | Flat to 1M |
| Claude Haiku 5.5 | $0.1 | $0.5 | $0.01 (0.1x) | 50% off | Step >100K ($0.5/$2.5) |
Context & cost hygiene
Frequently asked questions
Is Claude Code included in the $20 Pro plan?
Yes. Claude Code is included on Pro ($20/month or $200/year), Max ($100/month), Ultra ($200/month), Team, and Enterprise plans. However, Claude Code shares the same rolling 5-hour and weekly usage pool as your web, desktop, and mobile chats.
Can I use the $100 Max or $200 Ultra monthly API credits to pay for Claude Code?
No. Anthropic explicitly excludes Claude Code and extra Claude app usage from subscriber promotional API credits. If you run Claude Code through a Console API key instead of your subscription pool, you pay standard API rates out of purchased Console credits.
When is paying per-token via API cheaper than a Max or Ultra subscription?
Occasional coding (for example, a few hours a week on Sonnet 5.5 with high prompt cache hit rates) can stay under $20 to $60/month on API billing. Full-time daily agentic coding across large repositories, especially with Opus 5.5 or Fable 5.2, frequently exceeds $100 to $200 in raw API token value, where Max ($100) or Ultra ($200) caps fixed monthly spend.
What is the biggest difference between Max ($100) and Ultra ($200) for coding?
Max gives 5x Pro capacity every 5 hours and every week, so long uninterrupted coding sprints can still pause at the 5-hour window. Ultra removes the 5-hour limit for verified accounts and doubles the weekly allowance to 10x Pro, which matters most during multi-hour refactors and heavy workdays.
Verified 2026-11-25Sources:Anthropic PricingClaude API PricingClaude API Credit Terms