Is Claude Code free? No — here is the cheapest way in, and the agents that start at $0

No. Claude's Free plan does not include Claude Code. The cheapest way in is Claude Pro at $20 a month ($17 billed annually), or an Anthropic API key billed per token, from $0.10per million input tokens on Haiku 5.5. Google Antigravity, OpenCode and Codex on ChatGPT Free start at $0; Gemini CLI's free tier ended on 18 June 2026. Read 3 October 2026.

Dmitriy Solodukha · checked against Caprock v0.68.0

Claude Free plan: no Claude Code
$0
Claude Free plan: no Claude Code
claude.com/pricing lists it as not included
the cheapest plan with Claude Code
$20
the cheapest plan with Claude Code
Claude Pro · $17 billed annually
Google Antigravity, individual plan
$0
Google Antigravity, individual plan
weekly quota · replaced Gemini CLI's free tier on 18 June 2026
median OpenCode call, measured
$0.002
median OpenCode call, measured
9,309 calls, May – Jun 2026 · mostly DeepSeek V4 Pro

A call is one request to the model. The OpenCode median is from one machine, on cheap open models — not a price list and not a verdict on code.

Read 3 October 2026

Free or not: Claude Code and four agents that start at $0

What each agent gives you for $0, and the first price after that. An agent that is free still calls a model someone pays for.

What Claude Code and four other agents give you at $0, read 3 October 2026 from each maker's pricing pages and docs
AgentFree?What $0 gets youCheapest paidRead by Caprock
Claude CodeNoNothing on Claude Free; new API accounts get a small amount of free credit, amount not publishedPro, $20 a month, or an API key per tokenYes
AntigravityYesA weekly quota on a Google account, in the desktop app, IDE and CLIGoogle AI Pro, $19.99No
OpenCodeThe agent, yesMIT-licensed; 12 models listed free on Zen, each for a limited timeGo, $10, or any provider per tokenYes
CodexYes, rolling outChatGPT Free: desktop app, subject to rolloutChatGPT Go, $8; Plus, $20Yes
CursorYesFree: limited usage of Cursor's own modelsPlus, $8, Grok only; Claude from Premium, $30, at API priceNo
Prices a month, for one person. Codex on Free and Go runs GPT-6 Luna at standard speed, per OpenAI's Codex pricing page; Go is $8 a month. Zen's free models trade the price for terms: on some, the provider may use your data to improve the model. Gemini CLI has had no free tier since 18 June 2026; Google moved free users to Antigravity CLI. Caprock does not read Cursor or Antigravity.

Cheapest way in

The cheapest ways to run Claude Code

A plan is a flat fee with limits; an API key bills each token with none. The Batch API's half price does not reach Claude Code.

Ways to pay for Claude Code, read 3 October 2026 from claude.com/pricing and Anthropic's API price list
Way inPriceMedian call, measuredCatch
Claude Pro, annual$17 a month—$200 billed up front
Claude Pro, monthly$20 a month—Five-hour and weekly limits
API key, Haiku 5.5$0.10 in / $0.50 outnot measuredPer million tokens; 5× every rate above a 100K-token prompt
API key, Sonnet 5.5$2 in / $10 out$0.054 (Sonnet 5)Sonnet 5: same input and output rates
API key, Opus 5.5$4 in / $20 out$0.055Cache reads at 0.05× input
Batch API50% off—Asynchronous; Claude Code waits for each reply
Per-token prices are per million tokens. Measured medians are one machine's Claude Code calls at list price, 18 July to 2 October 2026. Plan prices and limits: Claude Code pricing; every model's rates: Claude API pricing.

Measured · list price

What a day of Claude Code costs, against Pro

One active day at API list prices — Anthropic's average and my quartiles — against a whole month of each plan fee.

  • Anthropic's average dayacross enterprise deployments$13
  • A light day of minelower quartile$75
  • A median day of mine56 active days$153
  • A heavy day of mineupper quartile$373

Pro, $20 a month Max 5×, $100 a month Max 20×, $200 a month

Logarithmic axis: each step is ten times the one before. The lines are a month of each plan fee. My days are 56 active days, 18 July to 2 October 2026, by UTC date, mostly on Opus; Anthropic's figure is from its costs page.
Anthropic's average month
$150–250
Anthropic's average month
per developer, enterprise deployments
of users under $30 a day
90%
of users under $30 a day
Anthropic, enterprise deployments
the middle half of my active days
$75–$373
the middle half of my active days
18 July to 2 October 2026
my August at list price
$5,898
my August at list price
29 active days, on a $200 plan

One developer who works in Claude Code all day, not a forecast for anyone else. On a plan the fee is the bill; the list price says how much work the plan carried.

Entry prices

What each agent costs to start

The lowest plans of five agents on one axis, from $0. Claude Code's lowest is $20; its $0 row is the Free plan it is not on.

  • Claude CodeClaude Freenot included
  • Antigravityindividual$0weekly quota
  • OpenCodethe agent itself$0you pay for the model
  • CodexChatGPT Free$0desktop app, subject to rollout
  • CursorFree$0limited usage, Grok and Composer
  • CodexChatGPT Go$8desktop app, subject to rollout
  • CursorPlus$8Grok models only, weekly pool
  • OpenCodeGo$10open models, capped per model
  • AntigravityGoogle AI Pro$19.99higher quota, every five hours
  • Claude CodeClaude Pro$20$17 billed annually
  • CodexChatGPT Plus$20web, CLI, IDE, iOS
Linear axis, a month, read 3 October 2026 from claude.com/pricing, OpenAI's Codex pricing, cursor.com/pricing, OpenCode's docs and antigravity.google/pricing. OpenCode at $0 still leaves the model to pay for.

Free, and open source

See what each agent costs you.

Caprock is a free, open-source desktop app, Apache-2.0, that runs Claude Code, Codex, OpenCode and Gemini CLI on your machine. It reads Claude Code's and Codex's transcripts and OpenCode's database, and Gemini CLI in the sessions it starts, and prices every call: what a day costs, per repository, against your plan's limits. It does not read Cursor.

Download for Mac

Notarized by Apple. One file for Apple silicon and Intel, macOS 13 or later.

Or run it yourself:

curl -fsSL https://caprock.dev/mac.sh | sh

Paste in Terminal: it installs Caprock and opens it.Or with Homebrew: brew install --cask dspv/tap/caprock-app

The full guide

Is Claude Code free, step by step

Claude Code is not free. Anthropic's pricing page lists it as not included on the Free plan, and every way to run it costs money: a paid Claude plan, or an API key billed per token. What is free is a handful of other coding agents — and a tool that shows what each of them costs you.

Is Claude Code free?

No. Claude Code comes with Pro, Max, Team and Enterprise, not with Claude Free. Installing it costs nothing, but it will not run without a paid plan or an API key behind it. The free credits Anthropic gives new API accounts are, in its words, a small amount to test the API; it does not publish how much.

Claude Code free tier

There is none. Claude Free gets chat in claude.ai, with its own five-hour limit; Claude Code starts at Pro. Claude in another agent, or through a cloud provider, is billed per token too.

The cheapest way to run Claude Code

Two ways in, and which is cheaper depends on how much you use it.

Claude Pro. $20 a month, or $17 a month billed annually, which is $200 up front. Claude Code shares Pro's allowance with claude.ai: a five-hour window and a weekly limit. Past them, you wait, buy usage credits, or switch to an API key.

An API key. No plan and no plan limits; every token is billed at the list price of the model you pick. Haiku 5.5 is the cheapest current model: $0.10 per million input tokens and $0.50 per million output for a prompt up to 100,000 tokens, $0.50 and $2.50 above that — and an agent's prompt passes 100,000 tokens quickly. Sonnet 5.5 and Sonnet 5 are $2 and $10. An agent re-sends the whole conversation on every call, mostly from the cache, so the bill grows with the length of a session as well as the model: my median day, mostly on Opus, cost $153 at list price — more than seven months of Pro.

Not the Batch API. Anthropic's Batch API halves the price, but it runs requests asynchronously — most batches finish within the hour — and an agent needs each reply before it can take the next step. Claude Code sends every call live, at the standard rate.

What a month of Claude Code costs

Anthropic's own figure, across enterprise deployments, is about $13 per developer per active day and $150 to $250 a month, with 90% of users under $30 a day. My own use is far heavier: at list price, my median active day came to $153, and half my days fell between $75 and $373. Those are list prices; on a plan, I paid the fee, and the limits decide how far it goes: see Claude usage limits.

The plan arithmetic is in Claude Code pricing, with a calculator for your own days.

Coding agents that start at $0

If $0 is the requirement, the agent has to change, and usually the model with it.

Antigravity. Google's agent — a desktop app, an IDE and a CLI, agy — is free on a Google account with a weekly quota. It replaced Gemini CLI for free users on 18 June 2026; Gemini CLI itself now needs a Code Assist licence or a paid API key. Antigravity vs Claude Code · Gemini CLI vs Claude Code.

OpenCode. Free and open source, MIT, and it connects to more than 75 model providers. The agent costs nothing; the model is billed by whoever serves it. OpenCode's own Zen service listed 12 models as free on 3 October 2026, each for a limited time, and on several of them data collected in the free period may be used to improve the model. On a cheap open model the median call on my machine cost $0.002. A Claude Pro or Max sign-in does not work in OpenCode; Claude there is billed per token. OpenCode vs Claude Code.

Codex on ChatGPT Free. OpenAI lists Codex on ChatGPT Free and Go in the desktop app, subject to rollout, on its GPT-6 Luna model. Plus at $20 opens the CLI, web and IDE extension. Codex vs Claude Code.

Cursor Free. Cursor's free plan includes limited use of its own models, Grok and Composer, in its own editor. Claude in Cursor starts at Premium, $30 a month, billed at API list price on top.

Every Claude Code alternative, free and paid, on price, limits, models and licence: AI coding agents compared.

See what each one costs you

Free agents still have a cost — your time on the limits, or a provider's bill — and paid ones have a list price behind the flat fee. Caprock is free and open source (Apache-2.0) and runs on your machine. It reads Claude Code's and Codex's transcripts and OpenCode's database, whether or not it started the session, and Gemini CLI in the sessions it starts, and prices every call, so you can see what a day of each costs before you pick a plan. The dollars are a list-price estimate, as Claude Code's own /usage is, beside the plan's dollars and the share of the weekly limit the work used. It does not read Cursor.

Nothing leaves your machine. Install Caprock and it reads back every session those agents still have on disk.

Questions people ask

Is Claude Code free?
No. Claude's Free plan does not include Claude Code; the cheapest plan that does is Pro at $20 a month, or $17 billed annually. An API key works too, billed per token.
Is there a Claude Code free tier?
No. Anthropic gives new API accounts a small amount of free credit to test the API and does not publish the amount; there is no free plan with Claude Code.
What is the cheapest way to use Claude Code?
Claude Pro at $17 a month billed annually, or $20 monthly. On an API key, Haiku 5.5 is the cheapest current model: $0.10 per million input tokens and $0.50 per million output up to a 100,000-token prompt, $0.50 and $2.50 above it (Anthropic's pricing page, read 8 October 2026).
Can I use the Batch API to make Claude Code cheaper?
No. The Batch API halves the price but processes requests asynchronously, and Claude Code needs each reply before its next step, so it calls the model live at the standard rate.
Which coding agents start free?
Google Antigravity is free on a Google account with a weekly quota; Gemini CLI's free tier ended on 18 June 2026. OpenCode is free and open source, with some free models on its Zen service for a limited time; Codex comes with ChatGPT Free in the desktop app, subject to rollout.
How much does Claude Code cost per month?
Anthropic puts the average at about $13 per active day and $150 to $250 a month per developer. My own median active day came to $153 at list price — on a plan, the fee is the bill.

Sources

Try it

The record of every coding agent you run, the sessions it did not start included. Free, open source; nothing leaves your machine.

Download for Mac

Notarized by Apple. One file for Apple silicon and Intel, macOS 13 or later.

Or run it yourself:

curl -fsSL https://caprock.dev/mac.sh | sh

Paste in Terminal: it installs Caprock and opens it.Or with Homebrew: brew install --cask dspv/tap/caprock-app