Last verified

Is Claude Code free?

No.
Paid plan or API credits · no free tier

No. Claude Code needs a paid account: a Claude subscription (Pro from $20/mo, Max, Team or Enterprise), a Console account with pre-paid API credits, or your employer's cloud provider. There is no free tier and no trial — the free Claude plan doesn't include it. The "free forever" setups you'll find on YouTube point the CLI at somebody else's model, which is a different tool wearing the same client.

No free tier — the free Claude plan isn't on the accepted list No free trial documented for Claude Code specifically Cheapest official route — Claude Pro at $20/mo, or $17/mo billed annually Pay-per-token instead — a Console account with pre-paid credits, no subscription The client is free to install — it's the model behind it you pay for
§ 01 / SOURCE

Where this answer comes from.

Methodology →
PER VENDOR DOCS · AUG 01, 2026

Anthropic's own quickstart lists what unlocks it — and a free plan isn't on the list.

The "Before you begin" section names exactly four ways in: a Claude subscription (Pro, Max, Team or Enterprise), a Claude Console account with pre-paid API credits, access through Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry, or a self-hosted Claude apps gateway your organisation runs. The login step repeats it plainly: Claude Code requires an account to use.

Two absences matter as much as the list. The free Claude tier appears nowhere in it, and no free trial of Claude Code is documented anywhere in the setup flow. Installing the CLI costs nothing and takes seconds — but the first prompt you type is a request to a paid model, so the install is not the thing being sold.

Prices below come from our verified plan sheet (checked 2026-07-16), the same one behind the subscription-vs-API calculator, so they don't drift out of step with the rest of the site when Anthropic reprices.

Cheapest plan: Claude Pro · $20/moAnnual billing: $17/moHeavier tiers: Max $100 · $200No-subscription route: Console creditsFree tier: nonePrices verified: 2026-07-16
!
Per vendor docs — we did not run this test. The answer above rests on the source below, read on . Where we run a capability ourselves, this section carries the terminal transcript instead.
Source Anthropic docs — Claude Code quickstart, "Before you begin" https://code.claude.com/docs/en/quickstart
§ 02 / WHY

What actually unlocks it.

2.1
Four doors, all of them paid

Claude Code authenticates against one of four things, and every one of them has a bill attached:

  • A Claude subscription — Pro, Max, Team or Enterprise. The usual choice for individuals, and the one that makes usage feel flat-rate.
  • A Claude Console account — pre-paid API credits, billed per token. No monthly commitment; on first login a "Claude Code" workspace is created for cost tracking.
  • An enterprise cloud provider — Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry. Your employer pays; you authenticate through them.
  • A self-hosted Claude apps gateway, if your organisation runs one.

The free Claude tier is not among them. Neither is a trial.

2.2
Which route is cheaper depends on how hard you drive it

Subscription and credits are genuinely different bets, not two prices for the same thing. A subscription is a flat monthly fee with usage limits; credits cost exactly what you consume, which is excellent for light or bursty use and unpleasant during a long refactor.

The honest way to choose is to model your own volume rather than trust a rule of thumb — that's what our subscription-vs-API calculator is for. If you're weighing tiers instead, we've written up Claude Free vs Pro and Pro vs Max separately.

2.3
What the "free Claude Code" videos are really doing

Search this question and most of page one is people showing you how to avoid paying. The mechanism is nearly always the same: point the CLI's ANTHROPIC_BASE_URL at a proxy that serves some other model — an OpenRouter free tier, a Google AI Studio key, a local Ollama install.

It works, and it is worth being precise about what you end up with. You are no longer using Claude. You're using Anthropic's client with a different model behind it, so the coding quality is whatever that model does, not what the benchmarks for Claude say. If the proxy is somebody else's hosted service, your source code passes through it. And the part that was ever free — the client — was always free to install.

If your goal is genuinely zero spend, the honest version of that is an open-source agent pointed at a model you host yourself. Options below.

→ IF THE BUDGET IS ZERO

Agents that are free by design.

Both are open-source and can run against a model on your own hardware, so nothing leaves your machine and nothing is billed. We have not benchmarked either against Claude Code — quality tracks whatever model your hardware can host, so test on your own repository before committing.

Frequently asked.

Quick follow-ups people search after this question.

Q · 01 Can I use Claude Code for free at all? +
Not through Anthropic. Every documented way in — subscription, Console credits, an enterprise cloud provider, a corporate gateway — is billed to somebody. Installing the CLI is free, and that is the only free part.
Q · 02 Does Claude Code cost money on top of my Claude subscription? +
No. A Claude subscription (Pro, Max, Team, Enterprise) covers Claude Code within that plan's usage limits — there is no separate Claude Code fee. Console credits are the other model: no subscription, you pay per token instead.
Q · 03 Is Claude Code free in VS Code? +
No. The VS Code and JetBrains extensions are additional interfaces to the same product and use the same login, so the same paid account requirement applies. Nothing about the editor changes the billing.
Q · 04 Is there a free trial? +
Anthropic documents no free trial of Claude Code. The nearest thing to a low-commitment start is a Console account with a small pre-paid credit balance: you pay for what you use and stop whenever you like, without a monthly plan.
Q · 05 What about the OpenRouter and Ollama tricks that make it free? +
They point the client at a different model rather than making Claude free. That is a real, working setup — and it means the answers you get are that model's answers, and your code travels through whatever proxy you configured. See section 2.3 above.