OverpayingForAIPricing desk

Anthropic · Beginner · 3 lessons · about 19 minutes · updated 2026-09-13

Claude Code 101: Pro, Max and the API Bill Trap

Claude Code's plans are simple on paper — Pro, Max 5x, Max 20x. What trips people up is a single setting that quietly swaps your plan capacity for a separate, metered API bill.

For anyone starting with Claude Code who wants to know which plan to buy and how to avoid the one mistake that turns a $20/month subscription into a much larger API bill. No prior coding experience assumed beyond installing Claude Code itself.

Subscription vs API: two ways to pay for the same modelFlat monthly fee with usage limits, or metered per-token billing with no ceiling.Subscription (chat app)API (pay per token)Fixed price every monthBill tracks real usageUsage caps and rate limitsNo cap — budget alerts are on youBest for daily heavy chatBest for bursts, automation, appsIncludes the app, files, memoryYou bring your own interfaceIdle months are wasted moneyIdle months cost $0Break-even test: if your API bill for the same work would be under the subscription price, the subscription is the overpayment.
Live Anthropic API prices from the OverpayingForAI catalogue. Lesson 3 explains how these relate to the subscription plans.

Course outline

  1. 1Claude Code's plans: Pro, Max 5x and Max 20xClaude Code is included in Claude's own subscription tiers, not sold separately. Its usage draws from the same shared allowance as Claude's chat apps.6 min · 3 objectives
  2. 2The trap: how a $20 subscription turns into an API billThe single most common Claude Code billing surprise isn't a hidden fee — it's authenticating with an API key instead of your subscription login, which quietly routes usage to a separate, metered bill.7 min · 3 objectives
  3. 3When Max actually earns its higher priceMax 5x and Max 20x cost meaningfully more than Pro. This site's own recommendation is a measured test, not a guess: run real work on Pro first and count the interruptions before upgrading.6 min · 3 objectives

Frequently asked

How much does Claude Code cost?

It's included in Claude's own subscription tiers rather than priced separately: Pro at $20/month, Max 5x at $100/month, or Max 20x at $200/month, with usage shared across Claude Code and Claude's other apps.

Why did I get an unexpected API bill using Claude Code?

Most commonly, an ANTHROPIC_API_KEY environment variable was set and active, which Claude Code uses automatically over your subscription login — routing that session to separate, metered API billing. Run /status to check which billing path is active, and decline any "API-credit continuation" prompt unless you've budgeted for it.

Should I upgrade to Claude Max?

Only after testing real work on Pro first — this site's own recommendation is to run a representative bug fix, refactor and feature build, count the limit interruptions, and upgrade only once that delay costs more than Max's higher monthly price.

If our calculators helped you cut down on hidden AI wallet leaks, thanks for using them. A tiny fraction of your savings is what keeps our pricing indexes updated daily.

Not sure which AI is cheapest for your use case? Find out in 30 seconds — no signup required.

AI cost intelligence

Stop overpaying for AI tools

Join the OverpayingForAI list for pricing updates, cheaper alternatives, and practical buying guidance.

Now tracking 50+ AI tools, models, platforms, subscriptions, coding tools, and automation products.

We use your email only for OverpayingForAI updates. Unsubscribe anytime.