Is Claude Code free?

Updated 2026-07-15Asked across Reddit, Quora & Google· Claude Code
Short answer

No. Claude Code is free to download but not free to use. Running it requires a paid Claude plan—Pro starts at $20/month ($17 billed annually)—or metered API tokens. The consumer Free plan does not include Claude Code. New API accounts get a small one-time trial credit, but there is no ongoing free tier as of 2026-07.

Why — the first-principles explanation

The word 'free' splits into two parts here. The client (the `claude` command you install) genuinely costs nothing. But the client is just a messenger—it sends your code to Anthropic's AI models, which run on costly hardware. That inference cost is the real price, and it's what a subscription or API bill pays for.

Anthropic could give the compute away, but at scale it's expensive, so instead they bundle it into plans. The Free plan covers chat with Claude but not Claude Code. Paid access starts at Pro, where a flat fee covers your coding within usage limits. This bundling is why 'is it free' has a firm answer: the tool yes, the usage no.

The closest thing to free is a trial: new API accounts get a one-time credit to kick the tires, and cloud platforms sometimes offer promo credits. Both run out. So the accurate summary is that Claude Code is free to install and try, but paid to run for real work.

An example that makes it click

Think of a fancy espresso machine that a coffee company lends you for free. The machine (the app) costs nothing to take home. But every cup needs a coffee pod (the AI compute), and those you buy. The company might toss in a few free pods to get you hooked (trial credits), but once they're gone you're buying pods—or you subscribe to a pod plan for $20 a month so you never run out.

Key facts

Infographic: Is Claude Code free — short answer and key facts
Visual summary — Is Claude Code free?
CC
Try Claude Code by Anthropic

Anthropic's agentic coding tool that works in your terminal.

Affiliate link — we may earn a commission at no cost to you.
Visit Claude Code ↗
▶ The 60-second explainer (script)

Is Claude Code free? Short answer: no—but with an asterisk. The tool itself, the command you install, is completely free to download. What isn't free is the actual usage, because every task runs on Anthropic's AI models on expensive hardware. To pay for that, you need a plan. And here's the catch a lot of people miss: the free Claude plan covers chat, but it does not include Claude Code. Paid access starts at Claude Pro, twenty dollars a month, or seventeen if you pay yearly. Max and Team plans include it too. If you'd rather pay per use, you can connect an API account—and new API accounts get a small one-time credit to test things out. But that credit runs dry, and there's no ongoing free tier. So: free to install, free to try for a bit, paid to actually run.

What authoritative sources say

Claude Pricing (Anthropic)official — Claude Code is included starting with the Pro plan; the Free plan does not include it. source ↗
Claude Code Docs — Manage costsofficial — Claude Code charges by API token consumption; usage requires a paid plan or API account. source ↗
Anthropic Platform — Pricing FAQofficial — New users receive a small amount of free credits to test the API. source ↗

People also ask

Does the Free Claude plan include Claude Code?

No. The Free plan covers Claude chat only. Claude Code access starts with the Pro plan at $20/month.

Is the Claude Code CLI free to install?

Yes. Downloading and installing the `claude` command costs nothing. You only pay for usage.

Can I use Claude Code without a subscription?

Yes, by connecting an Anthropic Console/API account and paying per token instead of a monthly fee.

How long do free trial credits last?

New API accounts get a small one-time credit. It's meant for testing and runs out—there's no recurring free allowance.

Related questions