Skip to main content

Claude Code Pricing: How Much Does Claude Code Really Cost?

Claude Code costs between $0 and $200/month. All plans compared: Pro, Max, Ultra, and the API. Plus the API equivalent I measured on my top-tier plan.

FHFinn Hillebrandt
AI Programming
Claude Code Pricing: How Much Does Claude Code Really Cost?
Links marked with * are affiliate links. If a purchase is made through such links, we receive a commission.

Claude Code costs between $0 and $200 per month. Depending on the plan and how heavily you use it.

So far, so simple.

However:

The really interesting question is not what Claude Code costs. It is which plan is right for you, when the API becomes cheaper, and where the hidden cost traps are.

I have been using Claude Code daily since mid-2025. For this blog, for client projects, for my own apps. During that time, I have tried pretty much every billing option and learned a lot about the real costs.

In this article, I will walk you through all Claude Code prices in detail, calculate when each plan makes sense, and share 5 tips to significantly reduce your costs.

TL;DRKey Takeaways
  • Claude Pro ($20/month) is enough for most users. Only at 3-4 hours of daily intensive use does Max become worth it
  • Max 20x is now called Ultra ($200/month). Verified accounts no longer have a 5-hour limit there, but the weekly limit remains
  • Cache reads cost 10% of the input price on many Claude models. Opus 5.5 and Sonnet 5.5 cut that to 5%, and Fable 5.1 and Mythos 5.1 cut it further to 2.5%, or $0.25 per million tokens
  • My measurement: in 30 days, Claude Max 20x (now Ultra) ran usage worth $15,001.91 at API list prices, 75 times the plan price. As an extreme user, though, I am not the typical case

Claude Code Pricing Overview

Claude Code itself is free. You install it with a single terminal command (or via Homebrew, WinGet, or npm), and you are good to go.

The problem:

Without a paid Claude plan or API credits, nothing happens after installation. You need one of the following options to actually use Claude Code:

PlanPriceFeaturesBest for
ProThe entry point. $17/month with annual billing.$20/month
Usage limit per 5-hour window plus weekly limit
Opus 5.5, Sonnet 5.5, and Haiku 5.5
Fable 5.1 only via usage credits
Ideal for casual users (1-2 h/day)
MaxOptimumFormerly Max 5x. The best trade-off between price and performance.$100/month
5x the usage of Pro, per 5-hour window and per week
Fable included, up to half of the weekly limit
$100 in API credits per month (not valid for Claude Code)
Ideal for power users (3-4 h/day)
UltraFormerly Max 20x. For those who work with Claude Code practically all day.$200/month
No 5-hour limit (for verified accounts)
10x the weekly usage of Pro
$200 in API credits per month (not valid for Claude Code)
Ideal for professional developers
Team PremiumThe Team seat with the most usage. $100/user/month with annual billing.$125/user/month
5x the usage of a Standard seat
Claude Code included
Standard seat ($25) also includes Claude Code
Ideal for teams with heavy usage
Source: Anthropic, Claude pricing
gradually.ai

On top of that, there is the API option (BYOK), where you pay per use without a subscription. Fable 5.1 costs $10/$50 per million input and output tokens, Opus 5.5 costs $4/$20, and the previous Opus 5 still costs $5/$25.

Sonnet 5.5 sits at $2/$10, half the price of Opus 5.5. Haiku 5.5 is the cheapest at $0.10/$0.50, as long as your prompt stays under 100,000 tokens. Above that, the price rises to $0.50/$2.50. Mythos 5.1 has the same price as Fable 5.1 but requires Project Glasswing access. The complete table appears below.

With annual billing, the Pro price drops to $17/month. Not a huge difference, but over 12 months you save $36.

Claude Pro ($20/month): Who Is It For?

Claude Pro is the entry point. $20 per month, with a usage limit that resets every five hours plus an additional weekly limit.

How many messages is that?

Anthropic does not give a fixed number. Usage depends on the length of your messages, the conversation so far, and the model.

In practice, Pro works surprisingly well for most users. Not every message to Claude Code is equally long or complex. Simple tasks like "Create a new component" or "Find the bug in this file" consume far fewer tokens than a complete refactor across 20 files.

My experience after more than a year:

If you use Claude Code 1 to 2 hours per day, Pro is sufficient in the vast majority of cases. It only gets tight when you work half days or full days straight.

Pro does have one important limitation, though:

Pro has included Opus since April 2026, starting with Opus 4.7. From July 24, 2026 it was Opus 5, and since Claude Code v2.1.280, Opus 5.5 is the Pro default too. But only with very tight quotas. If you need Opus often, you will quickly hit Pro's ceiling and should move up to Max. On Pro, you can only use Fable 5.1 through usage credits, which means at API rates.

For most coding tasks, Sonnet 5.5 is perfectly adequate anyway. But on particularly complex tasks (large refactors, architecture decisions, tough debugging sessions), you can feel the difference compared to Opus.

Claude Max and Ultra: Is the Upgrade Worth It?

Above Pro, there are two larger plans: Max at $100/month and Ultra at $200/month.

Both have new names. Max 5x became Max, and Max 20x became Ultra. Prices stayed the same.

The biggest advantage over Pro is the higher usage limit, and you feel it most with Opus. Pro has included Opus access since April 2026, but the smaller limit runs out quickly there.

On July 24, 2026, Opus 5 became Anthropic's default model on Max, succeeding Opus 4.8 for agentic coding and enterprise workloads.

Fable 5.1 arrived above it as the new API frontier tier on September 1, 2026, but costs twice as much at $10/$50. Opus 5 therefore remains the more economical choice for demanding work. Fable 5.1 makes the most sense for exceptionally long agent runs, difficult coding, and multistep research.

Max and Ultra now include Fable, but only up to half of your weekly limit.

Since September 22, 2026, Opus 5.5 has been Anthropic's new flagship model in the Opus tier. From Claude Code v2.1.280 on, it is the default model on Pro, Max, Team, and Enterprise. It matches Fable 5.1's performance on most work, according to Anthropic, while costing 40% less to run than Opus 5.

Token prices are $4 input and $20 output per million tokens, compared to $5 and $25 for Opus 5. For Claude Code users on the API, Opus 5.5 is therefore often the more economical choice when you need Opus-level performance.

Max: The Sweet Spot

5x the usage of Pro, per 5-hour window and per week, plus Fable up to half of your weekly limit. For most power users, this is the best trade-off between price and performance.

Max is worth it if:

  • You work with Claude Code 3 to 4 hours or more per day
  • You regularly work on complex projects that benefit from Opus
  • You constantly hit the usage limits on Pro

Ultra (Formerly Max 20x): For Full-Time Developers

Ultra no longer has a 5-hour limit. That applies to verified accounts, which Anthropic checks automatically based on account and payment history. Newer accounts keep a 5-hour limit for now.

What remains is the weekly limit, with ten times the usage of Pro. It applies across all models and resets at a fixed time each week. Anthropic does not state a number of hours for it.

For me, this weekly limit is exactly the bottleneck. With my system Finn OS, AI agents run practically around the clock. Between August 27 and September 25, 2026, I hit the limits on 5 of 30 days, mostly the weekly one. If you run multiple agents in parallel or continuously, keep it in mind.

Ultra mainly makes sense if you use Claude Code as your primary development tool and work with it practically all day. Or if you work in a team and the per-developer cost ends up lower than dedicated Team seats anyway.

Running Claude Code on Your Own VPS

As soon as you stop using Claude Code only interactively in the terminal and start kicking off longer-running tasks or agents in headless mode, a different question comes up: where should all of this actually run?

Running it on your own laptop is often impractical. The machine has to stay on, the fan spins up, and once you close the lid or head out, your session is gone. For an overnight refactor, a scheduled test cron job, or an agent working through a task for hours, a small server is far more relaxed.

That is exactly what a cheap VPS (Virtual Private Server) is for. You install Claude Code there once, connect via SSH, and let your tasks run without tying up your own machine.

The way Claude Code is billed does not change. You keep using your subscription or your API key, just on a different machine.

Do you need this? Not for everyday terminal work. But once you move toward automation, 24/7 tasks, or several agents running in parallel, it is a clean solution. A small Hostinger VPS is an affordable starting point. Liquid Web is another option if you want a general-purpose VPS with full root access.

Using Claude Code via the API: What Does It Cost?

Instead of a subscription, you can also use Claude Code with your own API key (BYOK, "Bring Your Own Key"). You pay per token consumed.

The current API prices:

Input/MTok$10
Output/MTok$50
Cache Read/MTok$0.25
ModelMythos 5.1
Input/MTok$10
Output/MTok$50
Cache Read/MTok$0.25
ModelOpus 5.5
Input/MTok$4
Output/MTok$20
Cache Read/MTok$0.20
ModelOpus 5
Input/MTok$5
Output/MTok$25
Cache Read/MTok$0.50
ModelOpus 4.8
Input/MTok$5
Output/MTok$25
Cache Read/MTok$0.50
ModelOpus 4.6
Input/MTok$5
Output/MTok$25
Cache Read/MTok$0.50
ModelSonnet 5.5
Input/MTok$2
Output/MTok$10
Cache Read/MTok$0.10
ModelSonnet 5
Input/MTok$2
Output/MTok$10
Cache Read/MTok$0.20
ModelSonnet 4.6
Input/MTok$3
Output/MTok$15
Cache Read/MTok$0.30
ModelHaiku 5.5
Input/MTok$0.10
Output/MTok$0.50
Cache Read/MTok$0.01
ModelHaiku 4.5
Input/MTok$1
Output/MTok$5
Cache Read/MTok$0.10

The prices look steep at first glance. Especially Opus 5, 4.8, and 4.6 at $25 per million output tokens.

However:

This is where the most important cost factor comes into play, one that most people overlook: cache reads.

Why Cache Reads Change Everything

Claude Code uses prompt caching extremely aggressively. This means that files it has already read, your project state, and previous conversations are cached.

The result:

In typical sessions, over 90% of input tokens come from the cache. And depending on the model, cache reads cost only 2.5% to 10% of the normal input price; on Sonnet 5.5, it is 5%. The /usage command in Claude Code shows you your own cache share.

A calculation example with Sonnet 5.5:

  • Without cache: 1 million input tokens cost $2
  • With cache (90% cache reads): effective price roughly $0.29 per million tokens

That is around 85% less than the list price. This is why the actual API costs for Claude Code are so much lower than you would expect based on the token prices alone.

API vs. Subscription: Which Is Cheaper?

The short answer:

For the vast majority of users, the subscription is significantly cheaper.

Anthropic publishes averages from enterprise deployments:

  • On average, Claude Code costs around $13 per developer per active day via the API
  • 90% of users stay below $30 per active day
  • That works out to $150 to $250 per developer per month

How much a subscription gives you at full load is something I measured myself, using my local Claude Code logs and the open-source tool ccusage:

Between August 27 and September 25, 2026, my Claude Max 20x plan ($200 per month, now Ultra) ran usage worth $15,001.91 at API list prices. That is 75 times the plan price.

The API equivalent shows what the same tokens would have cost at Anthropic's API list prices. Via the API, I would have used fewer tokens and cheaper models.

Let us break this down for different user types:

User typeCasual user (1-2h/day)
API cost/day~$3
API cost/month~$60
Subscription/month$20 (Pro)
RecommendationPro
User typeRegular (3-4h/day)
API cost/day~$6
API cost/month~$120
Subscription/month$100 (Max)
RecommendationMax
User typePower user (6h+/day)
API cost/day~$12
API cost/month~$240
Subscription/month$200 (Ultra)
RecommendationUltra
User typeSporadic (a few times per week)
API cost/day~$3
API cost/month~$30
Subscription/month$20 (Pro)
RecommendationPro (or API)

The API only makes sense in one case: if you use Claude Code so rarely that you stay under $20 per month. At fewer than 3 to 4 usage days per month, the API can be cheaper. In every other case, you are better off with a subscription.

Claude Code vs. Cursor vs. Copilot: The Price Comparison

Claude Code is not the only AI coding tool on the market. Comparing it to the competition is important before you commit to a plan.

ToolClaude Code
FreeNo
Entry$20 (Pro)
Power$100 (Max)
Premium$200 (Ultra)
ToolCursor
FreeYes (limited)
Entry$30 (Premium)
Power$100 (Super)
Premium$200 (Ultra)
ToolGitHub Copilot
FreeYes (limited)
Entry$10 (Pro)
Power$39 (Pro+)
Premium$100 (Max)
ToolDevin Desktop (formerly Windsurf)
FreeYes (limited)
Entry$20 (Pro)
Power-
Premium$200 (Max)
ToolOpenAI Codex
FreeYes (limited)
Entry$20 (Plus)
Power$100 (Pro)
Premium$200 (Pro)

The entry prices in direct comparison:

GitHub Copilot (Pro)
$10/month
Claude Code (Pro)
$20/month
Devin Desktop (Pro, formerly Windsurf)
$20/month
OpenAI Codex (ChatGPT Plus)
$20/month
Cursor (Premium)
$30/month
Sources: GitHub Copilot, Cursor et al.
gradually.ai

At first glance, GitHub Copilot at $10/month is the cheapest entry point. And for simple code completion in the editor, Copilot is still a solid choice. Worth noting: since June 1, 2026, GitHub Copilot has billed by usage through AI Credits. With heavy agentic use, costs can exceed the $10/month base price significantly.

However:

Claude Code and Copilot are fundamentally different tools. Copilot completes individual lines of code. Claude Code understands and edits entire projects. It is like the difference between a calculator and an accountant.

Cursor is the most direct competitor, with a higher entry price at Premium ($30). The $8 Plus plan only uses Grok models; Claude and GPT cost extra at API list prices. Above that, Super ($100) and Ultra ($200) match the prices of Claude Code's Max and Ultra plans. In return, Claude Code runs natively in the terminal without its own IDE.

My comparison after months of using both tools: Claude Code delivers better results on complex, cross-project tasks. Cursor is more comfortable if you primarily want to work inside an IDE. Many developers (myself included) use both in parallel.

5 Tips to Reduce Your Claude Code Costs

Regardless of which plan you are on, these tips will help you get more out of your budget:

Tip 1: Use Sonnet Instead of Opus (When Possible)

Opus 5.5 is impressive. But Sonnet 5.5 is sufficient for most coding tasks, especially well-scoped tasks and bug fixes. On API usage, Sonnet 5.5 costs half as much as Opus 5.5, at $2 input and $10 output per million tokens. Compared with Fable 5.1, the price drops to one fifth.

Rule of thumb: Use Opus for architecture decisions and complex debugging sessions. For everything else, Sonnet does the job.

Tip 2: Keep Your CLAUDE.md Up to Date

A well-maintained CLAUDE.md file saves tokens because Claude Code immediately understands your project instead of having to read through half the codebase first. This sounds like a small thing, but it makes a measurable difference with intensive use.

Tip 3: Use /compact Regularly

The /compact command compresses your conversation history. The longer a session runs, the more tokens each individual message consumes (because the entire context is sent along). Running /compact regularly keeps your token consumption in check.

Tip 4: Be Precise in Your Prompts

"Make the website look nicer" consumes more tokens than "Change the header background color from #fff to #f5f5f5". The more clearly you state what you want, the less back and forth Claude Code needs, and the fewer tokens you burn.

Tip 5: Start New Sessions for New Tasks

Instead of running one endless session, start a new session for each major task. This keeps the context lean and prevents Claude Code from dragging along thousands of irrelevant tokens with every message.

Which Plan Is Right for You?

Enough theory. Here is my clear recommendation, based on more than a year of daily use:

You want to try Claude Code or use it a few times per week? Get Claude Pro at $20/month. No risk, and it is more than enough for getting started and most use cases.

You work with Claude Code several hours every day and want to use Opus 5.5 without constant limits? Get Max at $100/month. This is the sweet spot for serious users.

You are a professional developer and Claude Code is your primary tool? Get Ultra at $200/month. At 8+ hours of daily use, it pays for itself compared to the API immediately, and those are exactly the days when you notice the missing 5-hour limit.

You lead a team? Do the math carefully. Standard seats cost $25/user/month ($20 with annual billing), Premium seats with 5x the usage cost $125 ($100 with annual billing). For small teams (2 to 3 people), it can be cheaper if everyone has their own Max plan.

Want to learn more about how to use Claude Code in practice? Check out my complete Claude Code guide.

Frequently Asked Questions

Claude Code is free to install, but it is not included with Claude's Free plan. You can use it with a paid Claude plan such as Pro, Max, or Ultra, or pay through the Console/API based on usage. API billing has no fixed monthly fee; it depends on the model and tokens used. For the free options and limits, see my guide to using Claude Code for free.

Pro costs $20 per month, or $200 billed upfront for an annual plan (equivalent to $17 per month). Max is $100 and Ultra is $200 per month. API use has no fixed monthly fee; charges depend on the model and token use.

Max may be worth considering if you regularly reach Pro's included limits or need substantially more usage. Anthropic lists Max at five times Pro's usage, per five-hour window and per week. Ultra has no five-hour limit for verified accounts and offers ten times Pro's weekly usage. The right plan depends on your models, tasks, and usage, not a fixed number of working hours.

There is no universal answer. A subscription has a fixed monthly price and includes usage up to its plan limits. API billing depends on the model, input and output tokens, and your workflow. Compare your actual usage with current API rates; a subscription is not automatically cheaper for everyone.

Anthropic now calls this feature Usage Credits. In Claude Code, the /usage-credits command opens the matching settings page. If you enable it on a paid plan, Claude can continue at standard API rates after you reach an included limit. The extra charges are billed separately. You can set a monthly spending limit in Settings, and configure automatic reloading as well.

Yes. Claude Code is included in paid Team plans. A Standard seat costs $25 per person per month, or $20 with annual billing; a Premium seat costs $125 or $100. Anthropic says Premium includes five times the usage of Standard. These are per-seat prices, not one allowance shared by the whole team.

Claude Pro costs $20 per month ($200 billed upfront for an annual plan).

The X Subscription combines Cursor, Grok, and X, with a weekly usage pool shared by Cursor and Grok. New customers start on The X Subscription; existing Cursor plans continue unless they switch. Current individual tiers list Plus at $8, Premium at $30, Super at $100, and Ultra at $200 per month, before applicable taxes and fees. Plus includes Cursor access, but only Grok models are available on that tier. Claude, GPT, and other third-party models are not included in its usage pool. Premium and higher tiers let you use third-party models at API list prices, billed separately and paid from prepaid credit.

Max (formerly Max 5x) costs $100 per month and, according to Anthropic, includes five times Pro's usage per five-hour window and per week. Ultra (formerly Max 20x) costs $200, has no five-hour limit for verified accounts, and includes ten times Pro's weekly usage. There is no fixed message count because usage depends on factors such as message length, context, and model.

No. Max includes $100 and Ultra $200 in API credits per month. The credits land in a linked Claude Console organization and cover the Claude API, the Agent SDK, and Managed Agents. According to Anthropic, they do not cover Claude Code or usage credits in the Claude apps. Unused credits expire at the end of each billing cycle.
FH

Finn Hillebrandt

AI Expert & Blogger

Finn Hillebrandt is the founder of Gradually AI, an SEO and AI expert. He helps online entrepreneurs simplify and automate their processes and marketing with AI. Finn shares his knowledge here on the blog in 50+ articles as well as through the AI Business Club.

Learn more about Finn and the team, follow Finn on LinkedIn, join his Facebook group for ChatGPT, OpenAI & AI Tools or do like 17,500+ others and subscribe to his AI Newsletter with tips, news and offers about AI tools and online business. Also visit his other blog, Blogmojo, which is about WordPress, blogging and SEO.