Claude Code Pricing in 2026: Every Plan, Limit, and Hidden Cost Explained
AI Infrastructure Lead
⚡ Key Takeaways
- Claude Code has no separate price — it's included in Pro ($20/mo), Max 5x ($100), Max 20x ($200), and Team plans, or billed per token on the API.
- Limits are two-layered: rolling 5-hour session windows plus weekly caps. Max plans add a second model-specific weekly limit.
- API math: Opus 4.8 costs $5/$25 per million tokens, Sonnet 5 is $3/$15 ($2/$10 intro until Aug 31, 2026). Heavy interactive use gets expensive fast.
- Rule of thumb: above ~$7/day in API tokens, a Max subscription is cheaper.
Claude Code pricing confuses almost everyone at first, because the answer to "how much does it cost?" is "which of five ways do you want to pay?" There's no Claude Code subscription — the terminal agent is bundled into Claude's paid plans, from the $20 Pro tier up to $200 Max, plus a completely separate pay-per-token API route. We've run Claude Code daily on Pro, Max, and raw API billing, and this guide breaks down what each actually costs, where the limits bite, and the crossover point where a subscription beats the meter.
How Claude Code pricing actually works
Two payment models exist side by side. Subscriptions (Pro, Max, Team, Enterprise) give you a flat monthly price with usage limits — you log Claude Code in with your Claude account and it draws from your plan's allowance. API billing connects Claude Code to a developer API key instead: no monthly fee, no session limits, you pay for every token in and out. Everything else in this article is just the detail of those two models.
Every plan compared
Pro ($20/mo): the honest entry point
Pro costs $20/month, or $17/month billed annually ($200 upfront), and includes Claude Code alongside the chat app, Cowork, projects, and research. For learning Claude Code, weekend projects, and a few focused sessions a week, Pro is genuinely enough — we shipped real features on it for weeks.
The catch is what happens when you get hooked. Code with it several hours a day and you'll start hitting the session window mid-flow, then discover the weekly cap with two days left in the week. Pro is sized for light-to-moderate use; daily professional coding will outgrow it in the first month. That's not a criticism — it's the tier working as designed, and the upgrade prompt writes itself.
Max 5x ($100) vs Max 20x ($200)
The Max plans are the same product with different fuel tanks: Max 5x gives you 5× Pro's usage for $100/month; Max 20x gives 20× for $200/month. Both add higher output limits, early access to new features, and priority access when traffic spikes — which matters more than it sounds during model launch weeks.
In practice: Max 5x comfortably covers a few hours of daily hands-on coding. Max 20x is for people whose primary dev environment is Claude Code — all-day sessions, multiple parallel terminals, agent teams grinding through backlogs. If you're running the kind of multi-agent setups we cover in our parallel agent teams guide, you want 20x.
The usage limits, decoded
This is the part nobody explains clearly, so here it is. Claude Code usage is measured on rolling 5-hour session windows — your usage inside a window counts against that window, and it resets on a rolling basis rather than at midnight. On top of that, paid plans carry weekly limits. Max plans actually have two weekly caps: one across all models, and a second model-specific cap, so you can't burn the entire week's budget on the most expensive model in one binge.
Practical tip: heavy Opus usage drains limits several times faster than Sonnet. If you're bumping into caps on Pro or Max 5x, switching routine work to Sonnet-tier models stretches the same subscription dramatically — save Opus for the problems that deserve it.
Nothing rolls over, and Anthropic adjusts the exact token numbers behind these limits over time, which is why we describe the structure rather than quote figures that will be stale in a month. The structure has been stable: sessions + weekly caps, multipliers by tier.
API pricing: the pay-per-token route
Point Claude Code at an API key and the meter replaces the subscription. Current rates per million tokens:
| Model | Input / MTok | Output / MTok | Notes |
|---|---|---|---|
| Claude Opus 4.8 | $5.00 | $25.00 | Claude Code's most capable tier |
| Claude Sonnet 5 | $3.00 ($2 intro) | $15.00 ($10 intro) | Intro pricing through Aug 31, 2026 |
| Claude Haiku 4.5 | $1.00 | $5.00 | Fast, cheap subtasks |
Those numbers look small until you watch an agentic session run. Claude Code re-reads files, executes tools, and thinks between steps — a serious afternoon of Opus-tier work moves millions of tokens. Prompt caching (cache reads bill at roughly a tenth of input price) softens this a lot, but heavy interactive API users still routinely see $10–50+ per day. That's the arithmetic behind our rule of thumb: past about $7/day, a Max plan is cheaper — the flat rate absorbs what the meter would charge.
Where the API genuinely wins: automation. CI pipelines, scheduled jobs, headless agents, and spiky workloads that would waste 90% of a subscription. It scales to zero when you're not using it, and it has no session windows at all.
Team and Enterprise
Team plans include Claude Code in every seat: standard seats at $25/month ($20 annual) and premium seats at $125/month ($100 annual) with 5× the usage. The underrated detail is that you can mix seat types — put your two heaviest Claude Code users on premium and everyone else on standard, instead of paying premium across the board. Enterprise adds SSO/SCIM, audit logs, compliance controls, and usage billed at API rates on top of seat pricing — that one's a sales conversation, not a checkout page.
Which plan should you pick?
Our honest advice after paying for all of these: start on Pro. You'll know within two weeks whether you're a Pro-sized user or you're slamming into limits — and if it's the latter, Max 5x fixes it for most people. Jump straight to Max 20x only if you already know Claude Code will be your primary environment. Keep an API key on the side for automation, not for interactive work. And before you pay for anything, it's worth knowing the tricks in our guide to using Claude Code free — plus how to install Claude Code properly in the first place.
Frequently Asked Questions
Recommended AI Tools
played.fm
Sell your music and keep 100%: played.fm is a direct-to-fan store + sync marketplace with 0% commission, no gatekeepers, and no bans — a strong fit for AI musicians.
View Review →OpenCode
The open-source AI coding agent: terminal-first TUI, 75+ model providers, LSP context, subagents, and privacy-first design. Free software, ~180K GitHub stars.
View Review →Exa
The neural web search API for AI agents: embeddings-based retrieval, cited highlights, sub-180ms latency, and an MCP server. 20,000 free requests/month.
View Review →Google Antigravity
Google's agent-first IDE: run a fleet of AI agents from a Manager surface, on Gemini 3 Pro, Claude Sonnet 4.5, or OpenAI models. Free in public preview.
View Review →