Choose My AI PlanHome
Claude

How Much Does Claude Code Cost? Plans vs Paying Per Token

Claude Code comes with Pro, Max, Ultra and Team, or you can pay per token. What each option costs, how the limits work, and the setting that can quietly bill you at API rates

Nov 10, 20266 min read

Claude Code doesn't have its own price. You get it in two ways:

  1. With a Claude subscription. It's included with Pro ($20 a month, or $17 a month billed yearly), Max ($100), Ultra ($200) and every Team seat. It shares the same usage limits as chatting with Claude on the web, desktop and phone.
  2. Pay as you go. Sign in with a Claude Console account and pay per token at API rates. Anthropic says enterprise teams average about $13 per developer per active day, or $150 to $250 per developer per month.

The free Claude plan doesn't include Claude Code. For most people, Pro is the cheapest way in, and Max or Ultra make sense only if you keep hitting Pro's limits.

Claude Code cost by plan

PlanPrice (US, before tax)Claude CodeUsage
Free$0Not includedn/a
Pro$20/mo ($17/mo billed yearly)IncludedThe baseline
Max$100/moIncluded5x Pro every 5 hours and every week
Ultra$200/moIncluded10x Pro every week, no 5-hour limit for verified accounts
Team, Standard seat$25/seat/mo ($20 billed yearly)IncludedMore than Pro
Team, Premium seat$125/seat/mo ($100 billed yearly)Included5x a Standard seat
Enterprise$20/seat/mo billed yearly, plus usage at API ratesIncludedPay for what you use
Claude Console (API)No subscriptionPay per tokenNo plan limits; you pay for every token

Prices from our Claude plans page, checked against claude.com/pricing on November 1, 2026. Max and Ultra are monthly only.

How the subscription limits work in Claude Code

  • One shared allowance. Anthropic says the limits "are shared across Claude and Claude Code". A long chat in the Claude app uses the same allowance as a coding session.
  • Two limits on Pro and Max: a five-hour session limit and a weekly limit. Max also has a separate weekly limit for Fable.
  • Warnings before you run out. Claude Code warns you as you get close. If you hit the five-hour limit mid-answer, it may show "Usage limit reached · wrapping up" and finish the current step. That small extra counts toward your weekly limit.
  • Check where you stand with the /usage command in Claude Code, or Settings → Usage on claude.ai. Our guide to checking your Claude usage limits has the details.

The session cost figure in /usage is meant for API users. On Pro and Max it doesn't mean you're being charged that amount. Your usage is included in the plan.

What happens when you hit the limit

On Pro or Max, you have four options:

OptionWhat it costs
Wait for the limit to resetNothing
Upgrade (Pro to Max, Max to Ultra)The new plan's price; the upgrade applies right away
Turn on usage creditsPay as you go at API rates, with a monthly spend limit you set (how usage credits work)
Switch to a Console accountBuy API credits and pay per token

The monthly API credits that come with Max and Team can't be used in Claude Code or the Claude apps, not even for extra usage. They're only for the API.

Paying per token instead

If you sign in with a Claude Console account, Claude Code charges by API token use instead of a monthly plan. Costs depend on the model, the size of your codebase and how you work. Anthropic's own numbers, from enterprise deployments:

  • About $13 per developer per active day
  • $150 to $250 per developer per month
  • Under $30 per active day for 90% of users

Our rough rule of thumb (not Anthropic's): if you'd spend $150 or more a month at API rates, a $100 Max or $200 Ultra plan is usually better value, as long as its limits are enough for you. If you only code a few days a month, paying per token can cost less than Pro.

For current per-token prices, see Anthropic's pricing page in the Claude Console docs. Prices differ by model, and Opus costs more than Sonnet.

The setting that can bill you at API rates by mistake

If your computer has an ANTHROPIC_API_KEY environment variable set, Claude Code uses that key instead of your subscription, and you're billed at API rates.

To make sure Claude Code uses your plan:

  1. In Claude Code, run /status to see which account you're on.
  2. If it shows a Console or API account, run /login and choose your Claude subscription.
  3. If you have an ANTHROPIC_API_KEY set and don't need it, remove it.
  4. When Claude Code offers to continue with API credits after you hit a limit, decline if you want to stay within your plan.

If the subscription option doesn't show up, Anthropic suggests running /logout, then claude update, restarting your terminal and running claude again.

How to spend less

From Anthropic's Claude Code cost guide:

  • Use /clear between unrelated tasks. Claude Code sends your whole conversation with every request, so old context keeps costing you.
  • Pick the model for the job. Sonnet handles most coding tasks and costs less than Opus. Switch with /model.
  • Lower the effort for simple tasks with /effort.
  • Keep CLAUDE.md short (Anthropic suggests under 200 lines) and move specialised instructions into skills.
  • Turn off MCP servers you don't use (/mcp).
  • Be specific. "Add input validation to the login function in auth.ts" costs less than "improve this codebase".

Which option should you pick?

You...Pick
Want to try Claude Code or use it a few times a weekPro ($20)
Code with it every day and hit Pro's limitsMax ($100)
Run long agent sessions all dayUltra ($200)
Code only now and then, or need strict per-token billingConsole, pay per token
Are buying for a teamTeam (Claude Code is in every seat)

Already paying for ChatGPT Plus too? You can split work between Claude Code and Codex. See how to use Claude Code and Codex together.

FAQ

Is Claude Code free?

No. Using Claude Code needs a paid Claude plan (Pro or higher) or a Console account that pays per token. The free Claude plan doesn't include it.

Is Claude Code included in Claude Pro?

Yes. Pro includes Claude Code, with the same five-hour and weekly limits you use in the Claude apps.

Does Claude Code cost extra on Max or Ultra?

No. It's included. You only pay more if you turn on usage credits or use an API key.

Can I use my Max plan's API credits for Claude Code?

No. Anthropic says the monthly API credits included with Max can't be used in Claude Code or the Claude apps.

Why does /usage show a dollar amount if I'm on Pro?

That session cost figure is for API users. On Pro and Max, your usage is part of the plan, so it isn't what you're billed.

Bottom line

Claude Code costs whatever your Claude plan costs: $20 on Pro, $100 on Max, $200 on Ultra. Start with Pro, check /usage, and upgrade only if you keep hitting the limits. Make sure no stray API key is set, or you'll pay API rates on top. Compare every plan on our Claude plans page or read Claude Pro vs Max vs Ultra.

Checked against the Claude Help Center (Use Claude Code with your Pro or Max plan; Use Claude Code with your Team or Enterprise plan) and Anthropic's Claude Code docs (Manage costs effectively) on November 10, 2026. Plan prices checked against claude.com/pricing on November 1, 2026.

Plans mentioned in this article

Related articles

All Claude guides and current plan prices →