Build This Now
Build This Now
Qu'est-ce que le code Claude ?Installer Claude CodeL'installateur natif de Claude CodeTon premier projet Claude Code
Claude Code v2.1.122 Release NotesBonnes pratiques Claude CodeMeilleures pratiques pour Claude Opus 4.7Claude Code sur un VPSIntégration GitRevue de code avec Claude CodeLes Worktrees avec Claude CodeClaude Code à distanceClaude Code ChannelsTâches planifiées avec Claude CodePermissions Claude CodeLe mode auto de Claude CodeAdding Stripe Payments With Claude CodeFeedback LoopsWorkflows TodoGestion des tâches dans Claude CodeTemplates de projetTarification et utilisation des tokens Claude CodeClaude Code Pricing: What You'll Actually PayClaude Code Ultra ReviewBuilding a Next.js App With Claude CodeClaude Code With Supabase: Database, Auth, RLS
speedy_devvkoen_salo
Blog/Handbook/Workflow/Claude Code Pricing: What You'll Actually Pay

Claude Code Pricing: What You'll Actually Pay

Claude Code is free to install. What you pay depends on your plan. A plain-English breakdown of every tier, real usage costs, and which plan fits your workflow.

Arrêtez de configurer. Commencez à construire.

Templates SaaS avec orchestration IA.

Published May 3, 20267 min readHandbook hubWorkflow index

Problem: The pricing page lists five tiers but says nothing about what you will actually spend. Most developers search "how much does Claude Code cost," read the table, and still don't know which box to check.

Quick Win: Most solo developers start on Pro at $20/month. If sessions hit the usage ceiling before your work is done, Max 5x at $100/month is the right next step.

The Base Cost

Claude Code itself is free to install. There is no charge for the tool.

The cost is the Claude subscription it runs on. Without at least a Pro plan, the terminal integration is not available. Free accounts have no Claude Code access at all.

That distinction matters because a lot of search results frame Claude Code as if it has its own pricing. It doesn't. You are buying access to Claude, and Claude Code comes with the right subscription tier.

Plan Comparison

Five tiers are available as of May 2026:

PlanPriceClaude CodeUsage level
Free$0/moNo—
Pro$20/mo ($17/mo annual)YesBaseline
Max 5x$100/moYes5x Pro
Max 20x$200/moYes20x Pro
Team$25/seat/mo ($20 annual)Yes, all seatsPer-seat Pro baseline
EnterpriseCustomYesNegotiated

One thing to correct: Several third-party guides state that Team Standard seats exclude Claude Code. The official Anthropic Help Center says "Claude Code is included with every Team plan seat." Every seat. There is no carve-out for the base tier.

What Each Plan Gives You for Claude Code

Anthropic publishes relative multipliers, not absolute numbers. Community measurements have estimated the token windows, but these are not official figures.

Pro ($20/month) gives you the baseline window. Community estimates put this at roughly 44,000 tokens per 5-hour billing block, or about 45 messages. That covers a few hours of focused coding, model switching on Sonnet, and light Opus use.

Where Pro runs short: multi-file refactors that generate long diffs, debugging loops that repeat context, and any workflow where you frequently hit the ceiling mid-task and wait for the window to reset.

Max 5x ($100/month) multiplies the Pro window by five. The community estimate is around 88,000 tokens per window. For a developer writing code most of the day, this is the practical floor for uninterrupted sessions. Opus access becomes meaningfully usable here rather than rationed.

Max 20x ($200/month) multiplies Pro by twenty. Estimated at around 220,000 tokens per window. At this level, full-day coding with complex agent workflows generally stays inside the window. The use case is someone who runs Claude Code as a continuous pair, not a tool they open occasionally.

Team ($25/seat/mo monthly, $20/seat annual) gives each seat a Pro-equivalent window. The right comparison for teams is not Max vs. Team but individual-plan-per-developer vs. Team plan with admin controls, rate limit visibility, and consolidated billing.

Real-World Cost Examples

Anthropic's own enterprise data gives a concrete anchor. The average enterprise Claude Code developer costs about $13 per active day. That puts a 5-day week at roughly $65, or $260 per month at consistent daily use.

90% of enterprise users stay under $30 per active day.

What does that mean per persona:

Solo developer, coding 2-3 hours/day: Pro at $20/month covers most usage patterns here. Occasional ceiling hits are expected, especially during dense debugging sessions. If you hit the ceiling more than twice a week, Max 5x is a better fit.

Daily coder, 6-8 hours/day: Max 5x at $100/month is the standard here. The Pro window will throttle you regularly. At Anthropic's $13/active-day benchmark, five days a week lands around $260/month in actual token spend, which is above Pro but below Max 20x.

Full-day multi-agent workflows: Max 20x at $200/month or the API. When subagents fan out and multiple parallel contexts are live, a single session can consume several times what a single-developer interactive session uses.

Team of 3 developers: Team plan at $20/seat (annual) costs $60/month. That gives each developer a Pro-level window with admin controls. If individual developers need more headroom, the Team plan has a Premium seat upgrade path.

The April 2026 Pricing Incident

On April 22, 2026, Anthropic briefly changed their pricing page to make Claude Code a Max-only feature. It would have removed access from Pro subscribers.

The change was reversed within hours after significant public backlash. Anthropic's Head of Growth described it as "a small test on approximately 2% of new prosumer signups."

This is worth knowing for two reasons. First, Pro's Claude Code access was almost removed once. The plan structure can change on short notice. Second, if you depend on Claude Code for daily work and a $80/month difference between Pro and Max matters, building that cost into your budget now is lower-risk than assuming Pro always includes everything it includes today.

Cost-Spike Scenarios

Normal usage costs are predictable. Edge cases are not. Eight documented scenarios can send a session's token consumption well above baseline:

  1. Context resubmission loops: 50,000-300,000 extra tokens per event when Claude re-reads accumulated context repeatedly.
  2. Autocompact cascade: 100,000-200,000 tokens per compaction when the auto-compact fires on large contexts.
  3. Subagent fan-out: Community-reported incidents have hit $8,000-47,000 in a single session when many subagents spawn and run long tasks in parallel.
  4. Long session growth: A session at turn 200 can cost approximately 10x what the same request cost at turn 1, because every turn re-sends growing context.
  5. MCP server bloat: Each connected MCP server adds approximately 18,000 tokens per turn. Four servers running simultaneously adds 72,000 tokens to every single request.
  6. Cache expiry resend: If a session sits idle for more than one hour, prompt caching expires. The full prefix gets re-billed on the next request.
  7. Extended thinking default: When extended thinking is on by default, each request incurs tens of thousands of thinking tokens before any output.
  8. Version regression: A bad model release can increase rate limit consumption by 3-50x on affected tasks.

On a subscription plan, spikes hit your rate limit rather than your credit card. On API pay-as-you-go, spikes are billed directly. That is one of the structural reasons many heavy users prefer subscriptions over API billing for day-to-day work.

Which Plan to Pick

The decision tree is simple:

Under 2 hours of coding per day, or occasional use: Pro at $20/month. You will hit the ceiling sometimes. That is fine for intermittent work.

Coding most of the day, or 3-5 active sessions per week: Max 5x at $100/month. Pro will throttle you often enough to disrupt flow. Max 5x covers the typical full-time developer workload.

Full-day continuous use, multi-agent workflows, or running Claude Code on complex long-horizon tasks: Max 20x at $200/month. Below this, ceiling hits will interrupt work regularly.

Team with 3+ developers: Team plan. Admin controls, consolidated billing, and rate visibility are worth the structure even before comparing per-seat costs.

Predictable high-volume batch work: API. When you know the job size and can budget tokens precisely, pay-as-you-go with prompt caching and batch discounts often beats a subscription.

One more variable: if Max 20x feels expensive but you need Opus-level reasoning for architecture work, the opusplan model alias runs Opus during planning and switches to Sonnet for implementation. It is one of the most cost-effective ways to use heavy reasoning without paying Opus rates on every line of code.

API Pricing: When It Makes Sense

The API is pay-as-you-go. Current rates:

ModelInput per 1M tokensOutput per 1M tokens
Claude Opus 4.x$5$25
Claude Sonnet 4.6$3$15
Claude Haiku 4.5$1$5

Two discounts apply on top:

  • Prompt caching: cached input reads at 90% less than fresh input
  • Batch API: 50% off for non-urgent async work

At what point does API beat Max 20x on cost? The break-even is roughly 70 million tokens per month on Sonnet (at standard rates, before caching). Below that threshold, Max 20x is not necessarily cheaper than Pro with occasional API bursts. At consistent high volume with heavy caching, API wins.

For interactive Claude Code sessions, subscriptions are usually the better choice because cost spikes hit the rate limit rather than billing. For scripted pipelines, batch jobs, and programmatic code generation, the API with caching gives you tighter cost control.

Claude Code vs. Cursor vs. GitHub Copilot

A quick comparison of the entry and mid tiers:

ToolEntry tierMid tierTop tier
Claude Code$20/mo (Pro)$100/mo (Max 5x)$200/mo (Max 20x)
GitHub Copilot$10/mo (Pro)$39/mo (Pro+)$19/seat team
Cursor$20/mo (Pro)$60/mo (Pro+)$200/mo (Ultra)

The pricing is similar at the Pro tier. The tools are not doing the same thing. Copilot and Cursor are IDE-embedded completion tools with agent modes. Claude Code is a terminal-native autonomous agent that handles multi-step tasks with minimal supervision.

For autocomplete and single-file edits, Copilot at $10/month does the job. For multi-file refactors, architecture decisions, and workflows that run for minutes rather than seconds, Claude Code is a different category of tool regardless of the price comparison.

What the Number on the Page Actually Tells You

The monthly subscription is the floor. What you spend per month depends on how often you hit it and whether your workflows stay inside the window.

Pro works until it doesn't. Max 5x works for most full-time developers. Max 20x is for people who hit the ceiling on Max 5x. The $13/active-day enterprise benchmark is a useful reality check: if you plan to use Claude Code every weekday, budget $260/month regardless of which subscription tier you pick, then see what ceiling behavior you actually encounter.

Subscription tiers protect you from cost spikes. The API gives you cost precision at high volume. Pick the one that matches whether your risk is "too many ceiling hits" or "unpredictable billing."

Continue in Workflow

  • Bonnes pratiques Claude Code
    Cinq habitudes séparent les ingénieurs qui livrent avec Claude Code : les PRDs, les règles CLAUDE.md modulaires, les slash commands personnalisés, les resets /clear, et un état d'esprit d'évolution du système.
  • Le mode auto de Claude Code
    Un second modèle Sonnet examine chaque appel d'outil Claude Code avant qu'il s'exécute. Ce que le mode auto bloque, ce qu'il autorise, et les règles d'autorisation qu'il place dans tes paramètres.
  • Claude Code Channels
    Connecte Claude Code à Telegram, Discord ou iMessage avec des serveurs MCP plugin. Walkthroughs de setup et workflows mobiles async qui valent la peine d'être configurés.
  • Building a Next.js App With Claude Code
    How to use Claude Code to build a full Next.js 16 app — from project setup through App Router, Server Components, and deployment.
  • Adding Stripe Payments With Claude Code
    Wire up Stripe Checkout, webhooks, and the customer portal in a Next.js app using Claude Code. From first prompt to live payment in one session.
  • Claude Code With Supabase: Database, Auth, RLS
    Set up Supabase in a Next.js project using Claude Code: migrations, row-level security policies, auth, and edge functions from a single terminal.

More from Handbook

  • Principes de base de l'agent
    Cinq façons de construire des agents spécialisés dans le code Claude : Sous-agents de tâches, .claude/agents YAML, commandes slash personnalisées, personas CLAUDE.md, et invites de perspective.
  • L'ingénierie du harness agent
    Le harness, c'est toutes les couches autour de ton agent IA sauf le modèle lui-même. Découvre les cinq leviers de contrôle, le paradoxe des contraintes, et pourquoi le design du harness détermine les performances de l'agent bien plus que le modèle.
  • Patterns d'agents
    Orchestrateur, fan-out, chaîne de validation, routage par spécialiste, raffinement progressif, et watchdog. Six formes d'orchestration pour câbler des sub-agents Claude Code.
  • Meilleures pratiques des équipes d'agents
    Patterns éprouvés pour les équipes d'agents Claude Code. Prompts de création riches en contexte, tâches bien calibrées, propriété des fichiers, mode délégué, et correctifs v2.1.33-v2.1.45.

Arrêtez de configurer. Commencez à construire.

Templates SaaS avec orchestration IA.

Tarification et utilisation des tokens Claude Code

Réduis les coûts Claude Code de 40 à 70 % avec le suivi ccusage, la commande /model, /compact et /clear, le mode plan, et le niveau de forfait adapté à ton usage.

Claude Code Ultra Review

Une flotte d'agents cloud parcourt ton diff en parallèle, vérifie chaque trouvaille de manière indépendante, et ne remonte que les vrais bugs. Ce que fait /ultrareview, quand l'utiliser, et ce que ça coûte.

On this page

The Base Cost
Plan Comparison
What Each Plan Gives You for Claude Code
Real-World Cost Examples
The April 2026 Pricing Incident
Cost-Spike Scenarios
Which Plan to Pick
API Pricing: When It Makes Sense
Claude Code vs. Cursor vs. GitHub Copilot
What the Number on the Page Actually Tells You

Arrêtez de configurer. Commencez à construire.

Templates SaaS avec orchestration IA.