---
title: "6 free CLI coding agents you can run without paying"
slug: "free-cli-coding-agents"
description: "Six terminal coding agents with a free way in: Freebuff, Antigravity CLI, OpenCode, Kilo Code, Cline and Copilot CLI. Real limits, installs and catches."
published: "2026-11-10"
verifiedAt: "2026-11-17"
picks: 6
canonical: "https://aifree.dev/best/free-cli-coding-agents"
---

# 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.

Published 2026-11-10. Last checked 2026-11-17.

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](https://freebuff.com/cli) is a terminal coding agent that reads your repo, edits files and runs tests ([details](https://aifree.dev/offer/freebuff-free-coding-agents)).

**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:**

```bash
npm install -g freebuff
```

**Catch:** 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](https://antigravity.google/product/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:**

```bash
curl -fsSL https://antigravity.google/cli/install.sh | bash
```

**Catch:** the weekly limit is not published as a number, and the CLI is not open source.

## 3. OpenCode: free models on Zen

[OpenCode](https://opencode.ai/docs/zen) is an open-source (MIT) agent with its own model gateway, OpenCode Zen ([details](https://aifree.dev/offer/opencode-zen-free-models)).

**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:**

```bash
curl -fsSL https://opencode.ai/v2/install | bash
```

**Catch:** 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](https://kilo.ai/pricing) 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:**

```bash
npm install -g @kilocode/cli
```

**Catch:** "where available" is the whole promise: no named model or quota is guaranteed.

## 5. Cline: rotating free models

[Cline](https://cline.bot/pricing) is an open-source (Apache 2.0) agent that runs in VS Code and as a CLI ([details](https://aifree.dev/offer/cline-free-models)).

**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:**

```bash
npm i -g cline
```

**Catch:** 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](https://docs.github.com/en/copilot/get-started/plans) 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:**

```bash
curl -fsSL https://gh.io/copilot-install | bash
```

**Catch:** 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.

## Picks

1. [Freebuff](https://freebuff.com/cli)
2. [Antigravity CLI](https://antigravity.google/product/antigravity-cli)
3. [OpenCode](https://opencode.ai/docs/zen)
4. [Kilo Code](https://kilo.ai/pricing)
5. [Cline](https://cline.bot/pricing)
6. [GitHub Copilot CLI](https://docs.github.com/en/copilot/get-started/plans)

## Frequently asked questions

### 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

- https://claude.com/pricing
- https://learn.chatgpt.com/docs/pricing
- https://github.com/google-gemini/gemini-cli
- https://antigravity.google/pricing
- https://antigravity.google/download
- https://freebuff.com/cli
- https://opencode.ai/docs/zen
- https://opencode.ai/docs
- https://kilo.ai/pricing
- https://github.com/Kilo-Org/kilocode
- https://docs.cline.bot/getting-started/free-models
- https://cline.bot/pricing
- https://docs.github.com/en/copilot/get-started/plans
- https://github.com/github/copilot-cli
- https://aifree.dev/offer/freebuff-free-coding-agents
- https://aifree.dev/offer/opencode-zen-free-models
- https://aifree.dev/offer/cline-free-models
- https://github.com/anomalyco/opencode
- https://github.com/cline/cline

HTML page: https://aifree.dev/best/free-cli-coding-agents
