6 free CLI coding agents you can run without paying
Six terminal coding agents with a free way in: Freebuff, Antigravity CLI, OpenCode, Kilo Code, Cline and Copilot CLI. Real limits, installs and catches.
6 tools · Last checked
Claude Code and Codex CLI need a paid plan, and Gemini CLI's free tier ended on June 18, 2026. Six coding agents still run in your terminal at $0, each with a different catch.
How we picked: a free way to run it, confirmed on the vendor's own page on 2026-11-17, plus an install command from its docs; ordered from the fewest strings attached to the vaguest quota. Dropped: Claude Code, Codex CLI and Gemini CLI (see above), and Aider, Goose, Crush, Qwen Code and Amp, which show no free hosted usage.
The 6 free CLI coding agents at a glance #
| Tool | What it does | Free way in | Install |
|---|---|---|---|
| Freebuff | Terminal coding agent paid for by ads | Free (ad-funded), no card; no published usage cap | npm install -g freebuff |
| Antigravity CLI | Google's multi-agent terminal coding agent | $0 plan with basic weekly rate limits | curl (see below) |
| OpenCode | Open-source (MIT) agent with hosted free models | Rotating free models on OpenCode Zen | curl (see below) |
| Kilo Code | Open-source (MIT) agent that routes to free models | Auto Free routing, or your own or local models | npm install -g @kilocode/cli |
| Cline | Open-source agent with a CLI and a VS Code extension | Rotating free model promotions, limited quota | npm i -g cline |
| GitHub Copilot CLI | GitHub's terminal agent | Copilot Free plan includes the CLI | curl (see below) |
1. Freebuff: ads pay for the model #
Freebuff is a terminal coding agent that reads your repo, edits files and runs tests (details).
What: a free CLI agent with no card and no credits to watch. Why: the only pick with no published quota. Use when: you want an agent today, no plan to pick. Install:
npm install -g freebuffCatch: the free tier is funded by ads, and the page publishes no fair-use cap.
2. Antigravity CLI: Google's replacement for Gemini CLI #
Antigravity CLI is Google's terminal agent; free individual access moved to it from Gemini CLI on June 18, 2026.
What: the $0 Individual plan covers a variety of agent models and unlimited command requests, under basic weekly rate limits. Why: the one big-vendor CLI with a free plan. Use when: you used Gemini CLI's free access and want it back. Install:
curl -fsSL https://antigravity.google/cli/install.sh | bashCatch: the weekly limit is not published as a number, and the CLI is not open source.
3. OpenCode: free models on Zen #
OpenCode is an open-source (MIT) agent with its own model gateway, OpenCode Zen (details).
What: Zen lists free models, among them GLM-5.3-Flash Free and DeepSeek V4.1 Flash Free, usable inside OpenCode. Why: a hosted model at $0, no other vendor's API key. Use when: you want open source you can later point at any provider. Install:
curl -fsSL https://opencode.ai/v2/install | bashCatch: Zen marks free models "for a limited time", publishes no request limit for most of them, and free chat models work only in OpenCode.
4. Kilo Code: free routing or your own model #
Kilo Code is an open-source (MIT) agent for the terminal, VS Code and JetBrains.
What: the $0 plan needs no hosted credit: Auto Free routes to free models through Kilo Gateway where available. Or you bring your own key or a local model (Ollama, LM Studio). Why: one tool covers free hosted, local and own-key use. Use when: you may move to paid models later. Install:
npm install -g @kilocode/cliCatch: "where available" is the whole promise: no named model or quota is guaranteed.
5. Cline: rotating free models #
Cline is an open-source (Apache 2.0) agent that runs in VS Code and as a CLI (details).
What: any Cline account can use models tagged FREE in the CLI (/settings, provider Cline) up to a limited quota.
Why: the agent is free for individuals; only inference costs.
Use when: you want to try an established agent first.
Install:
npm i -g clineCatch: free models rotate, the quota is not published, and free usage may be used to improve models.
6. GitHub Copilot CLI: free plan, small allowance #
GitHub Copilot CLI is GitHub's terminal agent; the plans page says every plan includes it, Copilot Free too.
What: Copilot Free gives an allowance of GitHub AI Credits, with auto model selection only. Why: no new account if you use GitHub. Use when: you live in GitHub issues and pull requests. Install:
curl -fsSL https://gh.io/copilot-install | bashCatch: the plans page gives no credit amount, and agents are limited on Free.
Which one to try first #
No plan to pick → #1. Used Gemini CLI free → #2. Open source with hosted free models → #3. Local or own-key options → #4. A mature agent → #5. Already on GitHub → #6.
FAQ
- Is Claude Code free?
- No. Claude's pricing page marks Claude Code "No" on the Free plan; it needs Pro or higher, or an API account.
- Is Gemini CLI still free?
- No. Its README says the free tier ended on June 18, 2026 and free individual access moved to Antigravity CLI.
- Which free CLI coding agent has no usage limit?
- Freebuff is funded by ads and publishes no usage cap. The others cap free use with weekly limits, rotating free models or a credit allowance.
Sources
- claude.com/pricing
- learn.chatgpt.com/docs/pricing
- github.com/google-gemini/gemini-cli
- antigravity.google/pricing
- antigravity.google/download
- freebuff.com/cli
- opencode.ai/docs/zen
- opencode.ai/docs
- kilo.ai/pricing
- github.com/Kilo-Org/kilocode
- docs.cline.bot/getting-started/free-models
- cline.bot/pricing
- docs.github.com/en/copilot/get-started/plans
- github.com/github/copilot-cli
- aifree.dev/offer/freebuff-free-coding-agents
- aifree.dev/offer/opencode-zen-free-models
- aifree.dev/offer/cline-free-models
- github.com/anomalyco/opencode
- github.com/cline/cline