Claude Code · September 2026

Is Claude Code free?

The short answer, the honest long answer, and a table of every way to pay for it.

The short answer.

No. The software costs nothing to install — one curl line on macOS and Linux, brew install --cask claude-code, or npm install -g @anthropic-ai/claude-code — and there is no licence fee for the tool itself. But Claude Code is a client for a metered model, and Anthropic’s setup docs are explicit: it requires a Pro, Max, Team, Enterprise, or Console account, and the free Claude.ai plan does not include Claude Code access.

So the real question is which of the paid routes fits you. There are two shapes: a subscription, where a flat monthly price buys an allowance measured in five-hour sessions and a weekly cap, and metered billing, where an API key or a cloud provider charges per token and never stops. Everything below is one or the other.

Every way to pay for Claude Code.

US list prices on 2026-09-03, from claude.com/pricing and Anthropic’s support articles.

RouteWhat it costsWhat you getFits
Pro$20 a month, or $17 billed annuallyClaude Code and the Claude apps; five-hour session and weekly limits; Sonnet by defaultAn hour or two a day
Max 5x$100 a month5x Pro’s per-session allowance; Opus by default; priority accessA daily driver
Max 20x$200 a month20x Pro’s allowanceParallel sessions, agents most of the day
Team$25 a seat a month ($20 annual) standard; $125 ($100 annual) premium; two seats minimumClaude Code on every seat; standard 1.25x Pro, premium 6.25x; admin and spend controlsSmall teams
EnterpriseSeat fee plus usage at API rates; 20 seats self-serve, 50 via salesSSO, SCIM, audit logs, managed settings; no per-seat limitsOrganizations with compliance needs
Console (API key)Per token, no monthly feeNo session windows; organization rate limits; workspace spend capsAutomation, CI, sporadic use
Bedrock, Google Cloud, Microsoft FoundryPer token on your cloud billThe same CLI; no Claude on the web, no Remote Control, no cloud sessionsCloud-native organizations

Subscription or API: which is cheaper?

Anthropic’s cost guidance puts API-billed use at around $13 per developer per active day and $150–250 a month, with 90% of users under $30 a day. Twenty working days at the average is roughly $260 — more than Max 5x, about what Max 20x costs — and it comes with no ceiling. A subscription inverts that: the bill is fixed and the usage is capped. Predictable daily use favours the subscription; sporadic or automated use, where some weeks are zero, favours the key.

The two also blend. Pro and Max can enable usage credits, which bill work past the included allowance at standard API rates under a monthly cap you set, so the plan is the floor and the key is the overflow. The plan calculator does this arithmetic for your hours; the Max plan page explains what the tiers actually buy.

Free things nearby.

None of these is Claude Code, but a few of them are what people asking the question actually need.

Gemini CLI

Google’s open-source terminal agent has a genuine free tier: sign in with a personal Google account and get 60 requests a minute and 1,000 a day, per its README. Different model, similar shape.

OpenCode and Aider

Free, open-source agents that bring nothing of their own: you supply an API key for whichever provider you like, or point them at a local model through Ollama and pay in electricity. Both reach Claude models through a Console key.

Free software, not open source

Claude Code itself is proprietary — a native binary under Anthropic’s terms — which matters if you wanted to read or fork it. Claude Code open source covers what is and is not.

Wherever you pay, the login lives on the machine.

Whichever route you choose, the credential ends up on the machine where Claude Code runs — a subscription login in the keychain, a key in the environment — and the tool bills through it from there. That is also the property spawnd keeps when it puts those machines behind one console: agents authenticate on the host, as always; spawnd holds no provider credentials and adds no API-key markup, so a Pro or Max plan is used exactly as the vendor’s CLI uses it, on every host you own, from any device. The plan you picked above is the whole bill.

Start

Your plan, on every host you own.

$curl -fsSL https://spawnd.dev/install.sh | sh
Sign up free
Install the daemon

Questions

Can I use Claude Code with the free Claude plan?
No. Anthropic’s setup docs state the free Claude.ai plan does not include Claude Code; you need Pro, Max, Team, Enterprise, a Console account with API billing, or a cloud provider.
Do I need an API key to use Claude Code?
Not with a subscription — start Claude Code and sign in with your Claude.ai account when it asks. An API key is the Console route, billed per token, and if the ANTHROPIC_API_KEY variable is set it takes precedence over your plan.
Is the Claude Code software itself free?
Yes — free to download, install, and update, with no licence fee. It is not open source, and it does nothing without a paid route to the model.