SWE-2.1: Cognition's coding model doubles its scores

Cognition released SWE-2.1 on November 24, 2026, the model behind the Devin coding agent. Like its predecessor it is a pure reinforcement-learning post-train of Moonshot AI's open-weight Kimi K3 base, and it roughly doubles SWE-2 on the two benchmarks Cognition leads with: Terminal-Bench 4.1 goes from 24.2 to 50.0, and Cognition's own FrontierCode 2.0 goes from 24.1 to 41.3. It also ships in three forms — a standard tier, a Cerebras-served Ultrafast tier at ten times the token rate, and a Cyber variant with looser safeguards for defensive scans. All the headline numbers are Cognition's own, and the model still trails Claude Opus 5.5 on every benchmark in the vendor's table.
- A pure reinforcement-learning post-train of Kimi K3 — Cognition states that SWE-2.1, like SWE-2 before it, is trained with pure reinforcement learning on Kimi K3, the open-weight base model from Moonshot AI.
- Terminal-Bench 4.1 goes from 24.2 to 50.0 — On Cognition's evaluation table SWE-2.1 scores 50.0 on Terminal-Bench 4.1 against SWE-2's 24.2, and 41.3 on FrontierCode 2.0 against 24.1.
- Ultrafast is the same model at 600 tokens per second — SWE-2.1 Ultrafast serves the same model through Cerebras at about 600 tokens per second, against 60 tokens per second for the standard deployment.
- Free through December 8, then a discounted rate — SWE-2.1 is free for self-serve plans in Devin Desktop and CLI through December 8, 2026, then costs $0.50 per million input tokens and $2.50 per million output tokens until January 30, 2027.
What SWE-2.1 actually is
Related guide: Claude vs GPT in 2026: which one should you actually pay for?
SWE-2.1 is not a new base model. Cognition states plainly that, like its predecessor SWE-2, it is trained with pure reinforcement learning on Kimi K3, Moonshot AI's open-weight model. That distinction matters for two reasons. It means the architecture, tokenizer and raw capability ceiling are inherited, not designed from scratch; and it means every behavioural change is attributable to post-training rather than to a bigger pretraining run.
Where the change was made is in task breadth and in rollout control. Cognition says it expanded its training tasks and environments across both short- and long-horizon workflows, spanning areas from science and performance engineering to cybersecurity. It also improved its post-training algorithms specifically to control rollout length, because uncontrolled length oscillations had been destabilising training dynamics. The practical effect, per Cognition, is that it could train reliably on tasks ranging from a few minutes to many hours, with held-out performance improving steadily over many days of training rather than spiking early.
For a coding agent, that last point is the important one. An agent that can only work for three minutes is doing autocomplete with tools. An agent that can hold a task for several hours can find a root cause, patch it, run the failing test, and iterate. The capability that matters in production is sustained autonomous work, and the recipe change targets that directly.
The benchmark table, read carefully
Related guide: Microsoft MAI Code 2 vs GPT-6.1 Sol and Claude Opus 5.5
Cognition publishes a table comparing SWE-2.1 against SWE-2, Kimi K3.1, Grok 4.7, Muse Wonder, Gemini 4 Neon, GPT-6.2 Sol and Claude Opus 5.5. The numbers are worth reading slowly because they tell a more nuanced story than the launch copy.
On Terminal-Bench 4.1, SWE-2.1 scores 50.0 against SWE-2's 24.2 — more than double. But Kimi K3.1, the more recent version of the very base model used for post-training, scores 59.7, which is higher. On FrontierCode 2.0, Cognition's own benchmark for whether changes meet maintainer standards, SWE-2.1 scores 41.3 against SWE-2's 24.1, yet Claude Opus 5.5 scores 47.3 and Gemini 4 Neon 46.2. On ProgramBench, SWE-2.1 scores 44.0 against Claude Opus 5.5's 65.0 and Gemini 4 Neon's 66.0.
The pattern across the table is mixed in an instructive way. SWE-2.1 beats SWE-2 everywhere, which is the cleanest signal the release supports. It beats GPT-6.2 Sol on SWE-Atlas QA (71.0 against 61.3) and trails it on SWE Marathon v1.2 (54.9 against 68.8). And Claude Opus 5.5 remains ahead of it on every benchmark Cognition lists. That last point is the one most write-ups skip, and it is the honest headline: SWE-2.1 is a large improvement over its own line, not a new leader.
Two methodology caveats are documented in Cognition's own post. The benchmark clock is deliberately normalised for inference speed, charging one second per model call plus a fixed per-token cost, so a faster serving path does not inflate a score. And the harnesses differ: closed models are run on their developers' preferred harnesses, while SWE-2.1 and open-weight models such as Kimi K3.1 run on the Devin CLI harness. On ProgramBench specifically, Cognition's own models get a 250,000-token context with up to three compactions (one million tokens total), while other models run in mini-swe-agent with their native context. The table is therefore a stronger signal about the upgrade within Devin than about declaring a winner overall.
The three tiers, and what Ultrafast actually buys
Related guide: Inkling 2 Mini: a 26B model that runs on your laptop
The release ships in three shapes, and the naming across coverage has drifted. Cognition's announcement and Devin documentation call the fast tier SWE-2.1 Ultrafast; the company's social posts called it SWE-2.1 Lightning. They refer to the same thing.
The speed chart puts standard SWE-2.1 at 60 tokens per second, SWE-2 Flash at 200, and Ultrafast at 600. Ultrafast is the same model served through a partnership with Cerebras. This is a serving change, not a capability change — and the number is a generation rate, not a task-completion promise. Build steps, test runs, terminal commands and repository tools all remain on the critical path. Cognition's own benchmark methodology normalises for exactly this, which is the fair way to read it: Ultrafast lets you fit more model work into a deadline, it does not make your pull request arrive ten times sooner.
The pricing structure is documented clearly in Devin's model documentation. SWE-2.1 is free for self-serve plans in Devin Desktop and CLI through December 8, 2026 (Pacific time), and that offer explicitly does not apply to Devin cloud sessions. From December 9, 2026 through January 30, 2027 it costs $0.50 per million input tokens, $2.50 per million output tokens and $0.05 per million cache reads. After that, list pricing applies at $2.00 input, $10.00 output and $0.20 cache reads per million tokens. SWE-2.1 Ultrafast is not part of the free offer and is billed at $5.00 input, $25.00 output and $0.50 cache reads per million tokens. The model is offered in five reasoning levels — Low, Medium, High, XHigh and Max — with Medium as the default, and it is available in Devin cloud sessions as a preview through December 22, 2026.
There is no API, no published weights and no self-hosting path for the SWE family. That is the constraint that shapes every comparison here: SWE-2.1 competes as a product inside Devin, not as a model you can point your own harness at. If you want a look at how open-weight alternatives compare on cost and licensing, our GigaChat 4 open-weights guide and our Tencent Hy4 licence guide cover the other side of that trade.
The Cyber variant is the real story for defenders
Related guide: Stripe evals: coding agents score 78%, but only 29% pass
The most consequential number in the release is not on the coding table at all. SWE-2.1 scores 80.0 on ExploitBench, against SWE-2's 36.1, and captures 27.3% of flags via intended exploits on ExploitGym — roughly double SWE-2's 12.1%. Cognition's framing is that it now finds vulnerabilities and carries them through the full exploitation chain, often over several hours of autonomous work.
Cognition also reports that ExploitGym performance improves roughly log-linearly as the time horizon extends: the model keeps finding exploits as it works for more hours, and the slope of that curve is steeper than the base model's. This is test-time scaling for security work, and it is the clearest mechanism in the post for why long-horizon capability matters.
Because of that capability, Cognition deployed SWE-2.1 with safeguards that detect and prevent a narrow band of high-harm behaviours, calibrated so that ordinary defensive work is unaffected. Some legitimate defensive tasks need capabilities those safeguards restrict, so Cognition is rolling out a separate SWE-2.1 Cyber variant with more permissive safeguards, aimed at powering normal scans in Devin Security. It is currently limited to those scans, not sold as a general endpoint, and deep scans continue to use frontier cyber models such as Mythos.
Two operational details from Cognition's post are worth keeping. They built a canary evaluation in which the model tries to escape its training sandbox; after extensive red-teaming it still discovered new sandbox vulnerabilities four times during training, and researchers were alerted each time. And on the defensive side, they are shipping a version with looser safeguards precisely because the same capability that raises the floor for attackers also raises it for defenders. If you want the broader context on agentic offensive tooling moving into operational use, our report on Switzerland's first confirmed AI-agent intrusions covers the same trend from the defender's side.
What to conclude
Related guide: Claude Ship: Claude now reviews, fixes and approves PRs
SWE-2.1 is a well-executed post-training upgrade to an open-weight base, with a pricing structure that is genuinely attractive for the next two weeks and a long-horizon capability profile that is visibly better than its predecessor. For anyone already paying for a frontier coding model to handle routine tickets, the free window through December 8 is a cheap test: point it at a real repository, a real bug and a real regression test, and measure the time to a reviewed patch and the amount of rework. That is the only measurement that settles the question.
What the release does not do is beat Claude Opus 5.5 on any benchmark Cognition publishes, and the numbers are the vendor's own, measured partly on the vendor's own benchmark and partly on the vendor's own harness. Read the table with that in mind, and note that the model is a product inside Devin rather than a model you can run yourself. If you are choosing between a coding agent you operate and a frontier API you call directly, our comparison of AI coding agents and our Claude Ship coverage cover the surrounding stack.
Frequently asked questions
A pure reinforcement-learning post-train of Kimi K3
Cognition states that SWE-2.1, like SWE-2 before it, is trained with pure reinforcement learning on Kimi K3, the open-weight base model from Moonshot AI.
Terminal-Bench 4.1 goes from 24.2 to 50.0
On Cognition's evaluation table SWE-2.1 scores 50.0 on Terminal-Bench 4.1 against SWE-2's 24.2, and 41.3 on FrontierCode 2.0 against 24.1.
Ultrafast is the same model at 600 tokens per second
SWE-2.1 Ultrafast serves the same model through Cerebras at about 600 tokens per second, against 60 tokens per second for the standard deployment.
Free through December 8, then a discounted rate
SWE-2.1 is free for self-serve plans in Devin Desktop and CLI through December 8, 2026, then costs $0.50 per million input tokens and $2.50 per million output tokens until January 30, 2027.
Prices and benchmark figures are standard published rates as of November 29, 2026 and can change without notice. Some outbound links may be affiliate links — see our disclosure. Found an error? Tell us and we'll correct it in public.