Cognition SWE-2.1: A Coding Agent That Doubles Its Own Score

Amir Farid
7 min read

Cognition SWE-2.1: A Coding Agent That Doubles Its Own Score
Cognition released SWE-2.1 on 24 November 2026, a major upgrade to the coding model behind Devin. Like its predecessor, it was trained with pure reinforcement learning on Kimi K3, Moonshot AI's open model — and on Cognition's own runs it roughly doubles SWE-2's scores: Terminal-Bench 4.1 jumps from 24.2 to 50.0, and FrontierCode 2.0 from 24.1 to 41.3. It is available now in Devin Cloud, Devin Desktop and Devin CLI, free for Devin Pro, Max and Teams users until 8 December 2026. For a business that pays developers to build software, that matters — but SWE-2.1 still trails the frontier models on Cognition's own table, and several basic facts about it have not been published.
This post explains what SWE-2.1 is, what its numbers do and do not prove, the two new variants, and how a business should judge it. If you are weighing whether coding agents belong in your workflow, our guide to AI agents for small business automation is a good starting point.
What SWE-2.1 is, and what changed since SWE-2
SWE-2.1 is the model that powers Devin, Cognition's autonomous software engineer, and the follow-up to SWE-2, released earlier in November — we covered that launch in our post on SWE-2 Flash and the earlier SWE-2 release. The training recipe is the same in outline: pure reinforcement learning on top of Kimi K3, Moonshot AI's open model — the model learned by attempting tasks and being scored on the outcome, which tends to produce models that finish things rather than just sounding plausible.
The numbers: roughly double, on Cognition's own runs

The headline figures from Cognition's 24 November announcement are all from the company's own benchmark runs. They have not been independently verified — this post presents them as Cognition's claims, not established facts.
- Terminal-Bench 4.1: 50.0, up from 24.2 for SWE-2.
- FrontierCode 2.0: 41.3, up from 24.1 for SWE-2.
- ExploitBench: 80%, up from 36.1%.
- ExploitGym: 27.3% success rate, up from 12.1%.
Terminal-Bench tests whether an agent can complete real terminal-based tasks in a sandbox. FrontierCode tests harder, more open-ended coding work. Doubling both in one release is a genuine step change.
Benchmarks are a useful signal and a poor decision-maker: a model can score well and still struggle with your codebase. Treat the scores as a reason to trial the model, not as proof it will halve your development time. Our AI agents versus RPA comparison and our AI agent development cost guide for the UK cover how to judge those claims and what the tools cost to build around.
Where it still trails the frontier — honestly
Cognition's own comparison table shows SWE-2.1 is not the best model available. On it, Claude Opus 5.5 scores 47.3 on FrontierCode and 65.8 on Terminal-Bench — ahead of SWE-2.1's 41.3 and 50.0. The frontier models remain better at the hardest coding work.
It also beats Kimi K3.1, its own base model's successor, at 19.9 on FrontierCode, and approaches GPT-6.2 Sol at 43.8. We have covered GPT-6.2 Astra and Sol and Claude Fable 5.2 for coding recently; the pace here is relentless.
SWE-2.1 Cyber: a security specialist with looser guardrails
Cognition also released SWE-2.1 Cyber, its first cybersecurity-specialised model, available only to Devin Security customers. It comes with more permissive safeguards — a deliberate choice, because security testing needs a model allowed to attempt attacks and behave like an adversary.
SWE-2.1 Cyber powers normal security scans; deep scans still use frontier cyber models such as Mythos. That is a sensible architecture: the specialist handles routine work, and a human — or a stronger model — stays in the loop for high-stakes decisions.
"More permissive safeguards" is a risk decision, not a footnote: your own access controls and audit trails matter as much as the model's. Our posts on sandboxing AI agents with AWS Nitro and self-hosted Claude managed agents cover the guardrails any agent with real system access needs.
SWE-2.1 Lightning: 10x faster, and speed is the point
The third announcement is SWE-2.1 Lightning, the same model at 10x speed through a partnership with Cerebras: 600 tokens per second in Cognition's demo, against 60 for standard SWE-2.1 and 200 for SWE-2 Flash.
Speed matters more here than for a chatbot, because these agents improve by iterating: a faster model can try more approaches, run more tests, and recover from more dead ends in the same time. A 10x faster model is a more capable agent wherever iteration is the bottleneck — most real development work.
One cost question hides inside the speed story: faster inference usually means different pricing, and no per-token price has been published for any SWE-2.1 variant. Our AI calling agent cost guide shows how to budget when vendors publish partial numbers.
What it costs, and what is still missing
SWE-2.1 is available now in Devin Cloud, Devin Desktop and Devin CLI, free for Devin Pro, Max and Teams users until 8 December 2026, with discounted pricing until 30 January 2027 at an unspecified rate. That free window is the honest reason to try it: measure it on your own codebase before committing money.
During training, the model discovered new vulnerabilities in Cognition's own sandboxes four times despite red-teaming, and researchers were alerted each time. That is Cognition's claim, and it cuts both ways: evidence of capability, and a reminder that a model trained to solve problems will find the ones you did not know you had.
Four facts have not been published: no per-token price, so you cannot yet calculate what a task costs; no API, so you use it inside Devin rather than calling it from your own systems; no open weights, unlike its Kimi K3 base — if self-hosting matters, our guides to Tencent Hy4 and Mistral Large 4 cover open-weights alternatives; and no context window, a core specification for long-horizon work.
Should your business use SWE-2.1?
Start with the use case, not the model. SWE-2.1 is strongest where the work is long, concrete and verifiable — building a feature, migrating a codebase, fixing a class of bugs, running routine security scans. It is weakest where the work is ambiguous or high-stakes: still frontier-model territory, with a human in the loop.
A practical trial: pick one bounded, real task — not a demo — and run it in Devin during the free window. Measure how long it took, how much output passed your tests without rework, and how much senior-developer review time it consumed. If the numbers beat your current workflow, keep going; if not, you have spent nothing and learned something concrete. That is the same discipline we recommend for any agent rollout — a voice agent, a custom chatbot on your website, or an AI receptionist — the tool earns its place by measured results.
If the trial works and you want to go further — agents inside your product or support flow — Coheser builds custom software and Flutter apps with AI agents built in; see our guide to hiring AI developers in Pakistan. For more on the model race, see Z.ai's GLM-5.4.
Frequently asked questions
What is Cognition SWE-2.1?
SWE-2.1 is the coding model behind Devin, released on 24 November 2026. Trained with pure reinforcement learning on Kimi K3, Cognition positions it as a major upgrade for general intelligence and long-horizon coding work, available in Devin Cloud, Devin Desktop and Devin CLI.
How much better is SWE-2.1 than SWE-2?
On Cognition's own runs, Terminal-Bench 4.1 rose from 24.2 to 50.0 and FrontierCode 2.0 from 24.1 to 41.3 — roughly double on both. ExploitBench rose from 36.1% to 80% and ExploitGym from 12.1% to 27.3%. These are Cognition's own figures, not independently verified results.
Does SWE-2.1 beat Claude Opus 5.5 or GPT-6.2 Sol?
No. On Cognition's own comparison table, Claude Opus 5.5 scores higher on both headline benchmarks (47.3 FrontierCode, 65.8 Terminal-Bench against SWE-2.1's 41.3 and 50.0), and GPT-6.2 Sol is slightly ahead on FrontierCode at 43.8. SWE-2.1 does beat Kimi K3.1, at 19.9.
How much does SWE-2.1 cost?
No per-token price has been published. It is free for Devin Pro, Max and Teams users until 8 December 2026, with discounted pricing until 30 January 2027 at an unspecified rate. Use the free window to measure it on your own work. For independent coverage, see Unite.AI's report on SWE-2.1 and the Cognition announcement on LinkedIn.