Free picks · Nov 4, 2026

Best free AI coding agents and CLIs

Scored for the job: Best AI coding agents

⚠ Preliminary, based on public research, hands-on test pending. These scores come from a desk review of public sources (official pricing pages, docs, changelogs), linked on each tool page. Rex hasn't run the hands-on tests yet, so tiers shown are projected. Under our rubric, a tool's official tier is capped at B until it's tested.
CriterionOpenAI CodexOpenCodeCursorGitHub CopilotClineDevin Desktop (formerly Windsurf)KiroAider
Projected tierA84/100A81/100A80/100A79/100A78/100B72/100B71/100B70/100
Output quality on the job test /353124292525262422
Speed & friction /15131114131012119
Value / price /15101491212101113
Control & ownership /1071076106610
Momentum & community /101010998774
Reliability & trust /1087798788
Builder-fit /555555444
Free tierYesYesYesYesYesYesYesYes
Entry paid planPlus: $20/moOpenCode Go: $10/moPlus: $8/moPro: $10/moClinePass: $9.99/moPro: $20/moPro: $20/moOpen source: $0
VerdictBuffed 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)

ToolScoreFree pathWhere it runsThe catchSource
OpenAI Codex84ChatGPT Free and Go include “limited trial access to Codex”Open-source CLI, IDE, desktop, webNo published free quota; meant for trying itCodex pricing
OpenCode81Open source (MIT) and 100% free; free models included, no account neededTerminal (TUI), desktop app, IDE extensionFree models are limited-time; OpenCode says your data is only stored when you use its free modelsOpenCode, models
Cursor80Free plan, $0/monthDesktop editorLimited agent and chat requests; cloud agents start at the paid Premium planCursor pricing
GitHub Copilot79Copilot Free (Copilot Student is free for verified students)VS Code, JetBrains, Copilot CLI and moreAI credit allowance, 2,000 completions a month, auto model selection only, no cloud agentGitHub docs
Cline78Open-source extension and CLI, free for individual developersVS Code, CLIYou pay for inference (your own key or Cline credits) unless you run local models; rotating free-model promotions are quota-limitedCline pricing, free models
Devin Desktop72Free plan, $0Desktop editor (formerly Windsurf)Light agent quota and limited models; Tab completions and inline edits are unlimitedDevin pricing
Kiro71Kiro Free, 50 creditsDesktop editor, CLISmall allowance; open-weight models and Claude Sonnet 4.5 only, with limitsKiro pricing
Aider70Open source and freeTerminalBring 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)

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.