Claude Code pricing for beginners: do you need to pay, and which plan?
Updated First published
In this guide (8)
The facts on this page come from Anthropic’s pricing page, its help articles Use Claude Code with your Pro, Max, or Ultra plan, Monthly API credits for Max, Ultra, and Team plans, Claude Fable models on your plan, Claude Fable 5.2 launch offers and Manage usage credits for paid Claude plans, the Claude Code setup, permission modes and costs pages, the Claude docs on API credits for subscribers and the Claude Duet launch article, all checked November 16, 2026; the pricing page and the two Fable help articles were checked again on November 17, 2026. The help article Why is Claude API usage billed separately was checked October 21, 2026. On November 17, 2026, we updated the Pro launch offer, which ended on November 16, to the past tense. On November 16, 2026, we added the Fable rules and launch offers, updated how the pricing page describes Pro’s usage, and corrected Duet’s availability and the auto mode default. On November 2, 2026, we’d updated the page with Anthropic’s October 30 plan change, from its @claudeai post on X. Plans and prices change, so check the pricing page before you pay. None of the links on this page are affiliate links.
If you’re still choosing between tools, start with Lovable vs Bolt vs Cursor for beginners, or see what each tool’s free plan lets you do.
What is Claude Code?
Claude Code is Anthropic’s coding tool. You describe what you want in plain words, and it works on the files of your project, using Claude models. Anthropic made it for the terminal (the text window where you type commands) and for supported code editors. If you’d rather not use a terminal, the Claude desktop app lets you use Claude Code without it, on macOS, Windows and Linux. To install it on your computer, Anthropic’s setup page lists these requirements:
- System: macOS 13.0 or newer, Windows 10 version 1809 or newer (or Windows Server 2019 or newer), or Ubuntu 20.04 or newer.
- Hardware: 4 GB of RAM or more, with an x64 or ARM64 processor.
- Internet: a connection is required.
Start here
New to Claude Code? These are the first steps, from Anthropic’s setup page and help article. The details are further down this page.
- Get Pro. It’s the cheapest plan with Claude Code. The Free plan doesn’t include it.
- Install Claude Code with the command for your system, then open a new terminal and run
claude --versionto check it worked. The commands are in How to start on Pro. - Run it in your project’s folder. Open a terminal there, run
claude, and log in with the same Claude account you use for Pro. - Keep ANTHROPIC_API_KEY unset. If that environment variable is set on your computer, Claude Code uses it instead of your plan, and you pay API usage charges. See Avoid surprise API charges.
- Check
/usagenow and then. It shows how much of your plan’s limits you’ve used. To understand what you see, read How to read /usage.
Which plan do you need?
Claude Code needs a paid plan. This table only uses what Anthropic’s pricing page and help articles say. Prices are in US dollars and don’t include tax. On October 30, 2026, Anthropic renamed Max 5x to Max and Max 20x to Ultra (Anthropic announced it on X). Prices didn’t change, and subscribers don’t need to do anything.
| Free | Pro | Max | Ultra | |
|---|---|---|---|---|
| Price | $0 | $20/month billed monthly, or $17/month with the annual plan ($200 up front) | $100/month | $200/month |
| Claude Code | No | Yes | Yes | Yes |
| Usage | Limited use | More usage than Free, every 5 hours and every week | 5x Pro’s usage every 5 hours and every week | No 5-hour limit for verified accounts, and 10x Pro’s usage every week |
| Claude Code limits | n/a | A five-hour limit and a weekly limit, shared by Claude and Claude Code | Same, plus a separate Fable limit inside the weekly one | A weekly limit, plus the same separate Fable limit |
| Fable models | No | Not included, runs on usage credits | Included, up to 50% of your weekly limit | Included, up to 50% of your weekly limit |
| Usage credits (to keep going past the limit) | No | Yes | Yes | Yes |
| Monthly API credits | No | No | $100/month, for the Claude API, not for Claude Code | $200/month, for the Claude API, not for Claude Code |
The pricing page says “Claude Code is included in all paid plans” and that it shares the same usage limits as the rest of your plan.
About Ultra’s 5-hour limit. Anthropic says it’s removing the 5-hour limit for verified Ultra accounts from October 30, most existing subscribers first. Newer accounts keep a temporary 5-hour limit until they’re verified, and get an email when it’s removed. Weekly limits didn’t change.
Start on Pro. Anthropic’s own advice is to consider Max if you consistently hit Pro’s limits. So you don’t need to guess in advance: use Pro, and move up only if the limits keep stopping you.
Your plan also covers Claude Code in supported editors: VS Code, Cursor and other VS Code forks, and JetBrains IDEs like IntelliJ and PyCharm. All of it counts toward the same limits as your chats with Claude.
Are Fable models included in your plan?
Fable 5.2, Fable 5.1 and Fable 5 are Anthropic’s Fable models, and you can pick them in Claude Code. All three work the same way, but what you get depends on your plan. This table is from Anthropic’s help article Claude Fable models on your plan:
| Plan | Fable models |
|---|---|
| Free | Not available |
| Pro | Not included in your plan’s limits. They run on usage credits, billed at standard API rates |
| Max and Ultra | Included: up to 50% of your weekly limit at no extra cost. After that, keep going with usage credits or switch to another model and stay inside your plan |
That 50% is not a bonus on top. Anthropic says Fable draws from your plan’s regular weekly limit and uses it faster than other models, and you can never use more than the weekly limit. In Claude Code, Fable 5.2 needs version 2.1.321 or later (Fable 5.1 needs 2.1.255, Fable 5 needs 2.1.170).
What this means on Pro. If you pick a Fable model, Anthropic says that usage is billed to usage credits when you have them turned on. If you do turn them on, set a monthly spend limit first (see what happens when you hit the limit). Using the other models keeps you inside your plan.
The launch offer (the Pro part has ended). For the launch of Fable 5.2 on November 9, 2026, Anthropic added extra Fable usage for a limited time, according to its help article Claude Fable 5.2 launch offers:
- Pro (ended): all Fable models were included in the plan for one week, up to 50% of the weekly limit, through November 16, 2026 at 11:59 pm PT, plus one Fable limit reset that expired at the same time. Fable on Pro is back on usage credits, and Anthropic says an unused reset expires at the end of the window.
- Max and Ultra (still open): one to three Fable limit resets, depending on how long you’ve been a paid subscriber: one for less than six months, two for six to 12 months, three for more than 12 months. They expire on March 8, 2027 at 11:59 pm PT.
- Who got it: accounts with paid billing in place before November 9, 2026 at 10:00 am PT. You use a reset in Settings > Usage, under Limit resets, with “Reset for free”. Our guide has the steps: Do you have a free limit reset?
How to start on Pro
- Subscribe to Pro on Claude’s website, at claude.ai/upgrade.
- Install Claude Code. Open a terminal and run the command for your system, from Anthropic’s setup page:
- macOS, Linux or WSL:
curl -fsSL https://claude.ai/install.sh | bash - Windows PowerShell:
irm https://claude.ai/install.ps1 | iex - Or with Homebrew:
brew install --cask claude-code, or WinGet on Windows:winget install Anthropic.ClaudeCode
- macOS, Linux or WSL:
- Check it worked. The installer shows no progress while it downloads. When it’s done, open a new terminal window and run
claude --version. A working install prints a version number. - Open your project and log in. Open a terminal in your project’s folder and run
claude. When it asks you to log in, use the same account you use for Claude. That connects your Pro plan to Claude Code.
Never used a terminal? Anthropic has a terminal guide that shows how to open one and paste the command. Or skip the terminal and use Claude Code in the desktop app.
If you were already logged in to Claude Code with a Claude Console pay-as-you-go account, run /login inside Claude Code to switch to your plan.
Why don’t Max’s API credits pay for Claude Code?
Max and Ultra include monthly credits for the Claude Platform: $100 a month on Max and $200 a month on Ultra. It’s easy to think they make Claude Code cheaper. They don’t. Anthropic says they’re for building Claude into your own apps and agents.
What the credits cover:
- The Claude API
- The Playground in the Claude Console
- Claude Managed Agents
- The Claude Agent SDK
What they don’t cover:
- Interactive Claude Code, in the terminal, an editor, the desktop app or the web
- Extra usage in Claude, Claude Code or Claude Cowork, after you hit your plan’s limits
- Claude on Amazon Bedrock, Google Cloud Vertex AI or Microsoft Foundry
A few more rules from Anthropic’s help article:
- You can claim them after 7 days on Max or Ultra. On claude.ai, go to Settings > Billing, then Link organization in the API credits section. You can link only one Claude Console organization, and you can’t change it yourself.
- They refresh each billing cycle and don’t roll over.
- They don’t change your Claude Code limits.
- When they run out and the organization has no other credits, API requests stop. “Usage is never charged to your Claude plan.”
Why you see “Credit balance too low”
If you sign in to Claude Code with an API key from the organization that only holds these Max or Ultra credits, Claude Code can’t use them. Anthropic’s docs say it shows:
Credit balance too low · Add funds: https://platform.claude.com/settings/billing
You don’t need to add funds to use your plan. Log in to Claude Code with your Claude account instead (see Avoid surprise API charges below).
What about claude -p?
If you’ve seen people run Claude Code with the claude -p command, there’s one exception. Anthropic says the API credits cover claude -p only when you run it with an API key from your linked Console organization, because that’s billed as Agent SDK usage. If you’re signed in with your plan, claude -p uses your plan’s limits instead. Runs started by the Claude Code GitHub Action, an editor extension or the desktop app count as Claude Code usage, so the credits never cover them, even with -p.
What happens when you hit the limit?
Both Pro and Max have a five-hour limit and a weekly limit, shared by Claude and Claude Code. Max and Ultra also have a separate limit for Fable (up to 50% of the weekly one, see Are Fable models included in your plan?). Verified Ultra accounts have no five-hour limit. Claude Code shows warnings as you get close. If you hit the five-hour limit in the middle of a reply, Claude Code may keep going briefly to finish that step, and you’ll see “Usage limit reached · wrapping up”. Anthropic says this is rolling out gradually, so you may not have it yet.
When you reach a limit, Anthropic’s help article lists options by plan:
- On Pro, consider Max if you hit Pro’s limits all the time.
- On Max, consider Ultra.
- On Ultra, turn on usage credits, switch to a Claude Console account and buy API credits, or wait.
On Max and Ultra, usage credits also let you keep using Fable after you reach your separate Fable limit.
What those options mean:
- Wait until your limit resets. This costs nothing, on any plan.
- Turn on usage credits to keep working past the limit. The pricing page says this is billed at standard API rates. Run
/usage-creditsin Claude Code: it opens Settings > Usage on claude.ai, where you can turn usage credits on or off and see your balance, this month’s spend and your monthly spend limit. If you turn them on, set that limit. - Switch to a Claude Console account and buy API credits. This is pay-as-you-go API billing, separate from your plan.
To stay inside your plan, Anthropic says to decline the API credit option when Claude Code offers it and wait for your limit to reset.
To check where you are:
/statusshows your remaining allocation./usageshows plan usage bars, activity stats and a usage breakdown. Ignore the session cost figure at the top: Anthropic says it’s meant for API users and isn’t relevant for billing on your plan. What each part means: How to read /usage.
If your limit is running out much faster than usual, see Claude Code usage limit draining fast?. If Claude Code signs you out or stops responding, check for an outage first: Claude or Claude Code down, or it logged you out?.
Anthropic’s new agent app, Claude Duet, draws from these same limits on Pro, Max and Ultra, according to its launch article, and its background checks count too. See What is Claude Duet?.
With Claude Code version 2.1.283 or later, auto mode is the starting mode for interactive terminal and VS Code sessions. To see what that means and how to approve each step yourself, read Claude auto mode is now the default.
Avoid surprise API charges
Your plan and the Claude API are billed separately. Anthropic says paid Claude plans and the Claude Console are separate products, and “the Claude API is billed separately”. Claude Code can use either one, so it’s worth checking which one it’s using.
- An ANTHROPIC_API_KEY on your computer wins. Anthropic says that if an
ANTHROPIC_API_KEYenvironment variable is set on your system, Claude Code uses that key instead of your plan, “resulting in API usage charges”. If you ever created a Claude API key for another tool and saved it this way, remove it before you start Claude Code with your plan. - Plan login vs Console login. Logging in with your Claude account uses your plan. Logging in with a Claude Console pay-as-you-go account uses the API. Run
/loginto switch to your plan. - Stop the API option from showing up. Run
claude logout, thenclaude login, and sign in with only your Pro, Max or Ultra account. Don’t add Claude Console credentials. Anthropic says Claude Code then uses only your plan and won’t offer API credits when you hit a limit. - Check auto-reload in the Console. If you do use API credits through Claude Code and auto-reload is on in your Console account, Anthropic says more credits are added automatically when your balance runs low. Review it on the Console’s Billing page.
If you use an API key with Claude Code or any other tool, set a spending limit first: Set an API spending limit before you paste your key. And if you ever saved a key in OpenCode Console, read OpenCode breach: what to do with your AI API key.
Questions people ask
How much does Claude Code cost?
Claude Code comes with a paid Claude plan, and Anthropic's pricing page says it's included in all paid plans. The cheapest is Pro: $20 a month billed monthly, or $17 a month on the annual plan ($200 billed up front). Max is $100 a month, with 5x Pro's usage every 5 hours and every week. Ultra is $200 a month, with no 5-hour limit for verified accounts and 10x Pro's usage every week. Prices don't include tax. Extra usage past your limits (usage credits) and any API key you use are billed separately, at API rates.
Do I need to pay for Claude Code?
Yes. Anthropic's setup page says Claude Code requires a Pro, Max, Team, Enterprise or Console account, and that the free Claude plan doesn't include Claude Code access. For most beginners, the cheapest way in is Pro.
Can I use Claude Code on the free plan?
No. Anthropic's setup page says Claude Code requires a Pro, Max, Team, Enterprise or Console account, and that the free Claude plan doesn't include Claude Code access. The pricing page shows the same thing in its comparison table. The cheapest plan with Claude Code is Pro.
Is Pro enough for a beginner?
It's the place to start. Pro includes Claude Code in the terminal, the desktop app and supported editors, at $20 a month billed monthly or $17 a month with the annual plan. Its limits are a five-hour limit and a weekly limit, shared with Claude chat. Anthropic suggests Max if you consistently hit those limits, so you can wait and see before paying more. One catch: Fable models aren't part of Pro's limits, they run on usage credits.
Is Fable included in Claude Pro or Max?
On Max and Ultra, yes: Anthropic says Fable 5.2, 5.1 and 5 are a standard part of the plan, and you can use up to 50% of your weekly limit on them at no extra cost. That isn't an extra 50% on top. Fable draws from the same weekly limit and uses it faster than other models. On Pro, no: Fable models aren't included in the plan's limits and run on usage credits, billed at standard API rates. They aren't available on Free. In Claude Code, Fable 5.2 needs version 2.1.321 or later.
What happened to Fable on Pro after the launch week?
For the launch of Fable 5.2 on November 9, 2026, Anthropic included all Fable models in Pro plans for one week, up to 50% of the weekly limit. That week ended on November 16, 2026 at 11:59 pm PT, and so did the one Fable limit reset that eligible Pro accounts got. Since then, Fable on Pro runs on usage credits again, billed to your credits if you have them turned on. Anthropic says the unused part of the 50% doesn't carry over. Max and Ultra resets are still valid until March 8, 2027.
Do the Max and Ultra API credits pay for Claude Code?
No. Anthropic says the monthly API credits included with Max ($100) and Ultra ($200) can't be used for interactive Claude Code in the terminal, an editor, the desktop app or the web, or for extra usage. They're for building your own apps and agents with the Claude API, the Claude Agent SDK, Claude Managed Agents and the Playground in the Console.
Why does Claude Code say "Credit balance too low" when I have Max credits?
Because the Max and Ultra credits don't cover Claude Code. Anthropic's docs say that if a Console organization holds only these credits and sends a Claude Code session, Claude Code shows "Credit balance too low · Add funds". To use your plan instead, sign in to Claude Code with your Claude account, make sure no ANTHROPIC_API_KEY is set, and run claude logout and then claude login if needed.
What happens when I hit the limit on Pro?
You'll see warnings as you get close. When you reach it, you can wait until the limit resets, which costs nothing, turn on usage credits to keep going (billed at standard API rates), or switch to a Claude Console account and buy API credits. If it keeps happening, Anthropic's help article says to consider Max, and on Max, to consider Ultra. To stay inside your plan, decline the API credit option and wait for the reset. You can check where you are with /status or /usage.
Does Claude Duet use the same limits as Claude Code?
Yes, on Pro, Max and Ultra. Claude Duet is Anthropic's new proactive agent app, in research preview by waitlist, starting with US Pro, Max and Ultra subscribers. Anthropic says it's included in these plans and shares your plan's usage limits with the rest of Claude, which are the same limits Claude Code uses. Its background checks, every few hours, count toward those limits, and larger tasks use more. Our guide What is Claude Duet? covers how it works.
New guides by email. An email when we publish a new guide, error fix or chapter, in plain English. Subscribe