You've seen Claude Code go by, Anthropic's development assistant that works directly in your terminal, and you're asking the only question that matters before you start: how much is this going to cost you per month. The answer fits in one sentence: anywhere from $0 to several hundred dollars, depending on the billing mode you pick and how you use it. There are two modes, the fixed-price monthly subscription and the API billed per token consumed, and they're aimed at completely different profiles. A beginner coding two hours in the evening and a studio running agents all day long don't pay the same amount, and they don't pay it the same way.
So let's lay out the numbers, the sample bills based on your usage, and the concrete settings that bring the total down without degrading the quality of the output. By the end you'll know which mode to pick and what budget to expect.
What Exactly You're Paying For When You Use Claude Code
You never pay for the Claude Code software itself: it's free to install. What you pay for is access to the AI model working behind it.
That's the point everyone misses at first. Claude Code is a command-line program you install on your computer in about a minute. Installing it costs nothing. But every time it reads a file, thinks, or writes code, it sends a request to Anthropic's servers, and that request is what gets billed.
Billing happens in tokens. A token is a chunk of a word: roughly 4 characters, which works out to about 750 words per 1,000 tokens. You count input tokens (everything Claude reads: your request, your files, the conversation history) and output tokens (everything it writes: the code, the explanations). Output always costs more than input, usually about 5 times more.
Worth remembering: a 300-line code file is about 4,000 tokens. If Claude Code reads ten files to understand your project before answering, it has already burned 40,000 input tokens before writing a single line. That's exactly where bills spiral, and it's also where you can cut them in half.
There are three ways to pay for that access. Here they are in the order I'd suggest considering them when you're starting out.
Method 1: Learn First, Burn Tokens Second
The cheapest way to use Claude Code is to learn how to drive it before you open the billing tap.
This isn't a comfort tip. A beginner discovering the tool by trial and error easily burns three to five times more tokens than a trained user, for a worse result. They fire the same request five times, let the conversation history balloon over hours, let Claude re-read the entire project on every question, and pick the most expensive model to rename a variable. Over a month, the gap between the two runs into tens of dollars.
The Claude Code in the Terminal program from Skilzy is built around that: installation, the commands that matter, structuring a project, controlling consumption. You arrive at the billing question already knowing which plan to take and how not to waste it.
Skilzy is a French AI learning platform covering more than 15 programs (images, video, music, automation with n8n, prompt writing, AI-assisted development). It includes an AI Lab where you use the real tools with credits included, which saves you from stacking three or four subscriptions during your learning phase. Two state-recognized, fundable certifications round it out (RS7439 in AI content marketing, RS6792 in AI and sales).
Be clear on one point: training doesn't replace your Claude access. You'll still need a Claude subscription or an API key to run Claude Code on your machine. What you save is the month or two of waste that almost everyone pays while learning on the fly.
Method 2: The Claude Pro or Max Monthly Subscription
The subscription is the right call in more than 80% of cases: fixed price, no end-of-month surprises, and Claude Code included.
Anthropic offers several consumer plans, and Claude Code is accessible from the paid ones. Here are the ballpark public prices, in dollars, billed monthly.
| Plan | Indicative price | Who it's for |
|---|---|---|
| Free | $0 | Chatting with Claude on the web, no Claude Code |
| Pro | about $20 per month | Regular but reasonable use, a few hours a week |
| Max (first tier) | about $100 per month | Intensive daily use, several long sessions a day |
| Max (higher tier) | about $200 per month | Very long sessions, several agents in parallel |
These amounts are in dollars and they change. Always check Anthropic's official pricing page before committing, it's the only authoritative source.
The mechanics are simple: you pay a flat fee and get a generous but bounded usage allowance that resets in windows of a few hours. If you hit the limit, you wait for the next window or move up a tier. No unexpected charge lands on your card.
The right instinct: start with Pro. It's more than enough to learn, build a site, automate scripts, work on a personal project in the evenings and on weekends. You only move up to Max the day you regularly hit the ceiling, and on that day you'll know it unambiguously, because Claude Code tells you.
For teams, Anthropic offers per-user plans with centralized billing and access management. The per-seat price is higher than individual Pro, but the administration is worth it once you're at three or four developers.
Method 3: The API Billed per Token
The API makes you pay exactly what you consume, no more and no less: brutally cheap for light use, dangerously elastic for heavy use.
No flat fee here. You create an API key, top up a balance, and every request draws it down. Rates are expressed per million tokens and depend on the model. Here are the ballpark figures for the three tiers:
| Model tier | Input (per million tokens) | Output (per million tokens) |
|---|---|---|
| Fast, lightweight model | about $1 | about $5 |
| Balanced model | about $3 | about $15 |
| Most powerful model | about $15 | about $75 |
Let's translate that into real usage. A serious work session on a balanced model, say 50,000 tokens read and 10,000 tokens written, costs about $0.15 of input plus $0.15 of output, so roughly $0.30. Thirty sessions like that in a month puts you around $9. At that point the API is considerably cheaper than a Pro subscription.
Now take a developer running the most powerful model on a large project all day, with full code reviews. That same day can cost $20 to $40. Over twenty working days, the bill blows well past Max. That's the whole problem with the API: it protects you from nothing.
Two official mechanisms bring the total down. Prompt caching stores the stable part of your context: writing to the cache costs a bit more, but re-reads are billed at a fraction of the normal price, which pays off enormously when Claude Code re-reads the same files all day. Batch processing, for non-urgent requests, applies a discount on the order of 50%. The details of these mechanisms and how to track costs are covered in the official Claude Code documentation on costs.
If you go with the API, do one thing before anything else: set a monthly spending cap in your Anthropic console and turn on email alerts. That's two minutes of setup that saves you from a very nasty surprise.
Three Sample Bills by Profile
For the vast majority of people starting out, the realistic budget lands around $20 a month, not more.
| Profile | Real usage | Recommended mode | Monthly budget |
|---|---|---|---|
| Curious, 2 to 3 hrs a week | Small scripts, personal site, learning | API with a cap, or Pro | $5 to $20 |
| Regular developer, 2 hrs a day | One serious project, fixes, tests | Pro | about $20 |
| Full-time developer | All day, large codebase | Max first tier | about $100 |
| Team of 3 to 5 people | Daily production work | Team plans | $60 to $150 per person |
Compare those amounts to what they replace. Twenty dollars a month is the price of lunch. If Claude Code saves you two hours a week, the math is settled, whatever your hourly rate.
One last useful marker: pricing is in US dollars. If you're billed in another currency, your bank will apply the day's exchange rate and sometimes a foreign transaction fee. Expect a few percent of difference between the listed price and the amount charged.
Six Settings That Bring the Bill Down
What's expensive isn't Claude Code, it's the useless context you make it re-read over and over.
Here's what produces a measurable effect, in order of impact:
- Clear the history between tasks. The
/clearcommand resets the conversation. Without it, every new message resends the whole accumulated history as input, and you pay several times over for the same information. - Write a
CLAUDE.mdfile at the root of your project. It describes your architecture, your conventions, and your commands once and for all. Claude stops blindly exploring your repo to guess how it's organized. It's the setting with the best effort-to-savings ratio, covered in detail in our guide to the CLAUDE.md file. - Match the model to the task. Renaming variables or reformatting a file doesn't require the most expensive model. Save that one for architecture and hard debugging, and switch to a fast model for the mechanical work.
- Watch your consumption live. The
/costcommand shows what the current session has cost. Look at it a few days in a row: you'll spot your expensive habits immediately. It's one of the Claude Code commands worth knowing. - Be precise in your requests. “Fix the authentication bug in
auth/login.js, line 42” costs ten times less than “there's a bug somewhere, find it,” because Claude doesn't have to comb through the entire project. - Get the plan approved before any writing. Asking for a plan first, correcting it, then launching execution avoids fully rewriting a feature that went off in the wrong direction. It's the output, the expensive part, that you save.
Applied together on the same project, these six points routinely bring a $40-per-month habit down to around $15. Nothing heroic: just less waste.
So, Subscription or API
If you're starting out, take the Pro subscription. Fixed price, zero surprises, and you focus on your code rather than on a meter. Move to the API the day you find that your usage is either very light and occasional (a few dollars will cover it) or, at the opposite extreme, very industrial, with caching and batching to optimize. And if you're still on the fence, install Claude Code, follow a structured course, and watch your real consumption for two weeks before deciding. The numbers from your own /cost beat any estimate, including the ones in this article.
The prices cited here are public ballpark figures as of the publication date. Confirm them on Anthropic's official page before committing to anything.