Table of Contents
- What does Claude Code cost per month on each plan?
- How much does Claude Code cost per token through the API?
- What do developers actually spend on Claude Code per day and per month?
- Should you pay for a Claude subscription or the API, and which tier fits your hours?
- Why does an always-on machine change the total Claude Code cost?
- How do you check how much you have spent in Claude Code?
- How can you cut Claude Code token spend without slowing down?
- When should a company route Claude Code through Bedrock or Vertex AI?
- Is there a student discount or a cheaper way to get Claude Code?
- How did we compare these options?
- How do you get started with Agent 37?
- What do people also ask?
- Is Claude Code totally free?
- Is Claude Code worth paying for?
- How much does a Claude Code token cost?
- Is Claude Code $20 worth it?
- Does Agent 37 make Claude Code cheaper?
Do not index
Claude Code cost starts at $20 per month on the Claude Pro plan, rises to $100 (Max 5x) or $200 (Max 20x) for heavier use, or runs pay-per-token through the Anthropic API with no plan fee at all. If you want Claude Code to keep working after you close your laptop, we recommend Agent 37: a managed hosting platform that runs Claude Code on a persistent, always-on Linux instance provisioned through one API call, where you bring your own Anthropic key or plan. Agent 37 is not a Claude subscription and does not discount Anthropic's rates; it is the computer your agent runs on, so the repo, sessions, and overnight jobs survive when you log off.
Key takeaways
- Plans: Claude Code is included with Pro ($20 per month), Max 5x ($100), Max 20x ($200), Team premium seats, and Enterprise. The Free plan does not include Claude Code.
- API rates: Anthropic currently lists Sonnet 4.5 at $3 per million input tokens and $15 per million output, Haiku 4.5 at $1 and $5, and Opus 4.5 at $5 and $25. Confirm current rates on Anthropic's pricing page before budgeting.
- Real spend: Anthropic's cost documentation reports an average near $6 per developer per day, with 90 percent of users under $12 daily, which works out to roughly $100 to $200 per developer per month on Sonnet.
- Decision rule: under an hour a day fits Pro; two to four hours a day or regular Opus use fits Max 5x; all-day or parallel agent work fits Max 20x; the API only wins when your token bill stays below the plan you would otherwise buy.
- Hosting: an always-on worker on a small hyperscaler VM lands near $25 a month before storage and networking. Agent 37 runs Claude Code on a persistent, always-on instance provisioned through one API call, with API keys going directly to Anthropic.

Key takeaways
- Plans: Claude Code is included with Pro ($20 per month), Max 5x ($100), Max 20x ($200), Team premium seats, and Enterprise. The Free plan does not include Claude Code.
- API rates: Anthropic currently lists Sonnet 4.5 at $3 per million input tokens and $15 per million output, Haiku 4.5 at $1 and $5, and Opus 4.5 at $5 and $25. Confirm current rates on Anthropic's pricing page before budgeting.
- Real spend: Anthropic's cost documentation reports an average near $6 per developer per day, with 90 percent of users under $12 daily, which works out to roughly $100 to $200 per developer per month on Sonnet.
- Decision rule: under an hour a day fits Pro; two to four hours a day or regular Opus use fits Max 5x; all-day or parallel agent work fits Max 20x; the API only wins when your token bill stays below the plan you would otherwise buy.
- Hosting: an always-on worker on a small hyperscaler VM lands near $25 a month before storage and networking. Agent 37 runs Claude Code on a persistent instance starting at $3.99 per month with API keys going directly to Anthropic.
What does Claude Code cost per month on each plan?
Claude Code is included with Claude Pro at $20 per month, Max 5x at $100, and Max 20x at $200, plus Team premium seats and Enterprise contracts. The Free plan does not include Claude Code. API billing is the alternative: you pay per token at each model's published rate with no monthly plan fee.
Here is the at-a-glance view. Prices are Anthropic's published US dollar rates at the time of writing; the Anthropic pricing page is the source of truth if anything has moved.
Plan or route | Price | Claude Code included | Standout limit |
Claude Free | $0 | No | Chat only, no terminal agent |
Claude Pro | $20 per month, or $17 per month billed annually | Yes | Shares one 5-hour usage window with Claude chat; weekly cap applies |
Claude Max 5x | $100 per month | Yes | 5 times Pro usage; weekly cap still applies |
Claude Max 20x | $200 per month | Yes | 20 times Pro usage; the ceiling for individuals |
Claude Team | Standard seats from $25 per user per month billed annually; premium seats cost more and add Claude Code | Premium seats only | Minimum seat count; confirm current seat prices on Anthropic's site |
Claude Enterprise | Custom contract | Yes | Sales process, annual commitment |
Anthropic API (pay as you go) | Per token, by model | Yes | No cap, but also no ceiling on spend |
Agent 37 hosting (not a Claude plan) | Starting at $3.99 per month, provisioned through one API call | Runs your Claude Code around the clock | You still bring your own Anthropic plan or key |
Two details trip people up. First, the Pro and Max subscriptions bundle Claude Code with the chat app, so a long Claude Code session eats the same budget as a long chat. Second, Team's Standard seat does not include Claude Code; you need the premium seat, which is why team quotes often come in higher than the headline $25 figure.
How much does Claude Code cost per token through the API?
Through the API, Claude Code bills every input and output token at the model's published rate. At the time of writing Anthropic lists Sonnet 4.5 at $3 per million input tokens and $15 per million output, Haiku 4.5 at $1 and $5, and Opus 4.5 at $5 and $25.
The key to understanding the bill is that Claude Code is an agent, not a chat box. Every turn resends the conversation so far, including file contents and tool results, as input tokens. A session sitting at 100,000 tokens of context pays for those 100,000 input tokens again on each new turn, before prompt caching discounts kick in for repeated context.
That is why input tokens, not output, dominate most Claude Code bills. The worked examples below are illustrative arithmetic using the rates above, not measurements, and they ignore caching discounts, which can cut the input side substantially.
Task (illustrative) | Tokens used | Sonnet 4.5 | Opus 4.5 |
Small bug fix in one file | 200K input, 20K output | $0.90 | $1.50 |
New feature across several files | 1.5M input, 150K output | $6.75 | $11.25 |
Multi-file refactor with tests | 4M input, 300K output | $16.50 | $27.50 |
Read the table as a ratio rather than a quote. Opus costs about 1.7 times Sonnet for the same token pattern at current rates, and a refactor that keeps a huge context alive costs far more than three bug fixes in fresh sessions.

What do developers actually spend on Claude Code per day and per month?
Anthropic's own cost documentation reports an average of about $6 per developer per day, with 90 percent of users staying under $12 daily, and typical monthly spend near $100 to $200 per developer on Sonnet. Heavy users running Opus, parallel sessions, or long autonomous jobs report daily bills several times higher on Reddit and in blog breakdowns.
The figures come from the Claude Code cost management docs, which also note that spend varies with codebase size and task length. On a 22-day working month, $6 a day is $132 and $12 a day is $264, which is the arithmetic behind the common advice that Max 5x at $100 beats the API for most full-time users.
The Reddit outliers are real but explainable. Posts about $50 or $100 days almost always involve Opus, several terminals running at once, or an agent left looping on a failing test suite. Each of those multiplies the per-turn context cost described above.
Is the spend worth it? Adoption says developers think so: the Stack Overflow 2025 Developer Survey found 84 percent of developers use or plan to use AI tools, while 46 percent distrust the accuracy of their output. McKinsey's analysis of generative AI's economic potential puts software engineering among the functions with the largest productivity upside. The honest framing is that a $100 plan pays for itself if it saves a few hours a month, and the trust gap means you still review the output.
Should you pay for a Claude subscription or the API, and which tier fits your hours?
Under an hour a day on Sonnet, Pro at $20 is enough. Two to four hours a day, or regular Opus use, points to Max 5x at $100. All-day work, parallel sessions, or overnight jobs justify Max 20x at $200. Choose the API only when your monthly token bill would stay below the plan you would otherwise buy.
The limits work like this. Pro and Max usage is measured in rolling 5-hour windows; when you exhaust a window, Claude Code pauses until it resets. Since late August 2025, Anthropic has also applied weekly caps to Pro and Max, so sustained all-day use can hit a wall even on Max 20x. The 5x and 20x labels mean exactly that: five or twenty times the usage of Pro in each window.
When you hit a limit you have three options: wait for the reset, switch that session to API billing with your own key, or use Anthropic's option to purchase extra usage at API rates where it is offered on your plan. Opus access on Pro has changed more than once in the past year, so check the current plan page before assuming Pro is Sonnet-only.
Two decision rules keep this simple. If your API bill exceeds the price of a plan two months in a row, switch to that plan. If you hit the 5-hour wall more than twice a week, move up one tier; the time lost waiting usually costs more than the price difference.
Why does an always-on machine change the total Claude Code cost?
The subscription or API bill is only part of the picture once you want Claude Code working after your laptop closes. A small always-on hyperscaler VM lands near $25 a month before storage and networking. Agent 37 runs Claude Code on a persistent, always-on instance provisioned through one API call, and you bring your own Anthropic key or plan.
This matters for anyone handing Claude Code long jobs: an overnight migration, a scheduled dependency bump, or a task board of fixes to work through. Running it on your laptop means the job dies when the lid closes. Running it on a hyperscaler means paying for a VM, a scheduler, and the time to keep it patched.
Agent 37 is the managed version of that machine. Our Claude Code hosting on a persistent cloud instance is provisioned with one API call, keeps the repo and sessions between runs, and is managed through a browser terminal, file browser, and live desktop. Your Anthropic API key goes directly to Anthropic; we never touch it, and your data stays in an isolated container.
Plans start at $3.99 per month on our pricing page, with a bring-your-own API keys model. To be clear about what this is not: Agent 37 does not resell Claude tokens, does not lower Anthropic's per-token price, and is not a substitute for a Pro or Max plan.
The savings show up at the infrastructure layer, not the model layer. Your mileage depends on what you were paying before, but the pattern is consistent: the always-on compute is where self-hosting gets expensive, and managed hosting is where it gets cheap.
How do you check how much you have spent in Claude Code?
Inside a session, type /cost to see token usage and the dollar estimate for API-billed work, and /usage to see where you stand against plan limits as a Pro or Max subscriber. Recent builds also show a running token counter beside the spinner. For the authoritative bill, use the Anthropic Console usage reports or your cloud provider's billing dashboard.
A common confusion: subscribers run /cost, see a dollar figure, and panic. That figure is the API-equivalent estimate for the session and is not charged on top of your plan. The number that matters for a Pro or Max user is the percentage shown by /usage.
For teams on the API, the Anthropic Console lets you create workspaces with monthly spend limits and alerts, so one runaway agent cannot drain a shared account. On Bedrock or Vertex AI, the same job is done by the AWS or Google Cloud budget tools your finance team already uses.

How can you cut Claude Code token spend without slowing down?
The biggest savings come from context, not haggling. Run /clear between unrelated tasks, use /compact before long sessions bloat, and keep CLAUDE.md short because it loads on every turn. Default to Sonnet or Haiku and reserve Opus for hard problems. Prune MCP servers you are not using, cap extended thinking, and give subagents narrow jobs.
Each tip maps to a line item in the bill:
- Clear between tasks. Every turn resends the whole context, so a 150K-token conversation about yesterday's bug is pure overhead on today's feature.
- Compact proactively. /compact summarizes the conversation so far. Doing it at 60 percent of the context window is cheaper than letting auto-compact fire at the limit.
- Trim CLAUDE.md. Project instructions are injected on every turn. A 3,000-token file costs 3,000 input tokens per turn, all day.
- Pick the model per task. Switch with /model. Haiku for lookups and boilerplate, Sonnet as the default, Opus when Sonnet fails twice.
- Audit MCP servers. Every connected server adds tool definitions to the context, whether or not you call them.
- Budget extended thinking. Thinking tokens bill as output, the expensive side. Use the higher thinking budget only on genuinely hard problems.
- Scope subagents. Each subagent gets its own context window, which is great for isolation and bad for cost if you spawn five of them to read the same files.
On a persistent instance, one more lever appears: caches, dependencies, and cloned repos stay on disk between runs, so the agent does not spend tokens rediscovering the project each morning.
When should a company route Claude Code through Bedrock or Vertex AI?
Route Claude Code through Amazon Bedrock or Google Vertex AI when procurement, data residency, or existing cloud commitments matter more than the simplest setup. You pay the model rates listed by that cloud provider and the usage appears on your AWS or Google Cloud bill, which lets finance apply budgets, alerts, and spend limits they already manage.
Setup is an environment variable (CLAUDE_CODE_USE_BEDROCK or CLAUDE_CODE_USE_VERTEX) plus the cloud credentials your team already uses. Model availability can lag Anthropic's direct API by days or weeks, and per-token rates can differ slightly from Anthropic's list, so confirm both in the provider's console.
For companies hosting agents for their own users, the cost model is different again: one instance per customer. Our Agent 37 Cloud API is built for that pattern.
Is there a student discount or a cheaper way to get Claude Code?
Anthropic does not publish a student discount for Claude Pro or Max at the time of writing, though it offers Claude for Education programs to institutions. The cheapest routes are annual billing on Pro, which drops the monthly price to $17, API billing with Haiku for light use, or a free terminal agent such as Gemini CLI while you learn.
Regional pricing is similar: Anthropic lists one US dollar price for Pro and Max rather than country-specific tiers, so the cost in your local currency follows the exchange rate. Students should ask their institution whether a Claude for Education agreement exists before paying individually.
If you mainly want to learn agentic coding on a budget, Gemini CLI allows 1,000 requests per day on a personal Google account, and open-source harnesses such as Pi, OpenCode, Cline, and Aider work with bring-your-own-key billing. All of them run on the same always-on agent hosting as Claude Code if you later want them working around the clock.
How did we compare these options?
We compared Anthropic's published plan prices and per-token rates, the usage-limit descriptions on its plan and documentation pages, and the scope of each access route (subscription, direct API, Bedrock, Vertex AI). Agent 37 figures come from our own pricing and solution pages. Worked token examples are illustrative arithmetic from published rates, not measured sessions.
How do you get started with Agent 37?
Getting started takes one click or one API call. Pick Claude Code as the agent, connect your own Anthropic key or plan, and your persistent instance is live with a browser terminal, file browser, and live desktop. Your key goes straight to Anthropic, your data stays in an isolated container, and the machine keeps working after you log off.
If Claude Code is already part of your day and you are tired of babysitting a laptop or a VPS, launch an always-on Claude Code instance on Agent 37 and let the next long job finish without you.
What do people also ask?
Is Claude Code totally free?
No. Claude Code is not included on the Claude Free plan. You need a Claude Pro ($20 per month), Max ($100 or $200 per month), Team premium seat, or Enterprise subscription, or you can pay per token through the Anthropic API with your own key. The software itself has no separate license fee; you pay for the model usage behind it.
Is Claude Code worth paying for?
For most full-time developers, yes. Anthropic reports average spend near $6 per developer per day, so a $100 Max 5x plan pays for itself if it saves a few hours a month. The Stack Overflow 2025 survey shows 84 percent of developers use or plan to use AI tools, though 46 percent distrust the accuracy, so budget review time alongside the subscription.
How much does a Claude Code token cost?
Claude Code bills at the model's published API rate. At the time of writing, Sonnet 4.5 is $3 per million input tokens and $15 per million output, Haiku 4.5 is $1 and $5, and Opus 4.5 is $5 and $25. Input tokens dominate because every turn resends the conversation context. Confirm current rates on Anthropic's pricing page.
Is Claude Code $20 worth it?
The $20 Pro plan is worth it if you use Claude Code for under an hour a day on Sonnet and can live with a shared 5-hour usage window and a weekly cap. If you hit the limit more than twice a week, or you want Opus regularly, Max 5x at $100 is usually the better value than waiting out resets.
Does Agent 37 make Claude Code cheaper?
Not at the model layer. Agent 37 does not resell Claude tokens or discount Anthropic's rates; you bring your own Anthropic plan or API key, and the key goes directly to Anthropic. What Agent 37 lowers is the infrastructure cost of keeping Claude Code running around the clock: a persistent, always-on instance provisioned through one API call instead of a self-managed VM.