Claude Code pricing: every plan, limit and API rate

What Claude Code costs today on each Claude plan and on the API, and which option is cheapest for the way you work.

Last updated

Abstract illustration of three stacks of glowing discs, from short to tall

Claude Code is not free. As of November 29, 2026, it comes with every paid Claude plan: Pro at $20 a month ($17 a month billed annually), Max at $100 a month, and Ultra at $200 a month, plus the Team and Enterprise plans for companies. The other way to pay is the Claude API, where you are billed per token with no monthly fee.

Every price on this page was checked on Anthropic's own pages on November 29, 2026 (links in the sources at the end). Anthropic says prices and plans can change at its discretion, so if you are reading this months later, check claude.com/pricing before you buy.

Claude Code pricing by plan

This is the whole picture in one table. Prices are in USD, before tax, as of November 29, 2026.

Plan Price Claude Code Usage (Anthropic's wording) Fable models
Free $0 Not included "Limited usage" every 5 hours and every week Not available
Pro $20/month billed monthly, or $17/month billed annually ($200 up front) Included More usage than Free, limited every 5 hours and every week Paid with usage credits only
Max $100/month (monthly billing only) Included "5x Pro usage" every 5 hours and every week Included, up to 50% of your weekly limits
Ultra $200/month (monthly billing only) Included "10x Pro usage" every week; no 5-hour limit for verified accounts Included, up to 50% of your weekly limits
Team, standard seat $25/seat/month monthly, or $20/seat/month annually Included "More usage than Pro" Paid with usage credits
Team, premium seat $125/seat/month monthly, or $100/seat/month annually Included "5x more usage than standard seats" Up to 50% of weekly limits
Enterprise $20/seat/month billed annually, 20-seat minimum, plus usage at API rates Included "Usage cost scales with model and task"; usage-based plans have no per-seat usage limits Billed at API rates on usage-based plans
API (Claude Console) No monthly fee; pay per token Works with an API key or Console login As much as you pay for, within your rate limits Per-token rates below

Two extras appear on the pricing page that are easy to misread. Max includes $100 a month in API credits and Ultra includes $200 a month, and Team gets up to $500 a month in pooled API credits. Those credits are for building on the Claude API. Anthropic's help center says plainly that the Max plan's monthly API credits (and, in a separate article, the Team plan's) "can't be used in Claude Code or the Claude apps."

What "usage" means on a Claude plan

Anthropic does not publish a fixed number of prompts, messages or tokens for any plan. Its help center says usage limits depend on factors such as "the length and complexity of your conversations." The multipliers in the table (5x, 10x) are the only numbers Anthropic gives.

Here is how the limits work, from Anthropic's help center as of November 29, 2026:

  • Five-hour window. The window "starts when you send your first message, and your limit resets in full five hours later." Pro and Max have it. Verified Ultra accounts do not.
  • Weekly limit. Paid plans add a weekly limit across all models that "reset[s] at a fixed time each week that is assigned to your account." Fable models draw from the same weekly limits and "use them faster than other Claude models."
  • One shared pool. Claude on the web, desktop and mobile, Claude Code in the terminal, and Claude Code in VS Code, Cursor and other VS Code forks all draw from the same limit. A long chat in the morning leaves less for coding in the afternoon.
  • Ultra verification. Ultra accounts are verified automatically from things like account and payment history. Until yours is, "a temporary limit applies." If you see no "Current session" bar in Settings > Usage, your account is verified.
  • Plans can change. The pricing page says "Price and plans are subject to change at Anthropic's discretion."

Coding uses far more than chat. Anthropic's own cost docs explain why: each Claude Code turn carries file contents, tool calls and multi-step reasoning, so "one debugging session can consume more than a day of chat." Long sessions also climb because Claude Code resends the whole conversation with every request. If your plan runs out faster than you expected, that is usually the reason. Our guide on how to use Claude Code covers the habits that keep sessions small.

What happens when you hit a limit

You have three choices: wait for the window to reset, move to a bigger plan, or turn on usage credits. Usage credits let Pro, Max and Ultra subscribers keep working past the limit, billed "at standard API rates," with an optional monthly spending cap. You turn them on in Settings > Usage on claude.ai, or run /usage-credits inside Claude Code.

Anthropic also describes a short "wrap-up" so Claude Code can finish the step it is on instead of stopping mid-edit. On Pro it applies up to once per weekly period; on Max it can apply each time you hit a five-hour limit.

If Claude Code is failing with errors rather than hitting a limit, check whether Claude Code is down before changing plans.

Claude API pricing for Claude Code

If you log in to Claude Code with a Claude Console account or set an API key, there is no plan and no usage limit in the subscription sense. You pay for every token. These are Anthropic's list prices per million tokens (MTok) for the current models, as of November 29, 2026:

Model Input Output Cache read Cache write (5 min)
Fable 5.2 $8 $40 $0.20 $10
Opus 5.5 $4 $20 $0.20 $5
Sonnet 5.5 $2 $10 $0.10 $2.50
Haiku 5.5 (prompts up to 100K tokens) $0.10 $0.50 $0.01 $0.125
Haiku 5.5 (prompts over 100K tokens) $0.50 $2.50 $0.05 $0.625

A few details from the same pricing docs matter for Claude Code:

  • Opus 5.5 is the default model in Claude Code on Pro, Max, Ultra, Team, Enterprise and the Anthropic API. On the API that means you pay Opus rates unless you switch with /model.
  • Caching does a lot of the work. Claude Code rereads your conversation on every request, mostly from the prompt cache, and cache reads on Opus 5.5 and Sonnet 5.5 cost 0.05x the base input price.
  • Fast mode costs more: Opus 5.5 is $8 input and $40 output per MTok in fast mode, and Fable 5.2 is $16 and $80.
  • US-only inference adds a 1.1x multiplier on all token prices for Claude 4.6 and later models.
  • Thinking tokens are billed as output tokens, so a reply can cost more than the text you see. The per-model details are on our Claude API pricing page.

How much Claude Code costs per day on the API

Anthropic publishes one real-world figure. In its Claude Code cost docs: "Across enterprise deployments, the average cost is around $13 per developer per active day and $150-250 per developer per month, with costs remaining below $30 per active day for 90% of users." It adds that costs "vary widely based on model selection, codebase size, and usage patterns such as running multiple instances or automation."

So for a developer who codes with Claude Code most working days, the API average lands above the $100 Max plan. For someone who opens it a few times a month, the API can come out below $20.

Inside a session, run /usage to see what the session has cost so far. On a subscription, that dollar figure is only an estimate at list price and does not affect your bill; you see plan usage bars on the same screen instead.

The API key trap

This one costs people real money. If an ANTHROPIC_API_KEY environment variable is set on your machine and you approve it when Claude Code asks, Claude Code bills that API key instead of your subscription. Anthropic's help center calls this out: it results "in API usage charges rather than using your subscription's included usage." In non-interactive mode (claude -p), the key is always used when present.

To go back to your plan, unset the key and check which login is active:

unset ANTHROPIC_API_KEY

Then run /status inside Claude Code. When both a login and a key exist, /status marks the one that is not in use. Remember to remove the key from your shell profile too, or it comes back in the next terminal.

Which option is cheapest for you

There is no universal answer, because Anthropic does not publish exact limits. But the shape of the choice is clear.

You are Cheapest sensible option Why
Curious, trying it out Pro, monthly ($20) Cheapest way in; cancel any time. The Free plan does not include Claude Code at all.
Coding a few hours a week Pro, annual ($200 a year) Same plan, about $17 a month. Turn on usage credits with a low cap for the odd heavy week.
Rare or bursty use, a few sessions a month API, pay per token No monthly fee. Anthropic says new API users get free credits to test with.
Coding with it most days Max ($100) Anthropic's API average of $150 to $250 a month per developer is above Max.
Running it all day, long agent runs, several sessions at once Ultra ($200) 10x Pro weekly usage and no 5-hour window once verified.
Building scripts, CI jobs or automations on top of Claude Code API You need a key for headless use anyway, and --max-budget-usd can cap a claude -p run.
A team of 2 to 150 Team, mixing standard and premium seats Central billing; give premium seats only to the heavy users.
A large company that wants spend controls Enterprise $20 a seat plus usage at API rates, with admin spend limits.

A practical path: start on Pro, watch /usage for two weeks, and only move up if you keep hitting the five-hour window. The plan multipliers are relative to Pro, so Pro is the yardstick for everything else. Model choice moves the needle too: Anthropic's docs say Sonnet "handles most coding tasks well and costs less than Opus."

How much an agent burns also depends on the codebase it works in. An agent that has to explore an unfamiliar, convention-free project reads far more files than one working in a codebase with clear structure, tests and an AGENTS.md. That is part of why we built RailsFast on Rails, where the conventions do a lot of that explaining.

Is Claude Code free?

No. Anthropic's setup docs say "Claude Code requires a Pro, Max, Ultra, Team, Enterprise, or Console account. The free claude.ai plan does not include Claude Code access." Installing the tool costs nothing, but you cannot run it against Claude without a paid plan or API credit.

There are three ways people get it without a subscription, each with a catch:

  1. Free API credits. Anthropic's API docs say "New users receive free credits to test the API." That is enough to try Claude Code on the Console, not to use it daily.
  2. A school or employer plan. Anthropic sells an Education plan to universities, and Team and Enterprise seats include Claude Code. Anthropic's pricing page lists no individual student discount as of November 29, 2026.
  3. Pointing Claude Code at other models. Claude Code can talk to a gateway through ANTHROPIC_BASE_URL, and third-party projects use that to route it to free or local models. That is not Anthropic's offer: you are no longer using Claude models, quality varies, and you are trusting a proxy with your code. Setting only the base URL also doesn't replace your subscription: Anthropic's docs note a saved claude.ai login "remains the active credential."

If you are comparing coding agents on price, OpenAI's agent has a similar plan-based model; see Codex vs Claude Code and Codex limits.

Frequently asked questions

Is Claude Code free?

No. As of November 29, 2026, Anthropic's docs say the free claude.ai plan does not include Claude Code. You need a Pro, Max, Ultra, Team or Enterprise plan, or a Claude Console (API) account, where new users get some free credits to test with.

How much does Claude Code cost?

Claude Code costs $20 a month on Pro ($17 a month billed annually), $100 a month on Max and $200 a month on Ultra, as of November 29, 2026. Team seats are $25 or $125 a month ($20 or $100 billed annually). On the API you pay per token; Anthropic says the enterprise average is around $13 per developer per active day.

Do you need Claude Pro for Claude Code?

You need a paid plan or an API account, and Pro is the cheapest paid plan at $20 a month. You do not need Pro specifically: Max, Ultra, Team, Enterprise and a Claude Console account with API credits all work too.

Is Claude Code part of Claude Pro?

Yes. Anthropic's pricing page says Claude Code is included in all paid plans, including Pro. It shares the same usage limits as your chats, so terminal work and chat draw from one pool.

Does Claude Code have a free tier?

No. There is no free tier of Claude Code as of November 29, 2026. The closest thing is the free credits Anthropic gives new API users, which are meant for testing.

Can I use Claude Code for free?

Only in limited ways: with the free API credits new Console users receive, through a plan your school or employer pays for, or by routing Claude Code to non-Claude models through a third-party gateway. The last option is not supported by Anthropic as a free offer and means you are not using Claude models.

Is Claude Code free for students?

Not as an individual discount. Anthropic's pricing page lists an Education plan that universities buy for their students, faculty and staff at discounted rates, but no student price on Pro or Max as of November 29, 2026. Ask your university whether it has a Claude plan.

What is the difference between Claude Pro and Max for Claude Code?

Max costs $100 a month against Pro's $20 and gives "5x Pro usage" every five hours and every week. Max also includes Fable models up to 50% of your weekly limits, which Pro only offers through paid usage credits, and priority access at high traffic times. The full comparison is on Claude Pro vs Max.

Can I use the API credits that come with Max or Ultra in Claude Code?

No. The monthly API credits on Max ($100) and Ultra ($200) are for building on the Claude API. Anthropic's help center says they can't be used in Claude Code or the Claude apps, and they don't pay for extra usage past your plan's limits.

How do I check my Claude Code usage?

Run /usage in Claude Code. On a subscription it shows your plan usage bars and a breakdown of what is using them; on the API it shows the estimated session cost. On claude.ai, the same information is under Settings > Usage.

Sources

All pages fetched on November 29, 2026.

Checklist

Grab your free launch checklist 🚀

The definitive checklist to launch any project. It includes pre-launch steps & a detailed launch checklist you can go through to get your new project off the ground.

Secure connection. No spam.