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.
Course outline
- 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
- 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
- 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.