Claude Code Pricing in 2026: Which Plan You Need and How to Avoid Surprise API Bills

Claude Code is included with Pro at $20, Max at $100 and Ultra at $200, or billed per token via the API. How limits work and how to avoid surprise bills.

Claude Code Pricing: The Short Answer

Claude Code is not sold separately. It is included with Claude Pro ($20 a month, or $17 a month billed yearly), Max ($100 a month) and Ultra ($200 a month), and with Team and Enterprise seats. The free Claude plan does not include it. You can also run Claude Code on API credits and pay per token instead. For most solo developers, Pro is the place to start; move to Max when you hit the five-hour limit most days.

Quick answer: How much does Claude Code cost? $20 a month with Claude Pro, $100 with Max, $200 with Ultra, or pay-as-you-go API rates such as $2 per million input tokens and $10 per million output tokens for Sonnet 5.5. Prices are from claude.com/pricing, checked November 8, 2026.

Claude Code Pricing by Plan

PlanPriceClaude Code usageGood for
Free$0Not includedTrying Claude chat only
Pro$20 a month ($17 yearly)Baseline (1x)A few focused sessions a day
Max$100 a month5x Pro, every 5 hours and weekly; Fable up to 50% of weekly limitsDaily, multi-hour coding
Ultra$200 a month10x Pro weekly, no 5-hour limit for verified accountsCoding most of the working day
Team Standard$20 a seat yearly, $25 monthlyMore than ProSmall teams
Team Premium$100 a seat yearly, $125 monthly5x StandardHeavy users on a team
Enterprise$20 a seat yearly plus usage at API ratesUsage-basedCompanies needing admin and compliance
API (Console)Pay per tokenNo plan limit, only your budgetAutomation, CI, or predictable per-token billing

Max includes $100 a month of API credits and Ultra $200, which helps if you also call Claude from scripts.

How Claude Code Limits Work

Claude's help center explains three things to know:

  • Limits are shared. Pro and Max have a five-hour session limit and a weekly limit, and all activity in Claude and Claude Code counts against the same allowance.
  • You can keep going. After a limit, you can wait for the reset, turn on usage credits, upgrade your plan, or let Claude Code continue on API credits billed at standard API rates.
  • Check usage with the /status command inside Claude Code.

How to Avoid a Surprise API Bill

The most common cost mistake is accidentally paying API rates while you think you are on your subscription:

  1. If an ANTHROPIC_API_KEY environment variable is set, Claude Code uses it instead of your plan, and you are billed for API usage.
  2. If auto-reload is on in your Claude Console account, credits top up automatically when the balance runs low.
  3. To use only your plan allowance, the help center suggests running claude logout, then claude login with your Pro or Max account, and declining API credit offers.

Claude Code API Prices

If you run Claude Code on API credits, you pay per million tokens:

ModelInputOutput
Fable 5.1$10$50
Opus 5.5$4$20
Sonnet 5.5$2$10
Haiku 5.5 (up to 100K-token prompts)$0.10$0.50

Coding sessions send a lot of context, so prompt caching matters: cache reads cost $0.10 per million tokens on Sonnet 5.5 and $0.20 on Opus 5.5. Anthropic does not publish a typical cost per session, so track your own spend in the Console for a week before committing to API-only billing.

Claude Code vs OpenAI Codex Pricing

Claude CodeOpenAI Codex
Free accessNoYes, limited, on ChatGPT Free
Cheapest paidPro $20Go $8 (lightweight tasks), Plus $20
Heavy useMax $100, Ultra $200Pro $100, $200 or $500 (no five-hour limit)
Team seat$20 to $25 StandardBusiness $20 to $25
Pay per tokenYes, API keyYes, API key

Codex figures are from OpenAI's Codex pricing page, checked November 2026. See our Codex pricing guide for details, and our Claude pricing guide for the full plan list.

Do You Need Claude Code at All?

Claude Code is built for people comfortable in a terminal or editor who want an agent to work on a codebase. If your goal is a finished iPhone app rather than a repository, an app builder may cost less time. As a disclosure, Superapp is our product, so weigh this accordingly. Superapp generates native Swift apps for iPhone, iPad, Apple Watch and Mac, plus websites and web apps, from a plain-English description and prepares the App Store submission, with no terminal setup. It does not build Android apps, so use Claude Code or a cross-platform tool if you need Android.

Frequently Asked Questions

Is Claude Code free? No. Claude Code needs a Pro, Max, Ultra, Team or Enterprise plan, or API credits. The free Claude plan does not include it.

How much is Claude Code per month? $20 with Claude Pro ($17 billed yearly), $100 with Max and $200 with Ultra.

Is Claude Code included in Claude Pro? Yes. Pro includes Claude Code, and its usage shares the same five-hour and weekly limits as Claude chat.

Should I use Claude Code with Pro or with API credits? Use Pro or Max for predictable monthly costs. Use API credits for automation, CI or when you want to pay only for what you use.

Why did Claude Code charge my API account? Usually because an ANTHROPIC_API_KEY environment variable was set or you accepted an offer to continue on API credits after hitting a limit.

What is the difference between Max and Ultra for Claude Code? Max gives 5 times Pro usage with five-hour and weekly limits. Ultra gives 10 times Pro weekly usage with no five-hour limit for verified accounts.

How do I check my Claude Code usage? Run the /status command inside Claude Code to see your remaining allocation.

Is Claude Code cheaper than Codex? At $20 they match. Codex is available on ChatGPT Free and the $8 Go plan for light use, while Claude Code starts at Pro. At the top end, both have $100 and $200 tiers.

References

Keep reading

Superapp LogoSuperapp

Build iOS or web apps with AI

Superapp is AI that builds your iOS or web app and runs your marketing while you sleep.

Build an app

Already have an app? Superapp can get you users with Marketing AI. Learn more