aifree.dev

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.

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 #

ToolWhat it doesFree way inInstall
FreebuffTerminal coding agent paid for by adsFree (ad-funded), no card; no published usage capnpm install -g freebuff
Antigravity CLIGoogle's multi-agent terminal coding agent$0 plan with basic weekly rate limitscurl (see below)
OpenCodeOpen-source (MIT) agent with hosted free modelsRotating free models on OpenCode Zencurl (see below)
Kilo CodeOpen-source (MIT) agent that routes to free modelsAuto Free routing, or your own or local modelsnpm install -g @kilocode/cli
ClineOpen-source agent with a CLI and a VS Code extensionRotating free model promotions, limited quotanpm i -g cline
GitHub Copilot CLIGitHub's terminal agentCopilot Free plan includes the CLIcurl (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 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 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 | 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 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 | 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 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/cli

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

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

More tested lists

Every list

Never miss new offers and news

New tools, credits, and AI news are added regularly. Pick how you want to hear about them.

Telegram channel

Join @aifree_dev and get new free AI offers and news right in your Telegram feed.

Browser notifications

Turn on push notifications and get an alert on this device whenever something new is posted. No account needed.

Email newsletter

A weekly digest of new, changed and expiring free AI offers. Double opt-in, one-click unsubscribe. See the latest issue.

Unsubscribe anytime. Privacy

Frequently asked questions

What is aifree.dev?

aifree.dev helps everyone access AI through a curated directory of free AI tools, API credits, free tiers, and startup programs for coding, image, voice, video, and students - verified regularly.

How are offers presented?

Each offer includes its access details, free models when available, and expiration information when provided. Limited-time deals stay visible so they are easy to compare.

Do education and startup programs need verification?

Yes. Providers usually ask students to verify their status with a school email, student ID, or a program like the GitHub Student Pack, and ask startups to verify company details such as age, funding, or website. Check each offer’s claim page for the exact requirements.

What kinds of free AI offers are listed?

Free tiers and free trials from AI providers, free API credits, startup and student programs, and free tools for coding, image generation, voice, and video.

How can I suggest a tool or report a broken link?

Use the submit form: paste the offer page URL and a short note. A person checks every submission before anything is listed. Broken links and changed terms go through the same form.

Know a good one?

Tell us about an AI tool worth knowing. Found a broken link? We want to hear that too.

Submit an offer