A Claude starburst receptionist at a gym turnstile hands out a membership card next to a long receipt and an hourglass, while the blue Atomic Agent mascot works out at home with a laptop, an exercise bike and a full piggy bank
Guide

Is Claude Code Free in 2026? Free Plan, Pricing and Usage Limits

Published
Reading time
9 min read
Tag

No. Claude Code is not in Claude's Free plan; it starts at Pro ($20 a month). Every plan, the limits, what the API costs, and two ways to code for $0.

Below is every plan that includes Claude Code, how the limits work, what a task costs on the API, and the two ways to pay nothing. Updated 27 November 2026: prices and limits here were checked against Anthropic’s pricing page, docs and help center that day.

Is Claude Code free?

No. Anthropic’s setup docs say it in one line: “The free claude.ai plan does not include Claude Code access.” The Claude pricing page shows the same thing in its comparison table, where the Claude Code row reads “No” for Free and “Yes” for every paid plan.

The software itself is free to download. What costs money is the Claude model it runs on, and you pay for that with a plan (Pro, Max, Ultra, Team, Enterprise) or per token through an Anthropic Console API key.

Does Claude Code cost money?

Yes, as soon as you use it with a Claude model. The lowest price is Pro at $17 a month billed yearly ($200 up front), or $20 billed monthly. Prices are in US dollars, exclude tax, and can differ in local currencies.

Is there a Claude Code free trial?

Only through a friend. A Pro, Max or Ultra subscriber can send you a guest pass (they find it with /passes in Claude Code). It gives seven days of Pro, Claude Code included, if you have never paid for Claude. You enter a card, and the trial becomes paid Pro unless you cancel.

Otherwise, the pricing page lists “Trials” only for Enterprise, through sales, and Anthropic’s help center says: “We don’t offer standard discounted pricing for individual plans (Pro, Max, and Ultra).” It does run occasional limited-time promotions.

Is Claude Code free for students?

Not on its own. Claude’s Education plan is sold to institutions for their students, faculty and staff, and the pricing page does not say whether it includes Claude Code. We found no individual student offer for Claude Code.

Is Claude free enough for coding?

For questions and short snippets, yes: the free Claude chat can explain code and write a function you paste in yourself. What Free does not give you is Claude Code, the agent that reads your project, edits files and runs commands in your terminal.

Is Claude Code open source?

No. The repository is public, but its license reads ”© Anthropic PBC. All rights reserved.” and use falls under Anthropic’s Commercial Terms. If you want an open-source coding agent, see open-source Claude Code alternatives.

Claude Code pricing: every plan at a glance

PlanPriceClaude CodeLimits
Free$0Non/a
Pro$20 a month, or $17 a month billed yearlyYesFive-hour session limit plus a weekly limit
Max$100 a month (monthly only)Yes5x Pro every five hours and every week
Ultra$200 a month (monthly only)YesNo five-hour limit for verified accounts, 10x Pro weekly
Team$25 per Standard seat ($20 yearly), $125 per Premium seat ($100 yearly)Yes, every seatPremium seats get 5x the usage of Standard
Enterprise$20 per seat a month, billed yearly, 20 seats minimum, plus usage at API ratesYesSet by your contract
Console API keyPay per tokenYesYour spend limit
Claude Code with a local model$0Yes, but with no Claude modelYour hardware
Atomic Agent with a local model$0A separate open-source agentYour hardware

Plan prices and limits from the Claude pricing page and the Claude Code plan guide, 27 Nov 2026. Ultra is the plan Anthropic used to call Max 20x.

One trap: Max and Ultra come with $100 and $200 a month in API credits, but those don’t apply to “Interactive Claude Code in the terminal, IDE, desktop, or web”. For a deeper look at each plan, see our Claude Code pricing guide.

A free alternative to Claude Code: Atomic Agent with a local model

If you want the $0 setup without assembling it yourself, Atomic Agent is an open-source (MIT) agent for your desktop, terminal and Telegram. It edits files, runs commands, uses git, browses the web, remembers across sessions, and asks before risky actions.

It picks and runs the model for you. There is no Ollama or LM Studio to set up. atomic-agent models recommend reads your RAM, GPU memory and disk and suggests a fast, a balanced and a quality pick. Its README gives examples: Qwen 3.5 9B on a 16 GB Mac, Gemma 4 26B A4B on 32 GB.

It picks up where Claude Code stopped. Hit your Claude limit in the middle of a task? Run this in the same folder:

Terminal window
atag handoff --from claude-code

It saves your latest Claude Code session as an Atomic Agent chat, with its history, and opens it so you can carry on. A long session is shortened to fit the local model’s window: the newest steps stay word for word and the older part becomes a short extract. Add --session <id> to continue an older session, and the desktop app has the same thing as Continue from Claude Code / Codex. When your limit resets, Hand off to Claude / Codex… in the desktop chat menu writes a short brief of the task, decisions and changed files for you to give Claude Code (desktop v0.0.10).

It brings your Claude Code setup along, and shares back. atomic-agent import claude-code copies your skills, memory, MCP servers and sessions, and provider keys if you opt in, without touching the originals. Going the other way, claude mcp add atomic-agent -- atag mcp-server lets Claude Code search Atomic Agent’s memory and read its skills, read-only by default.

It can protect what goes to the cloud. If you switch to a cloud model, Privacy Shield (new in v0.9.0, off by default) turns emails, phone and card numbers and keys into placeholders before a request leaves your computer, and puts them back in the reply.

Proof it runs at $0. On a 16 GB MacBook Air, with the free qwen-3.5-9b model, Offline mode on and analytics off, Atomic Agent merged three notes into a checklist and committed it to git in 6.5 minutes, with zero connections outside the laptop.

Atomic Agent terminal on a 16 GB MacBook Air finishing a task with the local qwen-3.5-9b model and Offline mode on: three notes merged into a checklist and committed to git

Atomic Agent v0.8.0, local model, Offline mode, 25 Nov 2026. Full test and setup.

The catch: a local model on a laptop is slower than Opus 5.5 in the cloud (about 16 tokens per second on that Air), so it suits work you hand over and come back to. Anonymous usage analytics and crash reports are on by default; turn both off with /privacy analytics off in the terminal or the Privacy switch in the desktop app.

To try the same setup on your own code, download Atomic Agent for Mac, Windows or Linux, or install the terminal version:

Terminal window
curl -fsSL https://atomicagent.io/install | sh

Looking at more free options? See 9 free AI agents and the catch with each.

How Claude Code usage limits work

Paid plans don’t give you a fixed number of messages. The pricing page says it plainly: “there’s no fixed message count.” How far you get depends on the model, the size of your project and the task.

  • Five-hour sessions. Pro and Max have a session limit that resets every five hours. The window starts when you send your first message (help center).
  • Weekly limits. These reset at a fixed time each week that Anthropic assigns to your account.
  • One shared pool. Claude on the web, desktop, mobile and Claude Code all draw from the same allowance, so a long chat in the Claude app eats into your coding time.
  • Fable has its own weekly limit on Max and Ultra.

How to check your Claude Code usage

  • /usage shows plan usage bars and a breakdown of what counts against your limits (costs docs).
  • Settings > Usage on claude.ai shows your current session and the next reset time.

What happens when you hit the limit

On Pro, Max and Ultra you can turn on usage credits, which “switch to consumption-based pricing at standard API rates” and show up as extra charges on your bill. Turn them on in Settings > Usage, set a monthly cap, or run /usage-credits inside Claude Code.

If you know you will go over, usage bundles are prepaid credits at a discount: $50 of usage for $45, $250 for $200, or $1,000 for $700.

Can you use Claude Code without a subscription?

Yes, with an Anthropic Console API key. Claude Code then bills you per token instead of a monthly plan. Note that if ANTHROPIC_API_KEY is set on a machine where you also have a plan, Claude Code uses the key, “resulting in API usage charges rather than using your subscription’s included usage” (help center).

ModelInput, per 1M tokensCache readOutput
Fable 5.2$8.00$0.20$40.00
Opus 5.5 (Claude Code’s default)$4.00$0.20$20.00
Sonnet 5.5$2.00$0.10$10.00
Haiku 5.5 (prompts up to 100K)$0.10$0.01$0.50

Prices from Anthropic’s API pricing page, 27 Nov 2026.

What does a task cost? An agent re-reads files and history many times, so input tokens dominate. Take a task that reads 200,000 tokens over many requests and writes 20,000. On Opus 5.5 that is $0.80 of input plus $0.40 of output, about $1.20 before caching. On Sonnet 5.5 it is about $0.60, and on Haiku 5.5 about $0.03. This is example math; Anthropic’s own figure across enterprise deployments is about $13 per developer per active day (costs docs).

How to use Claude Code for $0 with a local model

Claude Code can talk to any server that speaks Anthropic’s API, and both Ollama and LM Studio now do. The model runs on your computer, so nobody bills you.

  • Ollama: run ollama launch claude, pick a model and set a context window of 64k or more (Ollama docs).
  • LM Studio: start the server with lms server start --port 1234, set ANTHROPIC_BASE_URL=http://localhost:1234, and use a model with more than about 25k of context (LM Studio docs).

Two things to know. You are no longer using Claude, so the results depend on the open model you pick. And Anthropic’s gateway docs say it “doesn’t support routing Claude Code to non-Claude models”, so if something breaks, you are on your own. Our Claude Code with a local LLM guide walks through each setup.

What about Free Claude Code and claude-code-router?

These are the projects most “free Claude Code” articles point to. Free Claude Code (AGPL-3.0, about 73,000 GitHub stars) is a proxy that routes Claude Code’s requests to other model providers, including free tiers; claude-code-router does a similar job. They can work, but know the trade: you get no Claude model, the free tiers set their own limits, and your code goes to whichever provider you set it to use. Free Claude Code’s README says it is “Not affiliated with or endorsed by Anthropic.”

What to do when you hit the Claude Code limit

  • Wait it out. /usage in Claude Code or Settings > Usage on claude.ai shows when your session resets; weekly limits take longer.
  • Turn on usage credits. Keep going at API rates, with a monthly cap you set.
  • Buy a usage bundle. Prepaid credits at 10% to 30% off if you go over every month.
  • Use a cheaper model before you hit it. Switch to Sonnet 5.5 or Haiku 5.5 with /model for simpler steps so the session lasts longer. Switching won’t lift a limit you have already hit.
  • Move up a plan. Max at $100 gives 5x Pro; Ultra at $200 has no five-hour limit for verified accounts.
  • Hand the task to a local model. atag handoff --from claude-code continues the same session in Atomic Agent for $0.

Which option should you pick?

  • You just want to ask Claude about code: the free Claude chat is enough.
  • You code with Claude Code most days: Pro billed yearly at $17 a month, and Max if you keep hitting the limits.
  • You code now and then, or from scripts and CI: a Console API key, priced per token.
  • You want Claude Code’s interface at $0 and know your way around Ollama: Claude Code with a local model.
  • You want $0 with no quota and no setup, or a place to finish tasks when Claude runs out: Atomic Agent with a local model.

Comparing with OpenAI’s tool? See Is Codex free? and Codex vs Claude Code.

FAQ

Claude Code free plan, limits and $0 options.

  • Is Claude Code free?

    No. Anthropic's setup docs say the free Claude.ai plan does not include Claude Code. You need Pro ($20 a month, or $17 a month billed yearly), Max, Ultra, Team, Enterprise, or a Console account that pays per token. The Claude Code software is free to install; you pay for the model behind it.

  • Can I use Claude Code without a subscription?

    Yes, two ways. Sign in with an Anthropic Console API key and pay per token, or point Claude Code at a local model through Ollama or LM Studio. The second costs nothing, but you are no longer using a Claude model, and Anthropic does not support routing Claude Code to non-Claude models.

  • Is Claude Code open source?

    No. The code is public on GitHub, but its license reads All rights reserved and use falls under Anthropic's Commercial Terms. Open-source agents such as Atomic Agent (MIT), OpenCode and Cline are the open alternatives.

  • Is there a Claude Code free trial?

    Only through a guest pass. A Pro, Max or Ultra subscriber can share seven days of free Pro, Claude Code included, with someone who has never paid for Claude. A card is required and the trial turns into paid Pro unless you cancel. Otherwise the cheapest way in is Pro billed yearly, at $17 a month.

  • What is the cheapest way to use Claude Code?

    With Claude models: Pro billed yearly ($17 a month) if you code most days, or a Console API key with Haiku 5.5 or Sonnet 5.5 if you code now and then. With no Claude model at all: a free local model, either in Claude Code through Ollama or in an open-source agent such as Atomic Agent.

  • Is there a free alternative to Claude Code?

    Yes. Open-source agents such as Atomic Agent, OpenCode and Cline run with free local models. Atomic Agent picks a model that fits your computer, runs it for you, and can pick up a Claude Code session where it stopped with atag handoff --from claude-code.


Get new posts
by email

One email when we post something new.

Share
Written by
Nadya Dudka Product, Atomic Agent
Andrew Dyuzhov SEO and growth

Run your local agent
in one click