Is Claude Code Free? Every Zero-Cost Route, Checked
Is Claude Code free? Not on Claude's Free plan. Here are the routes that cost nothing, which ones give you a Claude model, and the cheapest paid step in 2026.
No. Claude Code is not part of Anthropic’s Free plan: the Claude Code setup docs say “The free claude.ai plan does not include Claude Code access,” and the plan table on claude.com/pricing marks Claude Code “No” in the Free column. There are a few exceptions, all checked on 22 November 2026.
I sort the routes by one question first: does the route get you a Claude model, or only the Claude Code program pointed at another company’s model? Three routes do the first, and each of them depends on someone else paying or approving you. The rest give you the program and a different model.
Is Claude Code Free?
Claude Code costs nothing to download, but it does not run on Claude’s Free plan. It needs a Pro, Max, Ultra, Team, Enterprise or Console account. The main zero-cost exceptions with a Claude model are API credits for new users, six months of Ultra for approved open-source maintainers and contributors, and a Team or Enterprise seat your organization pays for.
What Anthropic’s own pages say, as of 22 November 2026:
- The pricing page lists the Free plan at “$0” and “Free for everyone”, and its feature table has a Claude Code row that reads No for Free and Yes for Pro, Max and Ultra.
- The pricing FAQ, under “Is Claude Code included in my plan?”, answers: “Claude Code is included in all paid plans. It shares the same usage limits as the rest of your plan, so your work in the terminal and your chats draw from one pool.”
- The setup docs list the accounts that work: “Claude Code requires a Pro, Max, Ultra, Team, Enterprise, or Console account.” They add third-party API providers: Amazon Bedrock, Google Cloud’s Agent Platform and Microsoft Foundry.
- The individual plans on the pricing page carry no trial. On the Team and Enterprise comparison, the “Trials” row reads No for Team and for self-serve Enterprise, and Yes only for sales-assisted Enterprise.
The install commands themselves (a curl script, PowerShell, Homebrew, WinGet or npm) are public on the setup page, which states no install price. The price comes in at sign-in.
Every Zero-Cost Route to Claude Code, Checked 22 November 2026
The routes that come up for this question, with what each costs, whether a Claude model answers your prompts, and the catch in the vendor’s own words:
| Route | What it costs | Do you get a Claude model? | Who qualifies | The catch |
|---|---|---|---|---|
| Free claude.ai plan | $0 | No Claude Code at all | Anyone | The plan table marks Claude Code “No” |
| Downloading the CLI or VS Code extension | No install price; the Marketplace lists the extension as Free | Only after you sign in with a paid or Console account | Anyone | A Free plan login is not on the list of accounts that work |
| Console new-user credits | ”New users receive free credits to test the API” | Yes, billed per token at API rates | New API users | Anthropic publishes no amount and no expiry on that page |
| Claude for Open Source | $0 for the base Ultra plan for six months | Yes, on Ultra | Maintainers and contributors who meet a threshold | Up to 10,000 approved recipients; overages may be charged |
| Team or Enterprise seat | $0 to you | Yes | Members your organization adds | Your organization pays per seat |
| Ollama, local models | Ollama’s $0 tier includes “Run models locally” | No, open models on your hardware | Anyone with a capable machine | Ollama advises a 64k+ context window |
| Ollama, cloud models | ”Pay per token for every cloud model” | No | An Ollama account with an API key | ”Hosted WebSearch and advanced tool controls are not fully supported” |
| Proxy repos such as free-claude-code | Depends on the provider you route to | Not on its free models; Claude needs a separately billed API key | Anyone | ”Not affiliated with or endorsed by Anthropic”; AGPL-3.0 licensed |
Sources by row: Anthropic’s pricing page and setup docs, the Visual Studio Marketplace listing for the extension, Anthropic’s API pricing FAQ, the Claude for Open Source terms, Ollama’s pricing page and Claude Code guide, and the free-claude-code repository, each linked in its section below. Prices and programs change, so check each page before you rely on a row.
Free Routes That Get You a Claude Model
Console New-User Credits
Anthropic’s API pricing page answers “Are there free tiers or trials?” with: “New users receive free credits to test the API. Email sales for information about extended trials for enterprise evaluation.” Claude Code can sign in with a Console account, and on the Console Claude Code usage “is billed per token to your organization”, per Anthropic’s costs page. To spend them outside Claude Code, you first create a Claude API key in the Console, which the Console shows only once.
- The page gives no dollar figure and no expiry, so any number you read elsewhere is a third-party report, not Anthropic’s.
- It describes the credits as for testing the API. It does not say how far they go in Claude Code, so I would treat them as a short test budget.
- Once they run out, every session is pay-as-you-go. Before you set an API key on your machine, read what an API key switches off in Claude Code, since a key in your environment also outranks a plan login.
Claude for Open Source: Six Months of Ultra
The six-month offer on Anthropic’s own pages is this program. Anthropic’s program page offers “6 months of free Claude Ultra”, and Ultra includes Claude Code. You need to meet at least one of these, per the page and its terms:
| Track | Threshold |
|---|---|
| Maintainers and library authors | 500 or more dependent repos, 100 or more dependent packages, or 200,000 or more combined monthly downloads |
| Core contributors | A listed committer or maintainer on a recognized foundation or language project |
| Active contributors | 100 or more pull requests merged into repos you don’t own in the last 12 months |
| Community builders | One of your repos has had 20 or more unique external contributors with merged pull requests in the last 12 months |
| Critical infrastructure | A repo you maintain has an OpenSSF criticality score of 0.4 or above |
| Ecosystem Impact (discretionary) | You maintain or significantly contribute to a project that many open-source projects depend on, and explain why in your application |
The terms add general requirements and limits that the program page leaves out:
- A GitHub account “in good standing that is at least two years old”, public open-source activity in the 90 days before you apply, and an age of at least 18 (or the age of majority where you live, if higher).
- A “Recipient Cap” of “up to 10,000 approved recipients”, which “Anthropic may choose to increase”.
- The application period “remains open until Anthropic closes it”, and Anthropic decides each application “in its sole discretion”.
- During the six months “you will not be charged for the base Claude Ultra subscription, but you may be charged for overages”.
When the six months end, the program page says a paid plan you already had “resumes at your prior plan and rate unless you cancel; otherwise your account returns to the free plan”, which means no Claude Code.
A Team or Enterprise Seat Someone Else Pays For
The setup docs list Team and Enterprise accounts, so a seat your organization pays for runs Claude Code at no cost to you. On those plans, usage “draws from each member’s seat allowance”, per the costs page.
Free Routes That Run Claude Code on Another Model
These routes keep the Claude Code program (its terminal, file edits and permission prompts) and swap the model behind it. They answer “can I run the agent for free”, which is a different question from “can I use Claude for free”.
Ollama: Local and Cloud Models
Ollama’s Claude Code guide says Ollama “connects Claude Code to local and cloud models through its Anthropic-compatible API”, and the setup is one command: ollama launch claude.
| Local models | Ollama cloud models | |
|---|---|---|
| Price, per Ollama’s pricing page | The $0 “Pay as you go” tier includes “Run models locally" | "Pay per token for every cloud model” on that tier; Pro is $20 a month |
| Setup in the guide | ANTHROPIC_BASE_URL pointed at http://localhost:11434 | ANTHROPIC_BASE_URL=https://ollama.com with your OLLAMA_API_KEY |
| Stated limits | ”Choose a model and set a 64k+ context window" | "Hosted WebSearch and advanced tool controls are not fully supported” |
The guide’s own examples use models such as gemma4:cloud and kimi-k2.7-code:cloud. Local models cost you hardware and electricity rather than a subscription. Whatever you pick, the model is not Claude, so output quality follows the open model you chose.
Proxy Repos Such as free-claude-code
The free-claude-code repository is a GitHub project whose title promises Claude Code and other agents “for free”. Its README says it is an “Independent open-source project. Not affiliated with or endorsed by Anthropic”, and its license is “GNU Affero General Public License version 3 only (AGPL-3.0-only)”. It routes Claude Code to other providers’ models: the README lists “61 supported providers, including free, paid, subscription, and local providers”, and the example models marked free in its provider table, such as kimi-k3-free and deepseek-v4-flash-free, come from other companies. Claude is reachable through it, but not for free: the README’s Anthropic entry “uses a separately billed API key”.
OpenCode’s gateway works the same way through ANTHROPIC_BASE_URL, and I covered that setup in running OpenCode’s models inside Claude Code rather than repeating it here.
Is Claude Code Free in VS Code?
The extension is free to install, and that is where the free part ends. The Marketplace listing linked in the route table shows the price as Free, while Anthropic’s VS Code docs list the prerequisite as “any paid Claude subscription (Pro, Max, Ultra, Team, or Enterprise) or a Claude Console account”, adding that “no API key is required”.
The same sign-in rule applies in the terminal. The help center says IDE usage “counts toward the same usage limits shared across Claude and Claude Code” (Anthropic’s Claude Code plan article), so the editor adds no separate allowance. If you are choosing where to run it, the extension vs the CLI compares the two surfaces.
Is Claude Code Free With Claude Pro?
Yes: Pro includes Claude Code at no extra charge, and Pro is the cheapest individual plan that does. The pricing page lists Pro at $20 a month, or $17 a month with the annual discount ($200 billed up front), and says “Prices shown don’t include applicable tax.”
What “included” means on Anthropic’s pages:
- One usage pool. The help center says Pro and Max plans “have a five-hour session limit and a weekly limit” that “are shared across Claude and Claude Code”. How those limits reset is in my guide to Claude usage limits, including the optional usage credits billed at API rates.
- Max and Ultra’s monthly API credits do not help here. The article says those credits “can’t be used in Claude Code or the Claude apps, including for usage credits.”
Max, Ultra, Team and Enterprise all include Claude Code too; my dated lineup of every Claude plan compares their prices and usage multiples.
Claude Code Free for Students, From India, or Codex Instead
- Students: the routes a student in India can take to Claude are mapped one by one in a separate guide.
- India: fetched from India on 22 November 2026, claude.com/pricing listed every plan in US dollars, with no rupee price. Apple’s India App Store prices, Google Play’s range and the web prices Indian press reported are in my Claude Pro price in India table.
- A free coding agent from another vendor: OpenAI’s Codex pricing page listed ChatGPT Free with Codex in the desktop app, subject to rollout, when I compared the two agents tier by tier in Codex vs Claude Code.
Is Claude Code Free for You? Ask Which Model Runs
Is Claude Code free? On your own, with a Claude model behind it, it is free for as long as Anthropic’s new-user API credits last, or for six months if the open-source program approves you. Cloud credits are one more route if your startup holds them: AWS said in April 2024 that Activate credits are redeemable for third-party models on Amazon Bedrock, Anthropic’s included, and Bedrock is on the setup docs’ list of providers. Anthropic’s own startup credits will not help there: the Claude Startups program limits its credits to the first-party Claude API, not AWS, and closed to new applicants on 13 October 2026. The other $0 routes either bill someone else or swap Claude for a different model. If the model matters more than the program, the price to compare is Pro’s $17 a month on annual billing, not $0. If you qualify for the open-source program, apply first; if not, decide whether you need Claude itself or just the program, and pick the route whose model you actually want.
Frequently Asked Questions
Is Claude Code free to use?
No. As of 22 November 2026, Anthropic's setup docs say Claude Code requires a Pro, Max, Ultra, Team, Enterprise or Console account, and that the free claude.ai plan does not include it. The cheapest paid plan that includes it is Pro, at $20 a month or $17 a month billed annually, before tax.
Is Claude Code free in VS Code?
The extension is listed as Free on the Visual Studio Marketplace, but it needs a paid Claude subscription (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account to sign in, per Anthropic's VS Code docs. A Free plan login does not work.
Is Claude Code free with Claude Pro?
Yes, in the sense that it costs nothing on top of Pro. Anthropic's pricing FAQ says Claude Code is included in all paid plans and shares the plan's usage limits, so terminal work and chats draw from one pool.
Is Claude Code free with Ollama?
The Claude Code program can run against Ollama with the command ollama launch claude, and Ollama's pricing page lists running models locally on its $0 tier. You get open models from other companies, though, not Claude, and Ollama's cloud models are billed per token.
How do I get Claude Code free for 6 months?
Through Anthropic's Claude for Open Source program, which gives approved open-source maintainers and contributors 6 months of Claude Ultra, a plan that includes Claude Code. Its terms cap it at up to 10,000 approved recipients, and Anthropic approves each application at its own discretion.