Cognition SWE-2: Frontier Coding at 64% Lower Cost
Cognition released SWE-2 on September 10, 2026, and the story is not that it crushes every frontier model — it does not. The story is that it gets within a point of Claude Fable 5.1 on the FrontierCode benchmark while costing 64% less, and it does that on top of an open base model. If you have been tracking how open source AI models have been narrowing the gap with the closed frontier, SWE-2 is the clearest data point yet in the coding-agent niche.
The model is Devin’s coding engine, not a standalone product with a public API price list. That distinction matters more than any benchmark, because it means most of the “cost” claims are about what it costs Cognition to run, not what you pay at the meter. Still, the release is worth understanding, because it shifts the economics of autonomous coding agents in a way that will matter to anyone building or buying them.
What SWE-2 actually is
SWE-2 is a coding model post-trained from Kimi K3, Moonshot AI’s open 2.8-trillion-parameter model. That lineage is the interesting part. Cognition did not train a frontier model from scratch — it took an open base that already had substantial reinforcement learning applied to agentic coding, and ran its own RL on top, adding what Cognition describes as 5-6 points on many benchmarks while shifting the cost-performance curve.
The previous model in this line was SWE-1.7. The headline change in SWE-2 is the effort-level system: medium, high, and max. Cognition trained all three effort levels in a single RL run, so the same model can be told to be fast and cheap or slow and thorough depending on the task. That is a real product decision, not a benchmark trick — a coding agent that always reasons at maximum depth burns tokens and wall-clock time on trivial edits, and one that never does misses the hard bugs.
The model also ships a 1M-token context window and an explicit reasoning mode that can be toggled for complex problems. The reasoning mode is the trade-off you would expect: it improves accuracy on hard tasks while adding latency and token consumption.
The effort levels deserve a closer look because they are the most underrated part of the release. A medium-effort pass is for the routine stuff — rename a variable, fix a type, update a dependency. A high-effort pass is for a real feature or a non-trivial bug. Max effort is for the kind of task where the model has to reproduce a bug across multiple files, understand a subsystem, and hold a lot of state in its head at once. The fact that all three were trained in a single RL run means they are the same underlying model with different inference budgets, not three separate models. That is an elegant design and it is the kind of thing that matters more in daily use than a benchmark row.
How SWE-2’s LLM benchmarks 2026 actually break down
The numbers Cognition reports are specific, and they are worth separating into “Cognition-run” and “independent” because the gap between the two is the whole cautionary tale.
Cognition’s own numbers:
| Benchmark | SWE-2 score |
|---|---|
| FrontierCode 1.1 (Main) | 50.0% |
| DeepSWE 1.1 | 73.0% |
| Terminal-Bench 2.1 | 92.8% |
The FrontierCode number is the one to anchor on. At 50.0%, SWE-2 is within one point of Claude Fable 5.1 — which, Cognition points out, is the strongest closed frontier coding model — while running at 64% lower cost at that comparison point. That is the entire marketing thesis in one sentence: frontier-adjacent accuracy, dramatically cheaper.
The independent picture is a little different and actually more interesting. MindStudio ran its own evaluation and reported 83.75% for SWE-2, beating both DeepSeek V4.1 Flash and Kimi K3 in their testing. Independent numbers that run higher than the vendor’s own are unusual, and they usually mean the independent harness was measuring something slightly different — a narrower task set, a more generous pass criterion, or a different sampling strategy. Both numbers can be “true” and still not be directly comparable.
The real lesson for anyone reading these LLM benchmarks 2026 results is that harness details dominate. FrontierCode, DeepSWE, and Terminal-Bench all measure different things — repository-scale bug fixing, multi-step software engineering, and terminal/agent tool use respectively — and a model that leads one can trail another. A single headline number is close to meaningless without the harness context.
To put the numbers in context against the models people actually cross-shop:
| Model | FrontierCode 1.1 Main | Notes |
|---|---|---|
| Claude Fable 5.1 | ~51% | Closed frontier, highest cost |
| Cognition SWE-2 | 50.0% | Devin-only, ~64% lower cost |
| DeepSeek V4.1 Flash | below 50% | Open weights, direct API access |
| Kimi K3 (base) | below SWE-2 | The open base SWE-2 is built on |
The exact third-party rows shift week to week, so treat the table as directional rather than authoritative. The pattern is what matters: the cheapest “frontier-adjacent” entries are all built on open bases now.
The benchmark trap underneath
Here is the thing the launch blog glosses over, and it is the reason I have spent this much space on methodology.
SWE-2 is not a general-purpose API model. You cannot go to an API endpoint, pay per token, and get SWE-2. It ships inside Devin, in the Devin Desktop and CLI, and it is included free with Devin Pro. So the “64% lower cost than Fable 5.1” is about Cognition’s cost to serve the model, folded into a subscription you already pay for, not a per-token price you can compare line-item by line-item.
That is not a scam. It is a framing choice. The model genuinely is cheaper to run than a closed frontier model because it is built on an open base, and that cost advantage is passed through in the form of “more capable agent inside the same subscription” rather than “lower per-token API price.” But if you are evaluating SWE-2 against Claude Fable 5.1 or DeepSeek V4.1 Flash for your own product, the comparison has to account for the fact that two of those three are things you can buy directly, and SWE-2 is not.
There is also a legitimacy question about the FrontierCode comparison itself. “Within one point of Fable 5.1 at 64% lower cost” is true only at a specific point on the cost curve. Shift the comparison point and the “64%” moves. Cognition is picking the most flattering framing, which every vendor does, but with a model that has no public API price the framing is harder to audit than usual.
Who should use SWE-2
This is aimed squarely at people who already use Devin, or who are considering an autonomous coding agent for real software work. If you are paying for Devin Pro, SWE-2 is a straight upgrade: the new effort levels let you dial the speed/quality trade-off per task, which is genuinely useful when you are deciding whether a one-line fix deserves max-effort reasoning or a quick pass.
It is also a meaningful signal for teams evaluating whether to build or buy their coding-agent layer. SWE-2 demonstrates that a strong open base model plus focused RL can get close to closed-frontier coding accuracy at a fraction of the serving cost, which suggests the “we must pay for the most expensive closed model” assumption is getting shakier by the month.
Who should NOT use it
Skip it if you need a coding model you can call directly from your own infrastructure with a transparent per-token price. SWE-2 is locked inside Devin, and there is no announced path to run it standalone.
Skip it if your decision hinges on a single benchmark. As the independent 83.75% versus vendor 50.0% spread shows, these numbers are harness-sensitive to a degree that makes direct comparison treacherous.
Skip it if you want a general-purpose reasoning model. SWE-2 is specialized for software engineering. For broad reasoning or non-coding agent work, you would be better served by the base Kimi K3 or a general frontier model.
One practical note for existing Devin users: the effort-level toggle is a new dial, and the temptation is to leave everything on max. That will quietly multiply your token spend and wall-clock time for no accuracy gain on easy tasks. The correct habit is to default to medium and escalate only when the first pass misses.
How it actually fits the open-source trend
The meta-story here is bigger than one coding model. SWE-2 is built on Kimi K3, an open-weights model. DeepSeek’s V4.1 Flash — also open — is right behind it in independent coding evaluations. A year ago, the top of the autonomous-coding leaderboard was entirely closed models. Now the most competitive “cheap frontier-adjacent” options are all sitting on open bases.
That does not mean open models have won. Claude Fable 5.1 still leads FrontierCode, and the closed labs are not standing still. But the cost-performance gap is compressing, and SWE-2 is evidence that a focused lab can take an open base, apply serious RL, and land within striking distance of the frontier at a fraction of the price. For anyone building on coding agents, that changes the make-versus-buy math in a real way.
Limitations and caveats
The biggest caveat is the one I keep circling back to: no public API, no independent cost audit. Everything about the economics is Cognition’s framing, and it is not verifiable from the outside.
The second caveat is benchmark variance. The spread between Cognition’s 50.0% on FrontierCode and MindStudio’s 83.75% independent result is large enough that you should not trust either number as “the” measure of SWE-2 without understanding both harnesses.
The third caveat is the reasoning-mode trade-off. The explicit reasoning mode improves hard-task accuracy but adds latency and token use, and “max effort” on a simple edit is pure waste. You have to tune the effort level to the task, which is a new operational skill that a lot of teams have not built yet.
The bottom line
SWE-2 is a credible, well-executed release that pushes the “frontier-adjacent at a fraction of the cost” story further than it has gone in coding. It is not a standalone model you can buy, and the headline cost claim is unauditable from outside Devin. But as a signal about where open-base coding agents are headed, it is hard to ignore: an open 2.8T-parameter base, tuned with RL, is now within a point of the closed frontier on the industry’s hardest coding benchmark. That is the real news, and it will outlast any single benchmark row.
Sources
- Cognition, “Introducing SWE-2: Pushing the Pareto Frontier” — https://cognition.com/blog/swe-2
- MarkTechPost, “Cognition Releases SWE-2: A Kimi K3 Post-Trained Coding Model That Matches Fable 5.1 on FrontierCode at 64% Lower Cost” — https://www.marktechpost.com/2026/09/12/cognition-releases-swe-2-a-kimi-k3-post-trained-coding-model-that-matches-fable-5-1-on-frontiercode-at-64-lower-cost/
- MindStudio, “Cognition SWE-2: Benchmarks, Pricing, and Real Test Results” — https://www.mindstudio.ai/blog/cognition-swe-2-coding-model
- AIMadeTools, “Cognition SWE-2 Explained: Benchmarks, Cost and Devin Access” — https://www.aimadetools.com/blog/cognition-swe-2-explained/
- BenchLM, “SWE-2 Benchmarks & Context” — https://benchlm.ai/models/swe-2