Best free AI coding agents (2026)
AI coding agents you can use without a paid subscription, ranked by our evidence-based score. Some are free open-source tools where you bring your own model key (or use free models), others are paid products with a usable free plan. Gemini CLI is missing on purpose: its free sign-in stopped being served on June 18, 2026, and Google now points free users to Antigravity CLI.
Editorial picks for this use case. Each “Why #N” line is read straight from that tool’s 100-point score breakdown; see each tool page for the full breakdown. Last updated 2026-11-06.
#1
#2
#3
#4
#5
#6
#7
#8
#9
#10
#11
#12
#13
#14
#15
OpenCode open source
Open-source AI coding agent for the terminal, desktop and IDE
Why #1: Strongest on momentum (10/10) and low lock-in / code ownership (10/10); weakest on vibe-coder friendliness (10/15); free tier available; open source.
Verified
87
/ 100
OpenAI Codex open source
OpenAI's coding agent
Why #2: Strongest on momentum (10/10) and use-case fit (23/25); free tier available; open source.
Verified
86
/ 100
goose open source
Open-source local AI agent (desktop, CLI and API) now at the Linux Foundation
Why #3: Strongest on low lock-in / code ownership (10/10) and ecosystem (9/10); free tier available; open source.
Verified
84
/ 100
Kilo Code open source
Open-source coding agent for VS Code, JetBrains and the CLI, with free models and 500+ paid ones at provider rates
Why #4: Strongest on momentum (9/10) and low lock-in / code ownership (9/10); weakest on vibe-coder friendliness (11/15); free tier available; open source.
Verified
83
/ 100
Cline open source
Open-source coding agent for VS Code
Why #5: Strongest on low lock-in / code ownership (10/10) and pricing & free tier (13/15); weakest on vibe-coder friendliness (10/15); free tier available; open source.
Verified
81
/ 100
Qwen Code open source
Open-source terminal coding agent from the Qwen team, works with almost any model
Why #6: Strongest on low lock-in / code ownership (10/10) and momentum (9/10); weakest on vibe-coder friendliness (10/15); free tier available; open source.
Verified
81
/ 100
Crush
Charm's terminal coding agent: any model, LSP context and MCP
Why #7: Strongest on pricing & free tier (13/15) and use-case fit (21/25); weakest on vibe-coder friendliness (10/15); free tier available.
Verified
80
/ 100
OpenHands open source
Open-source, model-agnostic platform for autonomous coding agents
Why #8: Strongest on low lock-in / code ownership (10/10) and momentum (9/10); weakest on vibe-coder friendliness (9/15); free tier available; open source.
Verified
80
/ 100
GitHub Copilot
GitHub's AI coding assistant
Why #9: Strongest on ecosystem (10/10) and pricing & free tier (13/15); weakest on low lock-in / code ownership (4/10); free tier available.
Verified
80
/ 100
Antigravity CLI
Google's terminal coding agent (successor to Gemini CLI for consumers)
Why #10: Strongest on use-case fit (21/25) and output quality (12/15); weakest on low lock-in / code ownership (3/10); free tier available.
Verified
75
/ 100
Jules
Google's asynchronous coding agent that works on your GitHub repo in a cloud VM and opens PRs
Why #11: Strongest on pricing & free tier (13/15) and momentum (8/10); weakest on low lock-in / code ownership (5/10); free tier available.
Verified
74
/ 100
Amp
Frontier coding agent with cloud orbs, from your terminal, desktop or phone
Why #12: Strongest on use-case fit (23/25) and momentum (9/10); weakest on low lock-in / code ownership (4/10); free tier available.
Verified
80
/ 100
Devin Desktop (formerly Windsurf)
AI IDE with an agent command center (formerly Windsurf)
Why #13: Strongest on use-case fit (21/25) and vibe-coder friendliness (12/15); weakest on low lock-in / code ownership (4/10); free tier available.
Verified
75
/ 100
Kiro
Spec-driven agentic IDE
Why #14: Strongest on use-case fit (20/25) and output quality (12/15); weakest on low lock-in / code ownership (4/10); free tier available.
Verified
72
/ 100
Aider open source
Open-source AI pair programming in the terminal
Why #15: Strongest on low lock-in / code ownership (10/10) and pricing & free tier (13/15); weakest on momentum (3/10); free tier available; open source.
Verified
67
/ 100
Two kinds of free
“Free” means two different things here. Open-source agents (OpenCode, Cline, Aider) cost nothing to install, and you pay your model provider, use free models, or plug in a subscription you already have. Commercial agents (Codex, GitHub Copilot, Antigravity CLI, Windsurf, Kiro) have a free plan with a usage cap. The first kind has no ceiling but can run up an API bill; the second kind is truly $0 but stops when the quota runs out.
Free with no model bill
OpenCode (MIT) ships a set of free models that work without an account. OpenAI Codex is included with ChatGPT Free and Go plans, with usage limits. GitHub Copilot Free includes 2,000 completions and 50 chat requests a month. Antigravity CLI has a free individual plan with a weekly quota and rate limit. Kiro Free gives 50 credits (rate-limited), and Windsurf Free has a light agent quota with unlimited Tab and inline edits.
Free tool, bring your own model
Cline is a free open-source editor extension: you pay only for inference, through your own key or Cline’s provider. Aider is a free open-source terminal tool where you pay your model provider directly. Amp’s Hobby plan is free when you use your own API keys or an existing ChatGPT or Claude subscription. goose (Apache-2.0) is a free desktop app and CLI that takes your own key, a local model or an existing Claude, ChatGPT or Gemini subscription. Crush, Charm’s terminal agent, is free with your own key (source-available under FSL-1.1-MIT), with optional Hyper model plans from $10/mo. These are the best picks if you already pay for a model.
More open-source agents
Qwen Code (81, Apache-2.0) from the Qwen team is a terminal agent with a desktop app, IDE plugins and SDKs that works with OpenAI, Anthropic, Gemini and Qwen APIs or a local model through Ollama or vLLM. OpenHands (80, MIT) is a self-hostable autonomous agent platform: its Agent Canvas is free with your own LLM key, and its Teams plan is $500/mo for up to 10 users.
What happened to Gemini CLI’s free tier?
Gemini CLI is still free, open-source (Apache-2.0) software, but free sign-in through Gemini Code Assist for individuals stopped being served on June 18, 2026. It now needs a paid Gemini API key, Vertex AI or a Code Assist Standard/Enterprise license. Google points former free users to Antigravity CLI, which is why it’s on this list instead.
When to start paying
The free plans are enough to try every agent on a real task. Move to a paid plan when you hit the cap every week: Copilot Pro is $10/mo, Codex comes with ChatGPT Plus at $20/mo, and Windsurf Pro and Kiro Pro are $20/mo. With an open-source agent, the cost is whatever your model usage costs.
Side-by-side comparison
| Tool | Score | Free tier | Pricing | Best for |
|---|---|---|---|---|
| OpenCode | 87 | Yes: 100% free to use, with a set of free models that work without an account | Free and open source (MIT) with free models included; optional OpenCode Zen pay-as-you-go ($20 top-ups, pay per request at zero markup), OpenCode Go $10/mo, Go Plus $40/mo, Go Teams $20 per member/mo, or your own provider keys/subscriptions | Developers who want a free, model-agnostic terminal agent with no lock-in |
| OpenAI Codex | 86 | Yes: included with ChatGPT Free/Go plans, with usage limits | Included in ChatGPT Plus ($20/mo), Pro ($100, $200 or $500/mo), Business ($20/seat/mo annual or $25 monthly, 2+ seats); or API key billing | Delegating parallel coding tasks and PR reviews, especially if you already pay for ChatGPT |
| goose | 84 | Yes: free; bring your own model key, a local model or an existing subscription | Free (open source, Apache-2.0); you pay your model provider or use a subscription you already have | Developers who want a free, vendor-neutral agent for code and everyday automation with any model, including local ones |
| Kilo Code | 83 | Yes: the extensions and CLI are free, and Auto Free routes to free models through Kilo Gateway where available | Free for individuals (inference billed separately: free models, BYOK, local models, or Kilo Gateway at exact provider rates with a 5% fee on credit purchases); Kilo Pass from $19/mo with up to 50% bonus credits; Teams $15/user/mo; Enterprise custom. Cloud agents from $0.60/hr, code review $0.33/hr, billed per second | Developers who want a free, model-agnostic agent in VS Code or JetBrains and an easy way to try free models before paying for inference |
| Cline | 81 | Yes: the full open-source extension is free for individuals | Free extension; pay only for model inference (BYOK or Cline provider). Enterprise: custom | Developers who want a free, model-agnostic agent inside VS Code |
| Qwen Code | 81 | Yes: the agent is free; model usage is billed by your provider, or free with a local model | Free and open source (Apache-2.0); you pay your model provider (OpenAI, Anthropic, Gemini, Qwen or any compatible API) or run a local model | Developers who want a free, open-source Claude Code-style CLI they can point at Qwen, other providers or a local model |
| Crush | 80 | Yes: free tool; bring your own model key | Free with your own API key (FSL-1.1-MIT); optional Charm Hyper plans: Shred Diet $10/mo, Shred Classic $20/mo, Shred Energy $50/mo | Terminal-first developers who want a polished, model-agnostic agent and already pay for an API key |
| OpenHands | 80 | Yes: Agent Canvas is free to self-host; you pay your model provider | Agent Canvas free and open source (MIT, bring your own LLM key); Teams $500/mo for up to 10 users (+$50/mo per seat, 30-day trial, capped at 5,000 sessions/mo); Enterprise custom | Developers and teams who want an open-source, self-hostable autonomous agent they control end to end |
| GitHub Copilot | 80 | Yes: 2,000 completions/mo plus limited chat and agent usage | Pro $10/mo, Pro+ $39/mo, Max $100/mo (usage via GitHub AI Credits) | Teams already on GitHub who want AI in their existing editor |
| Antigravity CLI | 75 | Yes: free individual plan with a weekly quota and weekly rate limit (CLI included) | Free for individuals with a weekly quota and rate limit; Google AI Pro and Ultra subscriptions raise quotas (refreshed every five hours) and can buy AI credits for overages; teams via Google Cloud / Gemini Enterprise. No bring-your-own-key | Former Gemini CLI users and Google AI Pro/Ultra subscribers who want a free-to-start terminal agent on Gemini models |
| Jules | 74 | Yes: 15 tasks a day and 3 concurrent tasks with Gemini 2.5 Pro | Free: 15 tasks per rolling 24 hours, 3 concurrent (Gemini 2.5 Pro). Jules in Pro via Google AI Pro ($19.99/mo): 100 tasks/day, 15 concurrent, latest models. Jules in Ultra via Google AI Ultra (from $99.99/mo): 300 tasks/day, 60 concurrent. Paid plans currently only for personal @gmail.com accounts | Handing off bug fixes, version bumps and tests on GitHub repos without keeping an editor open, especially if you already pay for Google AI Pro |
| Amp | 80 | Yes: Hobby plan is free with your own API keys or ChatGPT/Claude subscriptions; cloud orbs are pay-as-you-go (or free on your own runners) | Hobby free (pay-as-you-go orbs, or your own runners free); Megawatt $20/mo (45,000 orb minutes); Gigawatt $200/mo (480,000 orb minutes); Teams at no extra charge; Enterprise custom. No Amp token fees when you use your own keys or ChatGPT/Claude subscriptions | Running many long-lived agents in cloud machines you can check from any device, using your own model subscriptions or keys |
| Devin Desktop (formerly Windsurf) | 75 | Yes: light agent quota, limited models, unlimited Tab and inline edits | Pro $20/mo, Max $200/mo, Teams $80/mo minimum ($40 per full seat) | Developers who want an IDE plus a manager for local and cloud agents |
| Kiro | 72 | Yes: 50 credits, open-weight models plus Claude Sonnet 4.5, rate-limited | Pro $20/user/mo, Pro+ $40, Pro Max $100, Power $200; add-on credits $0.04 each | Structured, spec-first builds where you want plans before code |
| Aider | 67 | Yes: fully free open-source tool (BYOK) | Free; you pay your LLM provider | Terminal users who want a lightweight, git-native BYOK assistant |
FAQ
- What are the best free AI coding agents in 2026?
- Our top pick is OpenCode (score 87/100): Open-source AI coding agent for the terminal, desktop and IDE. Runners-up: OpenAI Codex, goose, Kilo Code, Cline, Qwen Code, Crush, OpenHands, GitHub Copilot, Antigravity CLI, Jules, Amp, Devin Desktop (formerly Windsurf), Kiro, Aider.
- Is OpenCode free?
- OpenCode free tier: Yes: 100% free to use, with a set of free models that work without an account. Paid pricing: Free and open source (MIT) with free models included; optional OpenCode Zen pay-as-you-go ($20 top-ups, pay per request at zero markup), OpenCode Go $10/mo, Go Plus $40/mo, Go Teams $20 per member/mo, or your own provider keys/subscriptions.
- Is OpenAI Codex free?
- OpenAI Codex free tier: Yes: included with ChatGPT Free/Go plans, with usage limits. Paid pricing: Included in ChatGPT Plus ($20/mo), Pro ($100, $200 or $500/mo), Business ($20/seat/mo annual or $25 monthly, 2+ seats); or API key billing.
- Is goose free?
- goose free tier: Yes: free; bring your own model key, a local model or an existing subscription. Paid pricing: Free (open source, Apache-2.0); you pay your model provider or use a subscription you already have.
- How are these tools ranked?
- Each tool is scored out of 100 on fit, vibe-coder friendliness, output quality, pricing, ecosystem, momentum and code ownership, using desk research of official docs and pricing pages. Affiliate status never affects scores.
- What is the best free AI coding agent?
- OpenCode (score 87): MIT-licensed, free to use, and it includes free models that work without an account. OpenAI Codex (86) is the strongest commercial option on a free plan, included with ChatGPT Free and Go with usage limits.
- Is GitHub Copilot free?
- Yes, there is a free plan with 2,000 code completions and 50 chat requests a month. Copilot Pro is $10/mo.
- Is Gemini CLI still free?
- The CLI itself is free open-source software, but its free sign-in stopped being served on June 18, 2026. It now needs a paid Gemini API key, Vertex AI or a Code Assist Standard/Enterprise license. Antigravity CLI is Google’s free option for individuals.
- Which free coding agent works with my own API key?
- Cline, Aider, OpenCode, goose, Crush, Qwen Code and OpenHands all work with your own model keys, and Amp’s free Hobby plan accepts your own keys or an existing ChatGPT or Claude subscription.
Sources (checked Oct 16, 2026)
- OpenCode
- OpenAI Codex
- Qwen Code on GitHub
- OpenHands pricing
- GitHub Copilot plans
- Cline
- Aider
- Amp pricing
- Kiro pricing
- Windsurf pricing
- Gemini CLI to Antigravity CLI transition
- goose
- Crush on GitHub
Related guides
Official sites
- OpenCode official site & pricing (verified 2026-11-05)
- OpenAI Codex official site & pricing (verified 2026-11-05)
- goose official site & pricing (verified 2026-11-05)
- Kilo Code official site & pricing (verified 2026-11-05)
- Cline official site & pricing (verified 2026-11-05)
- Qwen Code official site & pricing (verified 2026-11-05)
- Crush official site & pricing (verified 2026-10-27)
- OpenHands official site & pricing (verified 2026-11-05)
- GitHub Copilot official site & pricing (verified 2026-11-05)
- Antigravity CLI official site & pricing (verified 2026-11-06)
- Jules official site & pricing (verified 2026-11-05)
- Amp official site & pricing (verified 2026-11-06)
- Devin Desktop (formerly Windsurf) official site & pricing (verified 2026-11-06)
- Kiro official site & pricing (verified 2026-11-05)
- Aider official site & pricing (verified 2026-11-06)
Related guides
- Best AI coding agents (2026)
- Cursor vs Claude Code vs Windsurf vs Devin (2026)
- Best free AI app builders (2026)
- Best open-source Lovable alternatives (2026)
- Best tools to deploy a vibe-coded app (2026)
- Best AI app builder for non-coders (2026)
- Best auth for a Next.js SaaS (2026)
- Best AI code review tools (2026)
- Best MCP servers for coding agents (2026)
- Best agent skills for coding agents (2026)
- Best email API for vibe-coded apps (2026)
- Best auth for vibe-coded apps (2026)
- Best payments for vibe-coded apps (2026)
- Best web analytics for vibe-coded apps (2026)
- Lovable vs Bolt vs v0 (2026)
- Stripe vs Lemon Squeezy vs Paddle (2026)
- Best AI app builder for mobile apps (2026)
- Best backend for Lovable apps (2026)
- Best database for vibe-coded apps (2026)
- Best Firebase alternatives (2026)
- Best Supabase alternatives (2026)
- Best Neon alternatives (2026)
- Best Clerk alternatives (2026)
- Supabase Auth vs Clerk vs Auth0 (2026)
- Auth pricing at 100K users (2026)
- Best Auth0 alternatives (2026)
- Best Firebase Auth alternatives (2026)
- Best Heroku alternatives (2026)
- Best Vercel alternatives (2026)
- Cheapest way to host a vibe-coded app (2026)