Skip to content

AI Coding Agents in 2026: The 12 Best Compared and Priced

Twelve agents that edit real code, compared on price, free plans and how easy each one is if you don't code, with the November 2026 benchmark scores for the seven in the latest test and nine logged runs of our test prompt in Claude Code.

By Yotam DahanUpdated 18 min readClaude Code

AI coding agents doing the same task: Claude Code and OpenCode each add a prices section to a bakery menu file in the terminal

Among the AI coding agents on Artificial Analysis's independent Coding Agent Index (version 2.1, checked November 22, 2026), Google Antigravity with its new Gemini 4 Neon model leads at 59, one point ahead of Claude Code and Devin at 58, and it costs less per task: $6.86 in API cost against $7.51 for Claude Code's cheapest 58. OpenAI's Codex is the cheapest strong scorer (50 for $0.90 a task). If you don't code, start in the Antigravity, Claude or Codex desktop app: none needs a terminal, but Antigravity's top model needs Google AI Pro.

AI coding agent comparison: all 12 at a glance

The last column is the one other lists skip: Yes means a desktop app with no terminal, Partial a terminal or editor you can learn from a guide, No that it assumes you read code or manage API keys.

AgentWhere it runsFree planPaid fromBenchmark scoreNon-developer?
Google AntigravityApp, terminal, editorsYes$19.99 a month (Google AI Pro)59Yes
Claude Code (Anthropic)App, terminal, editors, webNo$20 (Claude Pro)58Yes
Devin (Cognition)App (formerly Windsurf), terminal, cloudYes$20 (Pro)58Partial
Muse Code (Meta)TerminalNot listedPay as you go or monthly54Partial
OpenAI CodexApp, terminal, editors, webPartial$8 (Go, app only); $20 (Plus)53Yes
Grok Build (xAI)TerminalLimited$8 (X Subscription Plus)42Partial
OpenCodeTerminal, app, editorsYes$10 (OpenCode Go) or your provider40Partial
GitHub CopilotApp, editors, terminal, GitHubYes$10 (Pro)Not in v2.1 (60 in v2.0)Partial
Cursor (SpaceX)Editor, terminal, cloudYes$8 (Plus, Grok models only)Not testedPartial
Kiro (AWS)Kiro IDE, terminal, webYes$20 (Pro)Not testedPartial
ClineApp, VS Code, terminalPartialPay per useNot testedNo
Kilo CodeVS Code, JetBrains, terminalPartialPay per useNot testedNo

Score: Artificial Analysis Coding Agent Index v2.1, each agent's best setup, checked November 22, 2026. USD prices from each vendor's page, linked below, checked November 18, 2026.

What is an AI coding agent?

An AI coding agent takes a goal in plain English, reads the files in a project folder, plans, edits files and runs commands, then checks its own work. A chatbot hands you code to copy; an agent does the work in place. New to the word? Start with what an AI agent is.

What an AI coding agent does with one request
  1. You ask

    Describe the result you want in plain English

  2. It reads

    Opens the files in your project folder

  3. It plans

    Lists the steps, and can wait for your OK

  4. It acts

    Edits files and runs commands, asking first if you set it to

  5. It checks

    Tests the result and tells you what changed

Agents run in a terminal (a text window for commands; terminal versions are called CLIs), a code editor, a desktop app or the cloud, and that place decides how hard one is for a non-developer. Want hosting included and no files? That's an app builder: see the best vibe coding tools.

AI coding agent benchmark: scores, cost and time per task

Artificial Analysis, an independent benchmarking company, runs each agent and model on three equally weighted task sets: FrontierCode-AA 2.0 (132 software tasks from Cognition, the company behind Devin), Terminal-Bench 4.1 (66 terminal tasks) and SWE-Atlas-QnA-AA (124 technical questions), averaging three attempts per task. Version 2.1, released in November 2026, adds Cognition's checker for reward hacking (an agent gaming the tests instead of solving the task), says its methodology page. On November 22, 2026 it listed 41 setups, from data dated November 21.

AI coding agents ranking: Coding Agent Index v2.1, each agent's best setup
  • Antigravity CLI, Gemini 4 Neon xhigh59
  • Claude Code, Fable 5.2 xhigh58
  • Devin Fusion CLI, Opus 5.5 + GPT-6 Luna58
  • Muse Code, Muse Wonder Full (no public API)54
  • Codex, GPT-6.2 Astra max53
  • Grok Build, Grok 4.7 xhigh42
  • OpenCode, GLM-5.340

Artificial Analysis Coding Agent Index v2.1, checked November 22, 2026. GitHub Copilot (60 in v2.0), Cursor, Kiro, Cline and Kilo Code are not in this version.

The top AI coding agents sit within one point of each other, so read the first three as a tie. The harder grading of version 2.1 cut most scores: Claude Code with Opus 5.5 went from 62 in v2.0 to 58, OpenCode from 49 to 40. Claude Code reaches 58 three ways, the cheapest being Fable 5.2 at high effort; at max effort the same model scored 56 for $44.22 a task.

Antigravity's 59 came from Gemini 4 Neon, which Google added to Antigravity on November 18, 2026 for Google AI Pro and Ultra, not the free plan; Gemini 4 Carbon (Ultra only) scored 55 and Hydrogen 52. And the model matters as much as the agent: Claude Code ranges from 30 with Haiku 5.5 to 58.

Artificial Analysis Coding Agent Index v2.1 on November 22, 2026, best setup of each agent: Antigravity CLI with Gemini 4 Neon 59, Claude Code with Fable 5.2 58, Muse Code 54, Codex 53, Kimi Code CLI 49, Grok Build 42, Mistral Vibe 41, OpenCode 40, next to time per task (Codex 25.1 minutes to Claude Code 53.3) and cost per task (Mistral Vibe $1.34 to Claude Code $15.47)
Score, time and cost per task for each agent's best setup, router setups such as Devin's switched off. Artificial Analysis, November 22, 2026 (data of November 21).
SetupScoreAPI cost per taskTime per task
Antigravity CLI, Gemini 4 Neon xhigh59$6.8630.5 min
Claude Code, Fable 5.2 high58$7.5131.3 min
Devin Fusion CLI, Opus 5.5 + GPT-6 Luna58$8.7554.9 min
Claude Code, Opus 5.5 max58$12.6165.3 min
Claude Code, Fable 5.2 xhigh58$15.4753.3 min
Codex, GPT-6.2 Astra max53$5.1225.1 min
Codex, GPT-6.1 Sol max52$1.5121.9 min
Codex, GPT-6.2 Sol xhigh50$0.9012.6 min

Codex with GPT-6.2 Sol is the cheapest and fastest setup at 50 or more: under a dollar and 13 minutes a task, nine points below the top. GitHub Copilot isn't in v2.1 yet, but on the separate Terminal-Bench 4.1 leaderboard its Copilot Fusion setup (a mix of models that GitHub's plan pages don't name) leads at 71.2%, ahead of Claude Code with Opus 5.5 or Fable 5.2 at 65.8% (November 18); Devin isn't on that one.

The best AI coding agents, one by one

The order follows how easy each agent is to start without code, then the score: the three with a no-terminal desktop app come first, highest score first, so Claude Code, the agent our course teaches, sits second.

1. Google Antigravity

Google's agent comes as a desktop app, editor extensions and a CLI that replaced Gemini CLI for unpaid users on June 18, 2026. It's free with weekly limits. Google AI Pro ($19.99 a month in the US) raises them and adds Gemini 4 Neon, the model behind its 59 and the default for new conversations; Ultra adds Gemini 4 Carbon (models page, checked November 22, 2026). Watch out: Neon isn't on the free plan or Google AI Plus.

2. Claude Code

Anthropic's agent edits real files from the Claude desktop app, a terminal or an editor, and runs in the cloud from the web. Every paid Claude plan includes it: Pro is $20 a month ($17 billed yearly), Max $100 and Ultra $200, before tax. Watch out: it shares one usage pool with your Claude chats, and there is no free plan.

3. OpenAI Codex

ChatGPT Free and Go ($8 a month) get the Codex app with GPT-6 Luna, subject to OpenAI's rollout; Plus ($20) adds the CLI, editor extension and web, with GPT-6.1 Sol and the GPT-6.2 Astra and Sol models from the table above (Codex pricing, November 18). It shares usage limits with ChatGPT Work; plans side by side in Codex vs Claude Code.

4. Devin (formerly Windsurf)

Devin Desktop is the next generation of Windsurf, sold with a CLI and cloud agents; its 58 came from Devin Fusion (Opus 5.5 with GPT-6 Luna). Free with a light quota, Pro $20, Max $200. The catch: no usage numbers, only "light" and "increased" quotas.

Devin pricing for Devin Desktop, formerly Windsurf: Free at $0, Pro at $20 a month and Max at $200 a month
Windsurf's plans now live here. Devin's individual plans, October 2026; unchanged on November 18.

5. Cursor

An AI code editor built on VS Code, owned by SpaceX since August 14, 2026. Plus ($8) runs only Grok models; Premium ($30) adds cloud agents and other models billed at API price (Cursor's plans, November 18).

6. GitHub Copilot

Copilot runs agents in its app, editors, the terminal and on GitHub, where its cloud agent turns an issue into a pull request (a change you review before it goes in). Free includes 2,000 completions a month and agent mode; Pro is $10, Pro+ $39, Max $100 (Copilot plans, November 18). Want an AI coding agent for VS Code? Copilot, Cline, Kilo Code and Claude Code's extension all run there.

GitHub Copilot plans for its AI coding agent: Free at $0, Pro at $10, Pro+ at $39 and Max at $100 a month
GitHub's Copilot plans for individuals; the cloud agent starts at Pro. October 2026, same prices on November 18.

7 to 12. For terminal and editor users

Muse Code (Meta)

Meta's terminal agent for its Muse models. It scored 54 with Muse Wonder Full, which has no public API; the priced Muse Wonder setup scored 44. Plans are on Meta's developer site, shown only as an image.

Grok Build (xAI)

A terminal agent in the X Subscription; Cursor's plan page lists it as limited on Free and included from Plus at $8. It scored 42, at $15.35 a task in API cost.

OpenCode

Open source, with more than 75 model providers and a rotating set of free models for a limited time; OpenCode Go is $10 a month. It scored 40 with GLM-5.3, and it can't use a Claude plan, so Claude there is billed per token.

Kiro (AWS)

Writes requirements, a design and a task list before any code. Free with 50 credits, Pro $20 for 1,000. AWS points Amazon Q Developer users here before its IDE plugins lose support.

Cline and Kilo Code

Open source extensions where you pick any model and watch every step. Cline is free to install and you pay your provider per use; Kilo Code Teams is $15 per user.

Outside the 12: Mistral Vibe comes with Mistral Pro ($14.99 a month before tax; Mistral renamed its Le Chat assistant Vibe on May 28, 2026) and scored 41, and Amp runs on a Claude subscription since October 10, 2026.

What changed for AI coding agents in 2026

Many "best AI coding agents 2026" lists predate these changes and still recommend Windsurf.

  1. April 2, 2026Cursor 3.0 adds the Agents Window for running many agents at once
  2. May 25, 2026xAI opens Grok Build as an early beta
  3. June 2, 2026Windsurf becomes Devin Desktop
  4. June 18, 2026Gemini CLI stops serving unpaid and Google One users; Antigravity CLI takes over
  5. August 14, 2026SpaceX completes its purchase of Cursor
  6. October 12, 2026New Cursor plans move into xAI's X Subscription
  7. November 12, 2026OpenAI's proposed shutoff date for its models in Cursor, which still listed them on November 18
  8. November 18, 2026Gemini 4 Neon arrives in Antigravity for Google AI Pro and Ultra, and tops the index at 59
  9. November 30, 2026Antigravity's new date for removing three models, which leaves Gemini 3.8 Flash on its free plan
  10. April 30, 2027Amazon Q Developer IDE plugins lose support; AWS points to Kiro

The index itself changed too. In version 2.0, as we captured it on October 26, Claude Code and Devin shared the top at 62 and Antigravity sat fifth, the order that older rankings may still quote.

The superseded version 2.0 of the Artificial Analysis Coding Agent Index on October 26, 2026, each agent's best setup: Claude Code (Opus 5.5) 62, Devin Fusion (Opus 5.5 Max plus GPT-6 Luna High) 62, Muse Code 59, Codex (GPT-6 Astra) 55, Antigravity CLI 53, OpenCode 49 and Grok Build 47
Version 2.0 as we captured it on October 26, 2026, kept for the record. Version 2.1 re-graded every setup in November; every score elsewhere in this guide is from version 2.1, checked November 22.

Free and open source AI coding agents

The best free AI coding agent for most people is Google Antigravity, with weekly limits. Free AI coding agents all come with a catch:

AgentWhat's freeThe catch
Google AntigravityApp, CLI and extensions, weekly limitsFrom November 30 only Gemini 3.8 Flash; no Gemini 4 Neon
OpenAI CodexThe Codex app on ChatGPT FreeSubject to rollout; the CLI needs Plus
GitHub Copilot Free2,000 completions a month, agent modeNo cloud agent
Devin FreeLight agent quota, unlimited Tab completionsLimited models
Kiro Free50 credits a monthClaude Sonnet 4.5 and open-weight models only
OpenCodeA rotating set of free models, for a limited timeEach has its own data rule

Open source AI coding agents you can install today

Open source means free to install, not free to run: the model provider bills you unless you pick a free model or run one on your computer.

Open source AI coding agents and their licenses

OpenCode

MIT license. Terminal, desktop app and IDE, with more than 75 model providers.

Cline

Apache 2.0. A VS Code extension, a CLI and a desktop app for open-weight models.

Kilo Code

MIT license. VS Code, JetBrains and CLI, with free, local or paid models.

Codex CLI

Apache 2.0. OpenAI's terminal agent, run on a ChatGPT plan or an API key.

Gemini CLI

Apache 2.0. Since June 18, 2026 mainly for paid Gemini API keys and company licenses.

Open source AI coding agent OpenCode running its free Big Pickle model, turning a CSV of weekly orders into a summary of ten items sorted by units sold, in 19.9 seconds
OpenCode on its free Big Pickle model, summarizing a demo file of weekly orders in 19.9 seconds. Our October 2026 capture; we did not log that run, so the picture is all we show of it.

Which is the best AI coding agent for you?

Leaving Claude Code instead? Our Claude Code alternatives guide starts from your reason.

You areStart withWhy
New to code and want a site or toolClaude Code or Antigravity (desktop apps)No terminal, top three scores
Already paying for ChatGPTCodexIncluded, cheapest strong scorer
Already paying for Google AI ProAntigravityIncluded, with Gemini 4 Neon (59)
Want to spend $0Antigravity or OpenCodeReal agent features for $0
Coding every day in an editorCursor or GitHub CopilotAgents next to autocomplete
A team that lives on GitHubGitHub CopilotCloud agent opens pull requests
Want open source or your own modelsOpenCode, Cline or Kilo CodeAny provider, any model

Before you pay for a year, give your top two the same small job:

The same test for any two agents
Work only inside this folder. Read [FILE WITH YOUR PRICES OR SERVICES] and build a one-page price list called prices.html that looks good on a phone. Before you change anything, tell me your plan in three bullet points and wait for my OK. When you finish, list every file you created or changed and how I can undo it.

0 of 4 done

What happened when we ran this test

On November 6, 2026 we ran that prompt in Claude Code, twice with Opus 5.5 and once with Sonnet 5.5, on a made-up dog groomer's list with three traps: the nail trim at two prices ($15, and 18 "on weekends" for a shop closed Sundays), a service with no price, and a "no cats" line. The second Opus run, shortened:

  1. You:

    Work only inside this folder. Read services.txt and build a one-page price list called prices.html. Tell me your plan in three bullet points and wait for my OK.

  2. Claude Code:

    I haven't changed anything yet. Plan: one new file, prices.html, with the services grouped in four sections. Your notes say nail trim is 18 on weekends, but you're open Tuesday to Saturday, so I'll write "$18 on Saturdays" unless you'd rather keep "weekends".

  3. You:

    OK, go ahead.

  4. Claude Code:

    I created prices.html; services.txt is untouched. To undo, delete prices.html. I added one footer line saying the business is a demo. I haven't opened the page in a browser, so check how it looks.

RunWaited for the OKCaught the nail trim conflictAdded anything unaskedCost at API pricesModel time
Opus 5.5, run 1YesYes, showed bothNo$0.1540 s
Opus 5.5, run 2YesYes, as SaturdaysA demo footer, reported$0.1639 s
Sonnet 5.5YesYes, showed bothNo; left out the text link$0.0726 s

All three changed nothing until we replied, kept every price (checked with a script) and offered "delete prices.html" as the undo. Costs are the CLI's API-price figures.

We ran it in Claude Code only, the one agent CLI on our test machine, so these runs show what to check, not which agent wins. The same day we gave Claude Code the same job in Spanish, Portuguese and French, on made-up groomers in Guadalajara, Curitiba and Lyon, once with each model. All six waited for the OK and kept every price; these are the slips a quick look would miss:

RunWhat went wrong
Spanish, Sonnet 5.5The call and WhatsApp buttons dialed a wrong number: one extra 0
Spanish, Opus 5.5Added "we only serve dogs" and the state name, without saying so
Portuguese, Sonnet 5.5Promised a WhatsApp button in its plan, delivered only a call button, and said why
French, Sonnet 5.5No text-message button, although the notes said "call or text"
French, Opus 5.5Added a "demo business" footer and left it out of its summary

So for your own test: an OK approves every change in the plan, so read it line by line; tap every button on your phone; and read the whole page for sentences you didn't write.

Where the Claude Code course fits

We teach Claude Code, so here is the honest fit. Our Claude Code course for non-coders is 35 lessons in 8 modules, ending in three finished projects: a landing page on Vercel, an AI video and an agent that forwards invoices to your accountant. It needs a paid Claude plan and is in early access (pre-order). If you code in an editor every day, Copilot's or Cursor's own docs will serve you better.

Quick check0 of 2 correct

In Artificial Analysis's index v2.1 (November 2026), which agent had the lowest API cost per task among setups scoring 50 or more?

In our November 6 test, what did all three Claude Code runs do before writing any file?

What to do next

Pick the two rows of the last table that match you and run the test prompt in both this week, on a copy of real work. Keep the agent that needed fewer corrections, not the one with the higher score. If Claude Code wins, the course above takes you from install to finished projects; if your goal is a website, the Builders course shows how to plan, build and publish one with AI.

Free AI coding agents starter sheet

Two starts with no terminal, two first tasks with checks, a trap file and scorecard for testing two agents side by side, and a checklist for when paying makes sense.

Enter your email and the full section opens right here.

No spam. One click to unsubscribe. We use your email to send you this bonus, new guides and news about our courses.

Frequently asked questions

What is the GitHub Copilot AI coding agent?

GitHub calls it Copilot cloud agent. You assign it a task or an issue, and it researches, plans and opens a pull request, with one branch and one pull request per task. Since October 28, 2026 it runs in a cloud sandbox by default, with no one-hour limit; sessions that run on GitHub Actions keep a 59-minute limit. It's included from Copilot Pro at $10 a month, not on the free plan.

Are AI coding agents safe to run on my own computer?

They can only do what you allow, so start in a copy of one project folder and keep approval prompts on until you trust the agent. Cloud agents, such as Copilot's, work in their own temporary environment instead of on your computer.

What happened to Windsurf?

Cognition relaunched it as Devin Desktop on June 2, 2026. The editor stays fully backwards-compatible with Windsurf, and windsurf.com now redirects to Devin's site, so existing users keep working under the new name.

Can one subscription cover several AI coding agents?

Sometimes. OpenCode accepts ChatGPT Plus or Pro and GitHub Copilot logins, and Amp has let you use a Claude subscription through its Claude Code mode since October 10, 2026. GitHub Copilot can also hand tasks to Anthropic's Claude agent and OpenAI's Codex agent, in preview and billed to Copilot credits rather than a Claude or ChatGPT plan; otherwise each plan covers only its own company's agent.

Can I run an AI coding agent locally?

Yes. Open source agents such as OpenCode and Kilo Code can connect to a model running on your own computer, so your code doesn't have to leave it. You need a powerful machine, and every benchmark score in this guide comes from cloud models.

Keep reading