Claude.ai's flat-rate plans and the metered API are priced completely differently. Here's how to tell which one is cheaper for how you actually use it.
| Plan | Price | What you get |
|---|---|---|
| Free | $0 | Limited daily messages, Claude.ai only |
| Pro | $20/mo | ~5x Free's usage, Claude.ai + Claude Code |
| Max 5x | $100/mo | ~5x Pro's usage limits |
| Max 20x | $200/mo | ~20x Pro's usage limits |
Subscription plans are flat monthly rates with usage caps (resetting on a rolling window), not metered per token. Prices as of 2026-07 — confirm current numbers at claude.com/pricing before budgeting.
The API bills per token, with no monthly minimum and no usage cap — you pay for exactly what you use:
| Model | Input / 1M tok | Output / 1M tok |
|---|---|---|
| Claude Opus 4.8 | $5.00 | $25.00 |
| Claude Sonnet 5 | $3.00 | $15.00 |
| Claude Haiku 4.5 | $1.00 | $5.00 |
These solve two different problems, so the right pick depends on your usage pattern, not just price:
Pick a subscription (Pro/Max) if you're a single person chatting or coding interactively in Claude.ai / Claude Code and want predictable monthly cost with no risk of a surprise bill. A heavy daily Claude Code user can easily burn the equivalent of $150-300/mo in raw API spend on Sonnet — Max 20x's flat $200 caps that risk.
Pick the API if you're building a product, running batch jobs, or need more than one person/process hitting Claude concurrently. Subscriptions are single-seat and rate-limited for interactive use; the API has no seat limit and scales to whatever your infra needs, at the cost of no cap on spend. It's also the only option if you need programmatic access at all — subscriptions don't expose raw API access beyond Claude Code's own usage.
Rough breakeven: if you're doing sustained heavy usage (multiple hours a day of Claude Code or equivalent) as a single user, Max 20x's $200 flat rate usually beats metered API cost. For anything programmatic, bursty, or multi-seat, the API wins because you're not paying for idle capacity between sessions. Use the calculator to estimate your own API-equivalent monthly cost from real token counts, or see Claude Code cost specifically if that's your use case. Running bulk/async workloads instead of interactive chat? See Batch API pricing for another 50% off.