Best free AI coding agents and CLIs
Scored for the job: Best AI coding agents
Quick answer
- Best fully free
- OpenCode, 81/100, projected A: open source (MIT), ships with free models you can use without an account (limited-time), or bring any key or local model
- Highest score with a free plan
- OpenAI Codex, 84/100, projected A: ChatGPT Free includes limited trial access to Codex; the Codex CLI is open source
- Best free editor
- Cursor, 80/100, projected A: Free plan with limited agent and chat requests. GitHub Copilot (79) is close and its Free plan includes the Copilot CLI
- Free, bring your own model
- Cline, 78/100, projected A: free open-source extension and CLI; you pay only for inference, or use local models
| Criterion | OpenAI Codex | OpenCode | Cursor | GitHub Copilot | Cline | Devin Desktop (formerly Windsurf) | Kiro | Aider |
|---|---|---|---|---|---|---|---|---|
| Projected tier | A84/100 | A81/100 | A80/100 | A79/100 | A78/100 | B72/100 | B71/100 | B70/100 |
| Output quality on the job test /35 | 31 | 24 | 29 | 25 | 25 | 26 | 24 | 22 |
| Speed & friction /15 | 13 | 11 | 14 | 13 | 10 | 12 | 11 | 9 |
| Value / price /15 | 10 | 14 | 9 | 12 | 12 | 10 | 11 | 13 |
| Control & ownership /10 | 7 | 10 | 7 | 6 | 10 | 6 | 6 | 10 |
| Momentum & community /10 | 10 | 10 | 9 | 9 | 8 | 7 | 7 | 4 |
| Reliability & trust /10 | 8 | 7 | 7 | 9 | 8 | 7 | 8 | 8 |
| Builder-fit /5 | 5 | 5 | 5 | 5 | 5 | 4 | 4 | 4 |
| Free tier | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| Entry paid plan | Plus: $20/mo | OpenCode Go: $10/mo | Plus: $8/mo | Pro: $10/mo | ClinePass: $9.99/mo | Pro: $20/mo | Pro: $20/mo | Open source: $0 |
| Verdict | Buffed in Sep 2026 with GPT-6 Astra, and included in every ChatGPT plan. Plus-tier Astra limits are tight. | Open-source (MIT) agent with free bundled models and any-provider support, including your ChatGPT or Copilot subscription or a Claude Code login. Huge momentum; quality depends on the model. | Slickest editor UX. Pricing reshuffled on Oct 12, 2026 into The X Subscription; third-party models now billed at API list price. | Cheapest paid entry ($10/mo) with unlimited completions and a GitHub-native cloud agent. Agent use now burns AI credits. | Open source, bring any model (or run local). Max control; cost depends on the model you choose. | Windsurf, renamed in June 2026, now a hub for local and cloud agents. Quota overages billed at API prices. | Spec-first workflow is a distinct playstyle. Clear credit tiers, small free allowance. | Free, open source, git-native classic. Release cadence has slowed (last stable Feb 2026). |
Pricing checked Oct 23, 2026 / Nov 18, 2026 / Nov 4, 2026. Sources on each tool page.
Quick take (preliminary): “Free” means very different things across AI coding agents. Some tools are free, open-source software where you pay only for the model (or run one locally). Others have a free plan with a small usage allowance meant to get you to upgrade. Below are the tools on our AI coding agents tier list that you can start for $0, in score order, with what each free path actually includes.
What “free” means for each tool (checked Nov 4, 2026)
| Tool | Score | Free path | Where it runs | The catch | Source |
|---|---|---|---|---|---|
| OpenAI Codex | 84 | ChatGPT Free and Go include “limited trial access to Codex” | Open-source CLI, IDE, desktop, web | No published free quota; meant for trying it | Codex pricing |
| OpenCode | 81 | Open source (MIT) and 100% free; free models included, no account needed | Terminal (TUI), desktop app, IDE extension | Free models are limited-time; OpenCode says your data is only stored when you use its free models | OpenCode, models |
| Cursor | 80 | Free plan, $0/month | Desktop editor | Limited agent and chat requests; cloud agents start at the paid Premium plan | Cursor pricing |
| GitHub Copilot | 79 | Copilot Free (Copilot Student is free for verified students) | VS Code, JetBrains, Copilot CLI and more | AI credit allowance, 2,000 completions a month, auto model selection only, no cloud agent | GitHub docs |
| Cline | 78 | Open-source extension and CLI, free for individual developers | VS Code, CLI | You pay for inference (your own key or Cline credits) unless you run local models; rotating free-model promotions are quota-limited | Cline pricing, free models |
| Devin Desktop | 72 | Free plan, $0 | Desktop editor (formerly Windsurf) | Light agent quota and limited models; Tab completions and inline edits are unlimited | Devin pricing |
| Kiro | 71 | Kiro Free, 50 credits | Desktop editor, CLI | Small allowance; open-weight models and Claude Sonnet 4.5 only, with limits | Kiro pricing |
| Aider | 70 | Open source and free | Terminal | Bring your own model or key; latest stable release is still v0.86.2 (Feb 12, 2026) | Aider, PyPI |
If you want a free terminal (CLI) agent
- OpenCode (81): the strongest fully free choice on our scores. Free models out of the box, 75+ providers, local models, or your ChatGPT, Copilot or GitLab Duo subscription. Since v2.2.3 (Oct 30) it can also use your Claude Code login through its Claude Agent provider (release).
- OpenAI Codex (84): the highest score here, but the free part is a trial. Good for testing Codex before paying for ChatGPT Plus.
- GitHub Copilot (79): Copilot Free includes the Copilot CLI, drawing on the same small credit allowance.
- Cline (78) and Aider (70): free software with full control of the model. Your cost is the model you plug in; local models cost nothing but need capable hardware.
If you’d rather stay in an editor
- Cursor (80), Devin Desktop (72) and Kiro (71) all have $0 plans with limited agent usage. Treat them as trials of the paid product. Kiro’s spec-first workflow is the most distinct of the three.
Not free (for comparison)
- Claude Code (86): top of the list, but not included in Claude’s Free plan (Claude pricing).
- Kimi Code (71): Plus membership and above only (Kimi Code docs).
- Gemini CLI (66): no longer free for individuals since June 18, 2026 (Google). See Gemini CLI alternatives.
Also see the paid head-to-head: Claude Code vs Codex vs Cursor.
Free-tier facts above were re-checked on each tool’s official pricing page or docs on Nov 4, 2026. Free plans change often, so check the source before you rely on a limit. Scores are preliminary desk reviews. They’re the same scores as the tier list and weren’t adjusted for this page.
FAQ
What is the best free AI coding agent in 2026?
On our preliminary scores, OpenCode (81/100, projected A) is the best fully free option: the agent is open source and 100% free to use, and it ships with a set of free models you can use without creating an account (limited-time). OpenAI Codex scores higher (84) and is included in ChatGPT Free, but OpenAI describes that as limited trial access, so it's a taster rather than a daily driver.
Is there a completely free AI coding CLI?
Yes. OpenCode, Cline and Aider are free, open-source tools that run in the terminal. OpenCode includes free models; with Cline and Aider you pay for the model you connect, or run a local model at no cost. The Codex CLI is open source too and works with ChatGPT Free's limited Codex access, and GitHub says every Copilot plan, including Copilot Free, includes the Copilot CLI.
What do the free plans of Copilot, Cursor, Kiro and Devin Desktop include?
As checked on Nov 4, 2026: Copilot Free has an allowance of AI credits, up to 2,000 inline completions a month and auto model selection only, with no cloud agent. Cursor Free has limited agent and chat requests. Kiro Free includes 50 credits with access to open-weight models and Claude Sonnet 4.5, with limits. Devin Desktop Free has a light agent quota, limited models, and unlimited Tab completions and inline edits.
Is Claude Code free?
No. Claude's pricing page lists Claude Code as not included in the Free plan; it starts with Claude Pro. Claude Code tops our coding-agents list at 86/100, but it isn't on this page because there's no $0 way to use it. Kimi Code (71) is also paid only: Moonshot's docs say Plus and above can use it.
Is Gemini CLI still free?
Not for individuals. Google's deprecation notice says that starting June 18, 2026, the free Gemini Code Assist for individuals, Google AI Pro and Google AI Ultra tiers stopped serving requests, and this also applies to Gemini CLI. See our Gemini CLI alternatives page for where to switch.
Were these tools tested hands-on?
Not yet. Every score here is Preliminary: a desk review of official pricing pages, docs and changelogs. Under the RexRanksAI rubric, a tool's official tier is capped at B until it is hands-on tested. Scores are the same as on the tier list, weren't adjusted for this page, and are never for sale.