Free to read. Sign up to save tools and get alerts when they change. Plus 900+ more AI tool profiles.

Sign up free
7 min readΒ·Updated September 11, 2026

SWE-2 is Cognition's coding model, released September 10, 2026 and post-trained from Moonshot AI's open-weight Kimi K3. Cognition reports it within one point of Claude Fable 5.1 on FrontierCode while costing 64 percent less, and within a few points of GPT-6 Astra at roughly a quarter of the cost. It is not sold on its own: it reaches users only inside Devin, and every benchmark figure is vendor-reported.

Share

Listen to this overview

Free preview Β· first 0:30
0:00 / 0:30

Unlock audio and more

Audio streaming, downloadable PDFs and certificates come with Plus and Pro.

Learning Objectives

  • Understand what SWE-2 is, and why a US lab post-trained its flagship on Chinese open weights
  • Read Cognition's benchmark claims correctly, including the one where SWE-2 loses badly
  • Judge whether a model with no standalone API belongs in your toolchain

What Is SWE-2?

SWE-2 is the coding model released by Cognition on September 10, 2026. Cognition's framing is about the cost-performance curve rather than raw capability: the pitch is not that SWE-2 is the best coding model available, but that it lands close to the frontier for a fraction of the price.

The headline figure is 50.0 percent on FrontierCode 1.1 Main, which Cognition says is within one point of Claude Fable 5.1 while costing 64 percent less.

πŸ’‘Key Concept

What a Pareto frontier claim actually says. Cognition is not claiming to have beaten anyone. It is claiming that for a given budget you now get more, and for a given capability you now pay less. That is a genuinely different argument from a capability claim, and it is the right one for a company selling an agent that runs thousands of steps per task β€” where the model is invoked so many times that price, not peak score, sets what you can afford to attempt.

The base model is the story

SWE-2 is post-trained from Kimi K3, the 2.8 trillion parameter mixture-of-experts model published by Moonshot AI in July 2026 β€” a Chinese lab's open-weight release. Cognition says K3 had already undergone extensive reinforcement learning for agentic coding, and that its own reinforcement learning found substantial headroom on top of that, adding five to six points on many benchmarks.

That a well-funded US company building a flagship developer product chose a Chinese open-weight base is the most consequential fact on this page, and it is worth stating plainly rather than leaving as an aside. Open weights travel regardless of where they were trained, and a permissive-enough license makes the origin an engineering detail rather than a procurement one.

⚠️Warning

On September 10, 2026 β€” the same day SWE-2 shipped β€” Anthropic published a threat report alleging that Moonshot AI ran an unauthorized distillation campaign against Claude, including silently routing its own customers' requests to Claude and keeping the transcripts. Anthropic did not say which Moonshot models were trained on that data, and it names Kimi K3 nowhere. So it is not established that K3 carries distilled Claude output, and this page does not claim it does. What is fair to say is narrower: the provenance of open-weight bases is now a live question for anyone building on them, and Anthropic is an interested party making allegations its competitors have not answered.

The benchmark table

Every number below is published by Cognition, and FrontierCode is Cognition's own leaderboard. Read them as vendor claims pending independent replication.

BenchmarkSWE-2Kimi K3Fable 5.1GPT-5.6 SolGPT-6 AstraSWE-1.7
FrontierCode 1.1 Main50.0%44.2%50.9%47.5%53.3%42.0%
DeepSWE 1.173.0%68.5%67.4%72.7%74.1%37.7%
Terminal-Bench 2.192.8%88.3%91.4%88.8%89.9%81.5%
Terminal-Bench 427.3%21.5%55.8%37.3%57.9%7.6%

Where SWE-2 loses, and it is not close

Three of those four rows support Cognition's argument. The fourth does not, and it is the one worth dwelling on.

On Terminal-Bench 4, SWE-2 scores 27.3 percent against 55.8 percent for Fable 5.1 and 57.9 percent for GPT-6 Astra β€” roughly half. The same model that leads the table on Terminal-Bench 2.1 finishes last among the frontier models on Terminal-Bench 4.

The honest reading is that SWE-2 is strong on the benchmarks closest to what it was trained for and much weaker on the newest and hardest terminal tasks, where the two closed frontier models hold a large lead that price does not offset. If your work looks like the hard end of Terminal-Bench 4, the cheaper model is not the better buy.

Efficiency gains over SWE-1.7

The clearest improvement is not the score but the path to it. Against its own predecessor on FrontierCode 1.1 Main, Cognition reports SWE-2 medium scoring higher than SWE-1.7 while taking 58 percent fewer turns and costing 81 percent less.

Mean steps per run fall from 127 for SWE-1.7 to 53 for SWE-2 medium, and the model makes its first real edit after a median of 18 steps against 48 for SWE-1.7. Cognition attributes this to focused exploration β€” SWE-1.7 drew user complaints for over-exploring simple tasks, and better judgment about which parts of a codebase matter is what closes that gap.

The training change behind it: a reinforcement learning algorithm that trains all reasoning-effort levels in a single run, applying a linear cost penalty per effort level tuned to the local slope of the base model's curve, so the whole frontier advances rather than one operating point.

Pricing and access

⚠️Warning

There is no standalone API, no published per-token price, and no way to use SWE-2 outside Cognition's products. It ships inside Devin Desktop and the Devin CLI, with Devin Web and Fusion following. What you pay is Devin's price, and the model is a component of that subscription rather than a product you can buy, benchmark independently, or swap into an existing harness.

This matters more than it would for a chat model. The efficiency claims above are measured inside Cognition's own agent harness, so they describe SWE-2 as deployed in Devin rather than SWE-2 as a model you could run somewhere else and compare.

Strengths

  • A real cost-performance argument, not a capability boast β€” close to frontier scores at a quarter to a third of frontier price is the kind of claim that changes what a team can afford to run
  • Large efficiency gain over its predecessor β€” 58 percent fewer turns and 81 percent lower cost against SWE-1.7, with the first edit arriving at a median of 18 steps rather than 48
  • Leads the table on Terminal-Bench 2.1 at 92.8 percent, above both closed frontier models
  • Built on open weights, which makes the base independently inspectable even though the post-trained result is not
  • A training result worth knowing β€” advancing an entire cost-performance frontier in one reinforcement learning run, rather than tuning one operating point, is a genuinely useful technique

Limitations & Considerations

  • Terminal-Bench 4 is a large, unexplained loss β€” 27.3 percent against 55.8 for Fable 5.1 and 57.9 for GPT-6 Astra. Cognition publishes the number without accounting for it, and it is the benchmark most likely to resemble hard real work
  • Every figure here is vendor-reported, and the headline benchmark is Cognition's own leaderboard. No independent replication exists yet
  • No standalone API and no published model pricing β€” you cannot evaluate it against your own tasks outside Devin, which is exactly the comparison the cost argument invites
  • The efficiency numbers are harness-bound, measured inside Devin rather than for the model in isolation
  • Still behind GPT-6 Astra on three of four benchmarks, and behind Fable 5.1 on two β€” the claim is proximity at lower cost, not parity
  • Base-model provenance is an open question for the category generally, following Anthropic's allegations against Moonshot published the same day

Getting Started

  1. SWE-2 is reached through Devin, so start at devin.ai β€” there is nothing to install or call directly
  2. Use Devin Desktop or the CLI, which have SWE-2 today; Devin Web and Fusion are still rolling out
  3. Pick your effort level deliberately β€” medium, high and max differ substantially in steps and cost, and medium is where the efficiency claims are measured
  4. Benchmark it against your own repository rather than the published table, since the vendor's numbers come from its own leaderboard and its own harness
  5. Try a hard terminal task early. That is where the published gap against Fable 5.1 and GPT-6 Astra is widest, and where you will find out fastest whether the cost saving holds for your work
  6. Compare total task cost, not per-token price β€” fewer turns is where the saving actually comes from

Key Takeaways

  • SWE-2 is Cognition's coding model, released September 10, 2026 and post-trained from Moonshot AI's open-weight Kimi K3
  • The claim is cost-performance, not capability β€” 50.0 percent on FrontierCode 1.1 Main, within one point of Fable 5.1 at 64 percent less cost, and within a few points of GPT-6 Astra at roughly a quarter of the cost
  • It loses badly on Terminal-Bench 4, scoring 27.3 percent against 55.8 for Fable 5.1 and 57.9 for GPT-6 Astra, and Cognition does not explain the gap
  • It is not a product you can buy β€” no standalone API, no published model price, available only inside Devin
  • Every benchmark figure is vendor-reported on a leaderboard Cognition operates
  • A US lab built its flagship on Chinese open weights, which is the strategically interesting fact and a reminder that open weights travel regardless of origin

Keep track of the tools you’re evaluating

  • The AI Hub on a phone: a 12-day AI Skill Streak and an expanded Content updates alert listing the saved items that changed.
  • Recommended for you on a phone: nine personalised suggestions labelled Trending in AI news, On your saved list, and Popular.
  • My AI Tools on a phone: saved tools including GitHub Copilot and OpenAI Codex, each with an Updated badge.

Swipe for Recommended for you and My AI Tools

Your AI Hub β€” sample data.

πŸ“°SWE-2 in the News

Showing the only story where SWE-2 is tagged in Top AI Stories.

Other tools in AI Coding (12 of 32)

Show 7 more β†’

Other tools from Cognition Labs

🧭Recommended for you

Optional detours β€” these connect to what you just read, and your next lesson will be waiting.