Claude Code for free: what is actually available, alternatives, and how to pay less than a subscription

The free claude.ai plan does not include Claude Code. Here is what free alternatives still offer and what Claude Code costs on GLM, Qwen, DeepSeek and Haiku via an API key.

8 min · · claude-code · агенты · экономия · сравнение

Claude Code is not available for free: the free claude.ai plan does not include it. According to Anthropic's documentation, you need a Pro, Max, Team, Enterprise or Console (API) account: "The free claude.ai plan does not include Claude Code access" (docs, as of October 29, 2026). A subscription is not the only route, though. The client itself installs at no cost, and you can pay per token through an API key, including on low-cost models. Below: which free alternatives are left, where their limits are, and what Claude Code costs on cheap models.

What the Anthropic subscription gives you

Claude Code is included in Pro and Max. Per the pricing page as of 29.10.2026, Pro is $20 per month, or $17 per month billed annually ($200 upfront). Max starts at $100 per month with 5x or 20x the Pro limits.

The second official route is Console, meaning pay-as-you-go API billing. If the ANTHROPIC_API_KEY variable is set, Claude Code uses it and bills through the API instead of your subscription (Anthropic help). That is fine when intentional and unpleasant when a key is left in your shell from earlier experiments.

The third route is pointing Claude Code at a gateway with a different set of models. The client stays the same; models and per-token prices change. The full walkthrough is in Claude Code without a subscription; a short version follows below.

Installing the client is the same in every case:

bash
# macOS, Linux, WSL
curl -fsSL https://claude.ai/install.sh | bash
bash
# Windows PowerShell
irm https://claude.ai/install.ps1 | iex

Free Claude Code alternatives: what is left

During 2026 several well-known free options shut down or changed terms. Everything below was checked against primary sources on October 29, 2026. Terms change, so open the tool's own page before deciding.

OpenCode

OpenCode is a free, open source client. It ships a set of free models "for a limited time", such as Big Pickle, GLM-5.3-Flash Free and DeepSeek V4.1 Flash Free, usable without signing up (opencode.ai).

Request limits are not published, and "limited time" means the lineup can change at any point. For steady work, OpenCode is usually connected to your own provider with a key.

Antigravity CLI instead of Gemini CLI

Gemini CLI is no longer free for individuals. On 18.06.2026 free access and Google AI Pro/Ultra subscriptions moved to Antigravity CLI (the agy command). Gemini CLI now serves only corporate Gemini Code Assist Standard and Enterprise licenses.

Antigravity has a $0 per month plan for individuals with "baseline weekly limits". Google does not publish exact numbers (Antigravity pricing).

Qwen Code

The free Qwen Code tier via Qwen OAuth closed on 15.04.2026: new requests are rejected and paid providers are offered instead. The client itself remains open source. What changed and how to keep working is covered in Is Qwen Code free.

Cline and Kilo Code

Cline is a free, open source extension for individual developers. You pay only for inference, either with your own key or through the Cline provider (cline.bot/pricing). Token math is in How much Cline costs.

Kilo Code has an Auto Free mode at $0 per month on free models via Kilo Gateway, plus support for your own keys and local models (kilo.ai/pricing).

GitHub Copilot Free

The free Copilot plan gives 2000 completions per month and some AI Credits. Models are picked only via auto-selection. It is available to individual developers who do not have Copilot through an organization. Copilot Pro is $10 per month (GitHub docs).

Install commands for the terminal clients above, per each project's docs:

bash
# OpenCode 2
curl -fsSL https://opencode.ai/v2/install | bash

# Antigravity CLI
curl -fsSL https://antigravity.google/cli/install.sh | bash

# Qwen Code
npm install -g @qwen-code/qwen-code@latest

Summary table

ToolWhat is freeLimitationBring your own key
Claude CodeThe clientFree claude.ai plan gives no accessANTHROPIC_BASE_URL + ANTHROPIC_AUTH_TOKEN
OpenCodeClient and limited-time free modelsLimits not published, lineup changesProvider base URL and API key
Antigravity CLI$0 plan for individuals"Baseline weekly limits" without numbersNot stated in checked sources
Gemini CLINothing for individualsCorporate Code Assist licenses onlyNot stated in checked sources
Qwen CodeThe clientFree OAuth closed 15.04.2026Paid provider
ClineThe extensionInference is paidOwn key or Cline provider
Kilo CodeAuto Free on free modelsKilo Gateway free models onlyOwn keys and local models
GitHub Copilot Free2000 completions and some AI CreditsAuto model selection onlyNot stated in checked sources

A fully free coding agent today is usually a quota with an opaque limit. It is enough to try things out, rarely enough for daily work. The broader picture is in Free AI for programming.

Claude Code on cheap models with an API key

If you want Claude Code specifically, with its agent loop and file handling, you can keep the client and swap the models. Through Zukko, Claude Code runs on an API key without an Anthropic subscription. The Opus, Sonnet and Haiku slots are filled with catalog models, including GLM, Qwen, DeepSeek and Haiku.

Setup

bash
# Gateway URL without /v1: the client appends the path itself
export ANTHROPIC_BASE_URL=https://api.zukko.pro
# The Zukko key goes here
export ANTHROPIC_AUTH_TOKEN=fetch_...
# With ANTHROPIC_API_KEY set, Claude Code asks for an Anthropic login
unset ANTHROPIC_API_KEY

# Which models answer for each slot
export ANTHROPIC_DEFAULT_OPUS_MODEL=deepseek-v4-pro
export ANTHROPIC_DEFAULT_SONNET_MODEL=glm-5.2
export ANTHROPIC_DEFAULT_HAIKU_MODEL=qwen3.8-flash

claude

Two common mistakes: adding /v1 to the URL, and putting the key in ANTHROPIC_API_KEY instead of ANTHROPIC_AUTH_TOKEN. OpenCode, Cursor and Codex work the other way: base URL https://api.zukko.pro/v1 with the suffix, key in the API key field. Full instructions are in the Zukko docs.

Which models to use

Zukko catalog prices per million tokens:

ModelInputOutput
qwen3.8-flash$0.03$0.07
deepseek-v4.1-flash$0.03$0.1
glm-5.3-flash$0.04$0.04
claude-haiku-5-5$0.05$0.2
deepseek-v4-pro$0.07$0.21
glm-5.2$0.08$0.2
qwen3.8-max$0.1$0.28
glm-5.3$0.1$0.1
kimi-k2.7-code$0.12$0.5
claude-sonnet-5-5$0.4$2

The current list with prices is returned by GET https://api.zukko.pro/v1/models.

A sensible layout: the cheapest model in the Haiku slot, your main working model in Sonnet, and the one you trust with hard tasks in Opus. Test quality on a couple of real tasks from your project; other people's benchmarks do not transfer to your code. A model-by-model comparison is in Claude Code with Qwen, GLM and DeepSeek.

Cost example

Take a hypothetical month of 30M input and 3M output tokens. This is an assumption for illustration, not a measurement, and it ignores caching: Claude Code often reads repeated context from cache, which lowers the bill. An agent sends a lot of context to the model, so input tokens usually far outnumber output.

  • deepseek-v4.1-flash: 30 × $0.03 + 3 × $0.1 = $0.90 + $0.30 = $1.20
  • claude-haiku-5-5: 30 × $0.05 + 3 × $0.2 = $1.50 + $0.60 = $2.10
  • deepseek-v4-pro: 30 × $0.07 + 3 × $0.21 = $2.10 + $0.63 = $2.73
  • glm-5.2: 30 × $0.08 + 3 × $0.2 = $2.40 + $0.60 = $3.00
  • qwen3.8-max: 30 × $0.1 + 3 × $0.28 = $3.00 + $0.84 = $3.84
  • claude-sonnet-5-5: 30 × $0.4 + 3 × $2 = $12.00 + $6.00 = $18.00

For reference, Pro is $20 per month. The comparison is not direct: a subscription is capped by plan limits, pay-per-token only by your balance.

Double the volume and the bill doubles too: for glm-5.2 that is $3.00 × 2 = $6.00. Three usage profiles are worked through in How much Claude Code costs per month.

Billing details

Zukko is not free. There is no free tier and no signup bonus; $0.50 is credited once for subscribing to the @zukkopro Telegram channel. The balance is in US dollars, only used tokens are charged, and there is no monthly fee.

Top-ups start at $1. SBP (Russia's Faster Payments System) charges in rubles at the market rate, and the payment page adds about 8.5%. Crypto has no added fee. A foreign MasterCard works for $2 to $594 per payment with about 13% on top. Russian cards are temporarily not accepted; ruble payments go through SBP. Details are in the docs.

You can set daily and monthly spending limits in dollars on each key. That protects against a surprise bill if the agent gets stuck in a long loop.

What to choose

  • Trying it out with no money: OpenCode with free models, Kilo Code in Auto Free, or Antigravity CLI. Limits are opaque, so do not plan long sessions on them.
  • VS Code with your own provider: Cline or Kilo Code with a key.
  • Regular work in Claude Code itself: a Pro or Max subscription, or an API key with models of your choice.
  • Claude Code with the smallest bill: cheap models in the slots and a spending limit on the key.

A local model avoids per-token costs but has hardware requirements; see Claude Code with a local model.

FAQ

Can I use Claude Code for free?

The client installs at no cost, but the free claude.ai plan does not include Claude Code. You need a Pro, Max, Team or Enterprise subscription, a Console account, or a key from a provider that bills per token.

Does Zukko have a free tier?

No. There is no free tier and no signup bonus. The only credit is $0.50, once, for subscribing to the @zukkopro Telegram channel. Top-ups start at $1 with no monthly fee.

Why not put the key in ANTHROPIC_API_KEY?

With that variable set, Claude Code asks you to log in to an Anthropic account. The Zukko key goes into ANTHROPIC_AUTH_TOKEN, and ANTHROPIC_API_KEY is best removed from the environment.

Will cheap models behave like Claude?

Not necessarily. They are different models with different behavior. The client and workflow stay the same, but answer quality is worth testing on your own tasks. You can mix them: cheap models in Haiku and Sonnet, a stronger one in Opus.

Does Zukko offer Claude Desktop or a Pro subscription?

No. Claude Desktop, ChatGPT, Pro/Plus subscriptions and cross-chat memory are vendor products, not models. Zukko provides an API key, a browser chat, and connections for Claude Code, Codex, Cursor, opencode and other clients. Questions go to support.

zukko

Pay 25×
less

for Claude Code & ChatGPT

One fetch_* key and base URL api.zukko.pro — for Cursor, Claude Code, Codex, and any SDK.

Get API keyDocumentation

api.zukko.pro · fetch_*

Claude Code Free? What's Available and Cheaper Options