Cognition shipped SWE-2.1 on November 24 as a drop-in replacement for SWE-2 across Devin Desktop, Devin Cloud and the Devin CLI. Like its predecessor, the model is trained with pure reinforcement learning on Kimi K3, Moonshot AI's 2.8 trillion parameter open-weight base. The company says the difference this time is scope: training was widened to long-horizon work that runs for minutes to hours, covering science, performance engineering and security, rather than tasks that finish in seconds.
The published benchmark table shows broad gains, several of them large. Terminal-Bench 4.1 rises from 24.2 to 50.0, a little over a doubling. FrontierCode 2.0 moves from 24.1 to 41.3. ProgramBench climbs from 17.0 to 44.0, a 159 percent relative gain that outpaces the headline. SWE Marathon v1.2 goes from 32.5 to 54.9, and SWE-Atlas QA, the row that measures answering questions about a repository rather than changing it, improves least, from 63.7 to 71.0.
The pattern is worth reading closely. The two largest jumps land on execution-style tests, where a model has to keep working until a suite passes or a long task completes. The smallest lands on repository comprehension. Cognition's claim that the gains came from targeting general intelligence and long-horizon workflows is consistent with that spread, though it is also the kind of claim that only outside replication can settle.
Two caveats belong next to the numbers. FrontierCode 2.0 is Cognition's own benchmark and the published figure reflects the model running inside the Devin harness, not the model in isolation. And every score here is the vendor's, measured against the vendor's previous release, with no independent reproduction yet. On the same table, Claude Opus 5.5 posts 65.8 on Terminal-Bench 4.1 and 47.3 on FrontierCode, while GPT-6.2 Sol posts 61.5 and 43.8, so SWE-2.1 closes the gap without closing it.
The most consequential change is in security. SWE-2.1 scores 80.0 on ExploitBench against 36.1 for SWE-2, a 44 point jump that is larger than any coding movement in the table. It reaches a 27.3 percent success rate on ExploitGym, up from 12.1, with a 44.8 percent flag-capture rate, and 65.8 on CWE-Bench v2 public against 54.0. Cognition describes the model carrying exploits through the full chain over several hours of autonomous work, which is a different capability from spotting a bug in a diff.
That capability forced safeguards into the training process itself. Cognition says it red-teamed its sandboxes, ran continuous safety monitoring and built a canary evaluation in which the model attempts to escape; success triggers an alert to researchers. Even after that red-teaming, the model found new vulnerabilities in the sandbox four times during training and researchers responded each time. SWE-2.1 ships with safeguards aimed at a narrow set of high-harm activities, and a separate SWE-2.1 Cyber variant with looser filters is available only to Devin Security customers rather than as a general endpoint.
Distribution is deliberately narrow. There is no API, no model weights, no self-hosting and no published per-token price. The model lives inside Devin, and Cognition is offering two weeks of free access on Devin Pro, Max and Teams through December 8, with discounted pricing across the Devin line until January 30. A third variant, SWE-2.1 Ultrafast, runs on Cerebras hardware at about 600 tokens per second, roughly ten times the standard deployment.
The takeaway for buyers is not the headline doubling. It is that one training recipe improved long-horizon coding and offensive security together, which means teams evaluating coding agents should re-run their own tests on multi-hour tasks rather than single-file edits, and security teams should assume the same model families they use for remediation can also find and chain the flaws they are meant to fix.
Comments (0)
Log in to join the discussion
Log InNo comments yet