The two agents most developers pay for now sit half a point apart on the same benchmark. On Terminal-Bench 2.1, GPT-5.6 Sol at extra-high effort scores 89.5% and Claude Opus 5 at max effort scores 89.1%: the default models of Codex (since GPT-5.6 went GA on July 9, 2026) and Claude Code (since Opus 5 shipped July 24). Claude Fable 5 is runnable again after its July 1 restoration, and it still leads SWE-bench Verified at 95.0%. For open source, opencode (193,678 stars, MIT) is the most-starred agent, ahead of Claude Code (140,331), Gemini CLI (106,374), and OpenAI Codex (104,106). The full ranked table, with default models, prices, and scores verified August 5, 2026, is below.
Best AI coding agent by goal
Verified August 5, 2026. Terminal-Bench 2.1 harness scores from Artificial Analysis, agent-plus-model pairs from tbench.ai; prices and GitHub stars from vendor pages and the GitHub API.
Highest benchmark
Codex + GPT-5.6 Sol (xhigh)
89.5% Terminal-Bench 2.1, #1
Deepest reasoning
Claude Code + Opus 5 (max)
89.1% Terminal-Bench 2.1, 1M context
Most open source
opencode (MIT)
193,678 stars, any provider
Free, model-agnostic: opencode, Cline, Aider, Kilo Code, Zed (free tier). Free Google option: Antigravity CLI (Gemini CLI's free serving ended June 18, 2026). Best IDE flow: Cursor (Pro $20/mo). Cheapest paid default: GitHub Copilot Pro ($10/mo, 1,500 AI credits).
Terminal-Bench 2.1 leaderboard (the agent benchmark that matters)
Terminal-Bench measures an agent driving a real terminal to complete development tasks: editing files, running commands, fixing failures. It tests the agent and model together, which is the right unit, because the same model scores differently inside different agents. The chart below is the harness-level run of the 89 v2.1 tasks that Artificial Analysis executes independently on the Terminus 2 agent (pass@1, 3 repeats per task), read August 5, 2026. The vendor-submitted agent-plus-model entries on tbench.ai follow in the table.
Terminal-Bench 2.1 (Terminus 2 harness, independently run)
Percentage of the 89 terminal development tasks completed. Higher is better.
Top three are Artificial Analysis harness runs on Terminus 2 (read Aug 5, 2026). The three below are vendor-submitted agent-plus-model entries from tbench.ai and are not directly comparable to the harness runs. Fable 5 was restored July 1, 2026, so its entry is usable again.
| Rank | Agent | Default model | Best public score | Entry price | License / stars |
|---|---|---|---|---|---|
| 1 | Codex CLI (0.146.0) | GPT-5.6 Sol | 89.5% TB 2.1 (harness #1) | Free $0; Plus $20/mo | Apache-2.0, 104,106 |
| 2 | Claude Code (v2.1.222) | Opus 5 | 89.1% TB 2.1; Fable 5 80.3% SWE-Pro | Pro $20/mo ($17 annual) | Proprietary, 140,331 |
| 3 | Gemini CLI / Antigravity | Gemini 3.1 Pro | 70.7% TB 2.1 | Free (Antigravity CLI) | Apache-2.0, 106,374 |
| 4 | Cursor | frontier + Composer | n/a (BYOK / IDE) | Hobby $0; Pro $20/mo | Proprietary IDE |
| 5 | GitHub Copilot | auto model selection (free) | n/a (IDE + CLI) | Free $0; Pro $10/mo | Proprietary |
| 6 | Windsurf (Devin Desktop) | SWE 1.6 + OSS models | n/a (BYOK / IDE) | Free $0; Pro $20/mo | Proprietary (Cognition) |
| 7 | opencode (BYOK) | any provider; opencode Zen | n/a (BYOK) | Free | MIT, 193,678 |
| 8 | Cline (BYOK) | any provider | n/a (BYOK) | Free | Apache-2.0, 65,680 |
| 9 | Aider (BYOK) | any provider | 88.0% (Aider polyglot) | Free | Apache-2.0, 47,956 |
| 10 | Kilo Code (BYOK) | Auto Model (500+) | n/a (BYOK) | Free | MIT, 26,720 |
| 11 | Zed | BYOK | n/a (editor) | Free $0; Pro $10/mo | OSS Rust, 88,064 |
| 12 | Amp | GPT-5.5 modes + Oracle | n/a (PAYG) | PAYG, $5 min | Sourcegraph |
Ranks 1 and 2 carry the Artificial Analysis harness score for the agent's default model; rank 3 is the vendor-submitted tbench.ai pair. Agents below rank 3 are model-agnostic (BYOK), IDE-bundled, or pay-as-you-go and are not submitted as single pairs, so "n/a" means no public score for that pair, not a low score. Aider's 88.0% is gpt-5 (high) on Aider's own polyglot leaderboard. On SWE-bench Pro, Fable 5 reports 80.3% and Opus 4.8 reports 69.2%.
Two leaderboards disagree on the top model, and that is fine because they test different things. Terminal-Bench rewards driving a terminal end to end. SWE-bench Pro rewards fixing real GitHub issues. On the self-reported SWE-bench Pro aggregate at llm-stats.com, Claude Fable 5 leads at 80.3% and Opus 4.8 scores 69.2% (up 4.9 points from Opus 4.7's 64.3%), ahead of GPT-5.5 (58.6%) and Gemini 3.1 Pro (54.2%). Read benchmarks as the agent-plus-model pair, not the model alone.
The frontier models behind the agents
Every BYOK agent inherits the model you give it. As of August 5, 2026, Claude Fable 5 leads agentic coding at 95.0% SWE-bench Verified and 80.3% SWE-bench Pro, and it is generally available again after the June 12 export order was lifted on July 1. Claude Opus 5 is the Claude Code default at $5 in / $25 out per 1M tokens with a 1M-token context window. GPT-5.6 went generally available on July 9 in three tiers, Sol, Terra, and Luna, and Codex defaults to gpt-5.6-sol at medium effort. DeepSeek V4, GLM-5.2, Qwen 3.7, MiniMax M3, and Kimi K2.6 are the open-weight options you can self-host or buy by the token. One frontier model is still gated: Claude Mythos 5 is invitation-only inside Anthropic's Project Glasswing.
| Model | Status | SWE-bench Verified | SWE-bench Pro | Price in / out per 1M |
|---|---|---|---|---|
| Claude Fable 5 | GA (restored Jul 1) | 95.0% | 80.3% | $10 / $50 |
| Claude Opus 5 | GA (Jul 24) | not published | not published | $5 / $25 |
| Claude Opus 4.8 | GA | 88.6% | 69.2% | $5 / $25 |
| GLM-5.2 | GA (open weights) | not published | 62.1% | $1.40 / $4.40 |
| Qwen3.7 Max | GA | 80.4% | 60.6% | $1.25 / $3.75 |
| MiniMax M3 | GA (open weights) | 80.5% | 59.0% | $0.60 / $2.40 |
| GPT-5.5 | GA | 88.7% | 58.6% | $5 / $30 |
| Kimi K2.6 | GA (open weights) | 80.2% | 58.6% | $0.95 / $4.00 |
| DeepSeek V4 Pro | GA (open weights) | 80.6% | 55.4% | $0.44 / $0.87 |
| Gemini 3.1 Pro | Preview | 80.6% | 54.2% | $2 / $12 |
| GPT-5.6 Sol | GA (Jul 9) | not published | not published | $5 / $30 |
| GPT-5.6 Terra | GA (Jul 9) | not published | not published | $2 / $12 |
| GPT-5.6 Luna | GA (Jul 9) | not published | not published | $0.20 / $1.20 |
| Claude Mythos 5 | Invitation-only | not published | not published | $10 / $50 |
SWE-bench Verified is OpenAI's 500-problem human-validated subset; SWE-bench Pro is Scale AI's contamination-resistant 1,865-task set across 41 repositories. The numbers above are vendor self-reported (on the llm-stats leaderboard, all 102 SWE-bench Verified entries are self-reported and 0 are independently verified). Scale's standardized public SWE-bench Pro leaderboard runs much lower and is not directly comparable: GPT-5.4 (xHigh) leads it at 59.1%, with Claude Opus 4.6 at 51.9% and Gemini 3.1 Pro at 46.1%. Treat the self-reported figures as vendor claims, not refereed results.
Pricing, side by side
Open source agents are free as tools; you pay for model tokens. Subscription agents bundle model access into a plan with usage windows or credits. Prices verified from vendor pages on August 5, 2026.
| Agent | License / source | Entry price | How you pay for models |
|---|---|---|---|
| Claude Code | Proprietary (140,331 stars) | Pro $20/mo ($17/mo annual); Max from $100/mo | Bundled. 5-hour rolling window plus weekly cap shared across claude.ai and Claude Code |
| OpenAI Codex CLI | Apache-2.0, 104,106 stars | Free $0; Go $8/mo; Plus $20/mo; Pro from $100/mo | Bundled per 5-hour window, or BYO OpenAI API key at per-token rates |
| Cursor | Proprietary IDE | Hobby $0; Pro $20/mo | Pro includes $20 of API-rate usage; Pro+ $60 ($70), Ultra $200 ($400), Teams $40/user/mo |
| GitHub Copilot | Proprietary | Free $0; Pro $10/mo | AI credits (1 credit = $0.01): Pro 1,500/mo, Pro+ $39 gives 7,000, Max $100 gives 20,000; buy more beyond |
| Windsurf (Devin Desktop) | Proprietary (Cognition) | Free $0; Pro $20/mo | Pro includes SWE 1.6 and OSS models; Max $200/mo; Teams $80/mo + $40/dev seat |
| opencode | MIT, 193,678 stars | Free | BYOK any provider; ChatGPT Plus / Copilot / GitLab Duo usable as backends; opencode Zen hosted |
| Cline | Apache-2.0, 65,680 stars | Free | BYOK any provider, or local via Ollama / LM Studio; no markup |
| Aider | Apache-2.0, 47,956 stars | Free | BYOK per run, e.g. anthropic / deepseek / openai-compatible |
| Kilo Code | MIT, 26,720 stars | Free | Kilo Gateway at exact provider rates, 0% markup; or BYOK / local (Ollama, LM Studio) |
| Gemini CLI / Antigravity | Apache-2.0, 106,374 stars | Free (Antigravity CLI) | Gemini CLI free serving ended June 18, 2026; Antigravity CLI is free to everyone; or BYO API key |
| Zed | OSS Rust, 88,064 stars | Free $0; Pro $10/mo | Free 2,000 edit predictions/mo; Pro unlimited + $5 tokens; BYOK unlimited; Business $30/seat |
| Amp | Sourcegraph | PAYG, $5 minimum | Pay-as-you-go credits, no markup; Enterprise +50% and a $1,000 one-time purchase |
Claude Code runs Opus 5, the default Opus since July 24, 2026, with Fable 5 and Sonnet 5 selectable. Codex's default Power setting is gpt-5.6-sol at medium effort; Terra is the everyday tier and Luna the high-volume one, and gpt-5.2 and gpt-5.3-codex are deprecated for ChatGPT sign-in. GitHub Copilot Free serves models through auto model selection only, with premium models on Pro+ and Max. Cursor mixes frontier models (Claude, GPT, Gemini) with its in-house Composer. Gemini CLI and Antigravity run Gemini 3 Pro and Gemini 3 Flash, auto-routed, with Gemini 3.1 Pro as the top scorer. Cline, Aider, opencode, Kilo Code, and Zed are model-agnostic and run whatever key you supply.
Claude Code
Best for reasoning depth on hard problems, in the terminal.
Anthropic's terminal-native agent, also available in VS Code and JetBrains, a desktop app, and the web. Its default model has been Claude Opus 5 since July 24, 2026 ($5 in / $25 out per 1M tokens, 1M-token context), which scores 89.1% on Terminal-Bench 2.1 at max effort; the older Opus 4.8 pairing scores 78.9%. Fable 5 is selectable again and leads SWE-bench Pro at 80.3%. The repo anthropics/claude-code has 140,331 stars and shipped v2.1.222 on August 4, 2026, but is proprietary (the repo is for issues and docs, with no open-source license). It supports MCP, sub-agents, background and cloud sessions, CLAUDE.md memory, hooks, and skills.
Install
Install Claude Code
# Native install (recommended)
curl -fsSL https://claude.ai/install.sh | bash # macOS / Linux / WSL
# Windows PowerShell:
# irm https://claude.ai/install.ps1 | iex
# Alternatives
brew install --cask claude-code
npm install -g @anthropic-ai/claude-code # Node 18+
# Add an MCP server
claude mcp add --transport http notion https://mcp.notion.com/mcpPricing and limits
Claude Pro is $20/mo monthly or $17/mo billed annually and includes Claude Code; Max starts from $100/mo, with Max 20x at $200/mo. Usage runs on a 5-hour rolling session window plus a weekly cap, shared across claude.ai, Claude Desktop, and Claude Code on the same subscription. The free Claude.ai plan does not include Claude Code. It also runs via Amazon Bedrock, Google Vertex AI, and Microsoft Foundry, and the terminal CLI and VS Code extension support third-party model providers.
Long sessions stay coherent with built-in auto-compaction. Compare directly at Claude Code vs Codex and Claude Code vs Cursor.
OpenAI Codex CLI
Best benchmark ceiling. GPT-5.6 Sol is #1 on Terminal-Bench 2.1.
OpenAI's open-source agent (openai/codex, 104,106 stars, Apache-2.0, stable 0.146.0 as of July 29, 2026). Its default Power setting runs gpt-5.6-sol at medium effort, and GPT-5.6 Sol at extra-high effort tops Terminal-Bench 2.1 at 89.5%. GPT-5.6 ships three tiers: Sol for hard, open-ended work ($5 in / $30 out per 1M tokens), Terra as the everyday workhorse ($2 / $12), and Luna for high-volume repeatable tasks ($0.20 / $1.20). gpt-5.2 and gpt-5.3-codex are deprecated for ChatGPT sign-in. Surfaces include the CLI, an IDE extension, the Codex Web cloud agent at chatgpt.com/codex, a desktop app, and iOS, with automatic code review in the cloud.
Install
Install Codex CLI
curl -fsSL https://chatgpt.com/codex/install.sh | sh # macOS / Linux
npm install -g @openai/codex
brew install --cask codex
codex # run, then "Sign in with ChatGPT"
# /model # switch model (gpt-5.6-sol default, gpt-5.6-terra, gpt-5.6-luna)Pricing and limits
Codex ships with the ChatGPT plan ladder: Free $0, Go $8/mo, Plus $20/mo, Pro from $100/mo (5x and 20x), Business $20/user/mo billed annually, and Enterprise custom. Usage is metered in messages per shared 5-hour window. You can also auth with an OpenAI API key and pay per-token rates (Sol $5 / $30, Terra $2 / $12, Luna $0.20 / $1.20 per 1M tokens after OpenAI's July 30, 2026 cut to the Terra and Luna tiers), with no cloud features in API-key mode.
Cursor
Best IDE flow, with a separate lower-cost agent pool.
A VS Code fork built around an agent loop, now from Anysphere, which also acquired Continue.dev. Individual plans: Pro $20/mo includes $20 of API-rate usage; Pro+ $60/mo includes $70; Ultra $200/mo includes $400; Teams is $40/user/mo. Cursor's in-house Composer line draws from a separate, more generous Auto and Composer pool designed for everyday agentic coding at lower cost than frontier API models. The Hobby tier is free with limited Agent requests and Tab completions, no card required. Paid plans add frontier models, MCPs, cloud agents, and Bugbot reviews on usage-based billing.
GitHub Copilot
Cheapest paid default. Works in every major IDE plus a CLI.
Copilot now meters everything in GitHub AI Credits, the replacement for the old premium requests, where 1 credit equals $0.01 of model usage. Free $0 gives 2,000 code completions per month with models reached through auto model selection only. Pro $10/user/mo adds unlimited completions, the Copilot cloud agent, and 1,500 credits a month (1,000 base plus a 500 flex allotment). Pro+ $39/user/mo includes 7,000 credits (3,900 plus 3,100) and premium models; Max $100/user/mo includes 20,000 (10,000 plus 10,000). Organizations pay $19 per granted seat for Business and $39 for Enterprise, and new self-serve Business sign-ups for orgs on GitHub Free or Team have been paused since April 22, 2026. Credits consume on token usage at published per-model rates, and paid plans get a 10% discount on model costs when they let auto model selection pick. Code completions and next edit suggestions are not billed in credits and stay unlimited on paid plans.
Install the CLI
Install GitHub Copilot CLI
npm install -g @github/copilot # Node 22+
brew install copilot-cli
# supports MCP servers and a /model switchCompare at Copilot vs Claude Code and Cline vs Copilot.
Windsurf (now Devin Desktop)
The Windsurf editor, folded into Cognition's Devin.
Cognition, the maker of Devin, folded Windsurf into Devin Desktop; windsurf.com/pricing now redirects to devin.ai/pricing. The former free Windsurf editor is the Devin Free tier ($0/mo, unlimited Tab completions and inline edits, a light agent quota and limited model availability). Devin Pro is $20/mo with full model availability, free use of SWE 1.6 and leading open-source models, and Devin Cloud agents. Devin Max is $200/mo with much higher quotas, and Devin Teams is $80/mo plus $40/mo per full dev seat.
opencode
The most-starred open source coding agent. Any provider, BYOK.
anomalyco/opencode (moved from sst/opencode) has 193,678 stars under MIT and shipped v1.18.13 on August 4, 2026, ahead of Claude Code (140,331), Gemini CLI (106,374), and OpenAI Codex (104,106). Terminal-native, with a desktop app and IDE extension, it is model-agnostic: configure any LLM provider with your own keys, plus local models through Ollama and LM Studio. opencode Zen is the team's curated, tested model list for agentic coding. It supports MCP servers, LSP servers, and sub-agents.
Install and add a custom provider
Install opencode
curl -fsSL https://opencode.ai/install | bash
npm install -g opencode-ai
brew install anomalyco/tap/opencodeCustom OpenAI-compatible provider (JSON config)
{
"provider": {
"myprovider": {
"npm": "@ai-sdk/openai-compatible",
"options": { "baseURL": "https://api.myprovider.com/v1" },
"models": { "my-model": {} }
}
}
}Per opencode's docs, ChatGPT Plus, GitHub Copilot, and GitLab Duo subscriptions are usable as model backends, while Anthropic prohibits using Claude Pro or Max subscriptions with third-party tools like opencode.
Cline
In-IDE open source agent with Plan and Act approval modes.
cline/cline: 65,680 stars, Apache-2.0, free, with usage-based inference only and no subscription. It is model-agnostic via your own API key across Anthropic, OpenAI, Google, OpenRouter, AWS Bedrock, GCP Vertex, Groq, Cerebras, and DeepSeek, or local models via Ollama and LM Studio. It runs as a VS Code and IDE extension plus an SDK and CLI, with explicit Plan and Act modes that require approval before each change.
See Cline alternatives, Cline vs Cursor, and the head-to-head below.
Aider
Git-native terminal pair programming. Auto-commit per edit.
Aider-AI/aider: 47,956 stars, Apache-2.0, free, BYOK and model-agnostic. The terminal pair-programming pioneer that thinks in git, every edit a commit. Aider publishes the polyglot leaderboard (225 Exercism exercises across C++, Go, Java, JavaScript, Python, Rust), where gpt-5 (high) leads at 88.0%, o3-pro (high) at 84.9%, and gemini-2.5-pro at 83.1%. Its last repo push was May 22, 2026, a slower cadence than opencode or Cline, and the leaderboard has not been refreshed with the newest 2026 frontier models.
Install and run Aider
python -m pip install aider-install && aider-install
# or one-liner:
curl -LsSf https://aider.chat/install.sh | sh
aider --model sonnet --api-key anthropic=<key>
aider --model deepseek --api-key deepseek=<key>Related: Aider vs Cline, opencode vs Aider, Morph vs Aider diff.
Kilo Code
In-IDE BYOK with a 0% markup gateway and a model router.
Kilo-Org/kilocode: 26,720 stars, MIT (the domain kilocode.ai now redirects to kilo.ai). The extension is free and open source for VS Code, JetBrains, and the CLI; AI usage is billed separately. The Kilo Gateway is pay-as-you-go at exact provider rates with 0% markup, routing across 500-plus models from 60-plus providers with an Auto Model selector (Frontier, Balanced, and Free tiers). BYOK works for Anthropic, OpenAI, Google, Azure, and Bedrock keys, and local models run via Ollama or LM Studio. See Kilo Code vs Claude Code.
Gemini CLI and Google Antigravity
Gemini CLI's free serving ended; Antigravity CLI replaced it.
google-gemini/gemini-cli: 106,374 stars, Apache-2.0. On June 18, 2026 Gemini CLI and the Gemini Code Assist IDE extensions stopped serving requests for free, Google AI Pro, and Ultra users, replaced by Antigravity CLI, which is available to everyone. Enterprise access through Code Assist Standard and Enterprise is unchanged. The former free quota was 60 requests per minute and 1,000 per day with a personal Google account.
Gemini CLI and Antigravity run Gemini 3 models with auto-routing (Gemini 3 Pro and Gemini 3 Flash), a 1M token context, MCP, Google Search grounding, and shell and file tools. With Gemini 3.1 Pro the pairing scores 70.7% on Terminal-Bench 2.1.
Install Gemini CLI
npx @google/gemini-cli
npm install -g @google/gemini-cli
brew install gemini-cli
# MCP servers configured in ~/.gemini/settings.jsonCompare at Gemini CLI vs Claude Code, Gemini CLI vs Codex, and Antigravity vs Claude Code.
Zed and Amp
Zed
zed-industries/zed: 88,064 stars, a Rust-based multiplayer editor with agentic AI. The Personal (Free) plan gives 2,000 accepted edit predictions per month and supports external agents (Claude Agent, Codex CLI). Pro is $10/mo with unlimited edit predictions plus $5 of included tokens; Business is $30/seat/mo. BYOK is unlimited across Anthropic, OpenAI, Google AI, Ollama, OpenRouter, and Bedrock.
Amp
Sourcegraph's coding agent: a CLI plus IDE integrations for VS Code, JetBrains, Neovim, and Zed. Pricing is pay-as-you-go credits with no subscription, a $5 minimum, and no markup for individuals or teams; Enterprise costs 50% more and requires a one-time $1,000 purchase. Its modes are deep (GPT-5.5 extended thinking), smart, and rush, with an Oracle tool (GPT-5.5 high-reasoning) for a second opinion. Amp spawns parallel sub-agents and supports MCP. See Cursor alternatives for where these fit.
Roo Code and Continue.dev
Roo Code (24,294 stars, Apache-2.0) is a free, BYOK Cline fork for VS Code; roocode.com now redirects to roomote.dev, the team's separate hosted cloud product (from $99/mo). Continue.dev (34,559 stars, Apache-2.0) was acquired by Cursor, and its open source extension remains available.
Cline vs opencode
| Cline | opencode | |
|---|---|---|
| GitHub stars / license | 65,680 / Apache-2.0 | 193,678 / MIT |
| Surface | VS Code and IDE extension + CLI + SDK | Terminal-native + desktop + IDE extension |
| Model providers | Any provider, BYOK, local Ollama / LM Studio | Any provider via AI SDK; opencode Zen; local Ollama / LM Studio |
| Control model | Plan and Act modes, approval before each change | Plan-first, curated opencode Zen model list |
| Pick it if | You want the agent inside your IDE with step approval | You want a CLI agent and the largest community |
Both are free and BYOK. opencode wins on community size; Cline wins if you want the agent embedded in VS Code or another IDE with explicit per-change approval. Full breakdown: opencode vs Cline.
Kilo Code vs opencode
Both are MIT-licensed and free. Kilo Code is a VS Code, JetBrains, and CLI extension with a 0% markup gateway and an Auto Model router; opencode is the terminal-native agent with the largest community and any-provider BYOK.
| Kilo Code | opencode | |
|---|---|---|
| GitHub stars / license | 26,720 / MIT | 193,678 / MIT |
| Surface | VS Code, JetBrains, CLI | Terminal-native + desktop + IDE extension |
| Model providers | 500+ models, 60+ providers; Auto Model router; BYOK or local | Any provider via AI SDK; opencode Zen; local Ollama / LM Studio |
| Pricing | Free extension; Kilo Gateway at provider rates, 0% markup | Free; BYOK any provider |
| Pick it if | You want in-IDE BYOK with no markup and a router | You want a CLI agent and the largest community |
Kilo Code routes across 500-plus models with no gateway markup; opencode has a far larger community (193,678 vs 26,720 stars). Full breakdown: opencode vs Kilo Code.
Aider vs opencode
opencode pushes code daily and is model-agnostic across any provider. Aider is the git-native pioneer, but its last repo push was May 22, 2026 and its polyglot leaderboard has not been refreshed for 2026 frontier models.
| Aider | opencode | |
|---|---|---|
| GitHub stars / license | 47,956 / Apache-2.0 | 193,678 / MIT |
| Surface | Terminal, git-native | Terminal-native + desktop + IDE extension |
| Model providers | BYOK per run (anthropic / deepseek / openai-compatible) | Any provider via AI SDK; local Ollama / LM Studio |
| Pricing | Free; pay for model tokens | Free; pay for model tokens |
| Last repo push | May 22, 2026 | Daily |
| Pick it if | You want auto-commit-per-edit git workflow | You want active development and the widest model choice |
Full comparison: opencode vs Aider.
The model backend matters as much as the agent
Most of these agents are BYOK: opencode, Cline, Aider, Kilo Code, Zed, and Gemini CLI all let you point at any OpenAI-compatible endpoint. The model and the inference provider behind it set both your cost and your output quality, independent of the agent.
If you run DeepSeek, GLM, Qwen, or MiniMax, where you serve them matters. Morph Open Source Models serve these with 16-bit (bf16) activations and no fp8 or int8 quantization. Most serverless providers quantize activations to fp8 to cut cost; keeping full 16-bit means responses match the reference weights rather than an 8-bit approximation.
For codegen, Morph runs codegen-tuned speculative decoding plus custom low-level inference kernels. morph-v3-fast applies edits at ~10,500 tokens per second; morph-dsv4flash (DeepSeek V4 Flash) is $0.139 per 1M input tokens and $0.278 per 1M output, and morph-glm52-744b (GLM-5.2) is $1.1 per 1M input and $4.1 per 1M output, both at 16-bit bf16 against the fp8 activations typical of serverless hosts. See pricing.
Morph also runs a model router that classifies each request in ~430ms at $0.001 per request and sends it to the cheapest model that passes, which lowers both cost and latency without you pinning a model per call. Pairing any BYOK agent with WarpGrep ($0 for 100k requests, $1 per 1M Pro) lifts retrieval quality independent of the model.
| Morph (DeepSeek V4 Flash / GLM-5.2) | Typical serverless fp8 host | |
|---|---|---|
| Activation precision | 16-bit (bf16), no quantization | fp8 activations (quality loss) |
| DeepSeek V4 Flash / 1M tokens | $0.139 in / $0.278 out | varies |
| GLM-5.2 / 1M tokens | $1.1 in / $4.1 out | varies |
| Codegen tuning | Code-tuned spec decode + custom kernels | General-purpose |
Sources
Primary sources behind the numbers on this page, verified August 5, 2026:
- Terminal-Bench 2.1, independent harness runs: Artificial Analysis (Terminus 2, pass@1 over 3 repeats)
- Terminal-Bench 2.1 agent-plus-model submissions: tbench.ai
- Model availability, context windows, and Claude pricing: Anthropic models overview
- GPT-5.6 tiers, defaults, and per-token rates: Codex models, gpt-5.6-sol
- GitHub AI Credits allowances: Copilot usage-based billing, Copilot plans
- SWE-bench Verified and Pro (vendor self-reported aggregate): llm-stats.com Verified, llm-stats.com Pro
- SWE-bench Pro public leaderboard (standardized): Scale Labs
- GitHub stars: GitHub API for opencode, Cline, Aider, Kilo Code, Codex, Claude Code
- Vendor pricing: Claude, Codex, Cursor, Copilot, Devin, Kilo, Zed, Amp
- 2026 shifts: Gemini CLI to Antigravity CLI, Anthropic Fable and Mythos access, Continue.dev acquired by Cursor
- CLI versions: GitHub releases for Claude Code v2.1.222 and Codex 0.146.0
Frequently Asked Questions
What is the best AI coding agent in 2026?
Codex with GPT-5.6 Sol and Claude Code with Opus 5 lead, and they are half a point apart: 89.5% and 89.1% on Terminal-Bench 2.1 as run by Artificial Analysis on the Terminus 2 harness, with GPT-5.6 Terra at 88.0%. Among the vendor-submitted pairs on tbench.ai, Claude Code with Fable 5 is 83.8% and Codex CLI with GPT-5.5 is 83.1%. Fable 5 is runnable again since July 1, 2026 and leads SWE-bench Pro at 80.3%. For open source, opencode (193,678 stars, MIT) is the most-starred agent. Pick Codex for the benchmark ceiling, Claude Code for reasoning depth on long tasks, and opencode or Cline for a free, model-agnostic agent.
Are AI coding agents actually good?
Yes, by 2026 the top agents complete a majority of real tasks. GPT-5.6 Sol completes 89.5% of the 89 Terminal-Bench 2.1 tasks and Claude Opus 5 completes 89.1%, both on the Terminus 2 harness, while Claude Fable 5 fixes 80.3% of SWE-bench Pro GitHub issues; two years earlier those numbers were under 40%. They still fail on long, underspecified, or unfamiliar tasks, so they work best with review on each change rather than fully unattended.
Cline vs opencode: which is better?
opencode has 193,678 stars (MIT) and is model-agnostic across any provider; Cline has 65,680 stars (Apache-2.0) and runs as a VS Code and IDE extension plus a CLI with Plan and Act approval modes. Choose opencode for a terminal agent and the largest community; choose Cline for an in-IDE agent with step-by-step approval. See opencode vs Cline.
Kilo Code vs opencode: which is better?
Both are MIT and free. Kilo Code (26,720 stars) is an IDE and CLI extension with BYOK or local models and a 0% markup gateway routing across 500-plus models. opencode (193,678 stars) is terminal-native with any provider and a larger community. Pick Kilo Code for in-IDE BYOK with no markup and a model router, opencode for a CLI workflow.
Aider vs opencode: which is better?
opencode (193,678 stars) ships daily and is model-agnostic across any provider. Aider (47,956 stars) is the git-native pioneer but its last repo push was May 22, 2026 and its polyglot leaderboard is not refreshed for 2026 frontier models. Use opencode for active development and provider choice; use Aider for its auto-commit-per-edit git workflow.
How much does an AI coding agent cost?
Open source agents (opencode, Cline, Aider, Kilo Code, Zed) are free as tools; you pay only for model tokens. GitHub Copilot Free gives 2,000 code completions per month. Copilot Pro is $10/mo with 1,500 AI credits, Cursor Pro and Claude Code Pro are $20/mo ($17/mo annual for Claude), and Codex ships from Free $0 to ChatGPT Plus at $20/mo. To cut token cost on open-weight models, run DeepSeek V4 Flash on Morph at $0.139/1M input and $0.278/1M output.
Is Windsurf still a separate coding agent?
No. Cognition folded Windsurf into Devin Desktop, and windsurf.com/pricing now redirects to devin.ai/pricing. The former free Windsurf editor is the Devin Free tier ($0/mo); Devin Pro is $20/mo with SWE 1.6 and open-source models, and Devin Max is $200/mo. Continue.dev was acquired by Cursor, with its open source codebase still available.
SWE-bench vs Terminal-Bench: what is the difference?
Terminal-Bench 2.1 tests an agent driving a terminal end to end (GPT-5.6 Sol leads the independently run harness at 89.5%). SWE-bench Pro and Verified test fixing real GitHub issues (Fable 5 leads the self-reported SWE-bench Pro aggregate at 80.3%, with Opus 4.8 at 69.2%). Read scores as the agent-plus-model pair, because the same model scores differently in different agents. See context engineering for why scaffolding changes outcomes.
The fastest endpoints are private deployments
Morph's top speeds come from dedicated deployments, not shared public endpoints: speculators trained on your traffic, caching tuned to your workload, and volume discounts over public per-token rates. Over 100 billion tokens per day run this way.
Run your coding agent on faster, full-precision models
Any BYOK agent can point at Morph. Serve DeepSeek, GLM-5.2, Qwen, and MiniMax at 16-bit precision with codegen-tuned inference, and pair it with WarpGrep semantic search at $0 for 100k requests.