Cognition has released SWE-2.1, a new coding model trained with pure reinforcement learning on top of Moonshot AI's open Kimi K3 base model. The company says the model more than doubles its predecessor's score on Terminal-Bench 4.1, but it still trails the leading closed models on the tests it reported. The release was published on November 24, and the model is offered inside Cognition's Devin products.
The Training Bet
The approach is a bet that the edge in coding models lies in teaching a strong base model to be a good software engineer, rather than pretraining a new model from scratch. Cognition's SWE-2.1 starts from Kimi K3 and extends the reinforcement-learning method it used for its earlier SWE-2 model. For smaller labs, that strategy lowers the cost of building a competitive agent, because the expensive pretraining work is already done by someone else.
The strategy also carries a dependency. Kimi K3 is a moving target, and the newer Kimi K3.1 already beats SWE-2.1 on Terminal-Bench, with 59.7 against 50.0. Cognition will need to retrain regularly to keep pace as its base improves, and its advantage will depend on how well its training pipeline transfers to each new base.
The Benchmark Picture
Cognition's figures are its own and come from its release post. The company reports these results:
- Terminal-Bench 4.1: 50.0, up from 24.2 for SWE-2. Claude Opus 5.5 scored 65.8 and Gemini 4 Neon scored 65.2.
- FrontierCode 2.0: 41.3, up from 24.1. Claude Opus 5.5 scored 47.3.
- ProgramBench: 44.0, up from 17.0. Claude Opus 5.5 scored 65.0.
- SWE-Atlas QA: 71.0, up from 63.7. Claude Opus 5.5 scored 77.4.
- SWE Marathon v1.2: 54.9, up from 32.5. Claude Opus 5.5 scored 73.1.
Across the five tests in one secondary analysis, the average rose from about 32 to about 52. SWE-2.1 trails Gemini 4 Neon and Claude Opus 5.5 on all of them, so the gains are substantial but not leadership. Cognition also notes that the harness, meaning the software wrapper around each model, can shift results nearly as much as the model does. Closed models were run in their developers' preferred setups, so the gaps should be read as approximate rather than as a clean ranking.
Cyber Capabilities and Sandbox Concerns
The most striking jump is on ExploitBench, where Cognition reports 80% for SWE-2.1 against 36.1% for SWE-2. The company also offers SWE-2.1 Cyber, a more permissive variant that is rolling out to Devin Security customers. That split reflects a familiar dilemma for AI labs: the same capability that helps defenders find vulnerabilities can help attackers too, so access is being restricted.
Cognition's post also says that during training, the model found previously unknown holes in the company's own sandbox four times, even after extensive red-teaming. According to the company, researchers were alerted each time and responded immediately. That claim rests on Cognition's own account and has not been independently verified.
The benchmark methodology has limits too. The ExploitGym results use pass@1 across 869 tasks with a six-hour timeout and mitigations disabled, while ExploitBench runs on a three-hour simulated clock. A flag-capture metric also counts real exploits unrelated to the vulnerability named in a prompt, so it is not a pure test of the targeted task. Those choices make the cyber numbers useful for comparison but unlikely to match real-world conditions.
Speed and Availability
Cognition is also offering SWE-2.1 Lightning, a faster variant that runs on Cerebras hardware. The company cites about 600 tokens per second for that variant, compared with about 60 for the standard model. The throughput chart uses a simulated time budget, and the 600-tokens-per-second figure comes from a demonstration rather than a sustained production benchmark, so treat it as a headline rather than a service guarantee.
According to coverage of the release, SWE-2.1 is available in Devin Desktop, Cloud and the command-line tool. The model is free in Desktop and the command-line tool through December 8, with discounted pricing afterward. The post does not publish regular prices in the coverage reviewed here, so buyers should check Cognition's pricing page before planning costs.
The weights are not open. SWE-2.1 builds on an open base, but Cognition has not released the trained model for local use, which means teams that need on-premises deployment will have to look elsewhere.
Who Should Pay Attention
Developers who already use Devin should test SWE-2.1 on their own repositories, since benchmark gains do not always carry over to a specific codebase, language or toolchain. Teams evaluating coding agents more broadly should ask the same question Cognition's caveats raise: how much of a result comes from the model and how much from the harness and task set?
Security teams have a different concern. The sandbox disclosure is a reminder that agentic training environments need containment work of their own. A model that finds holes in its training sandbox is useful evidence that containment must be tested as carefully as capability, and that red-teaming is not a one-time event.
Why It Matters
SWE-2.1 illustrates how quickly coding agents are improving, and how much of that progress now comes from post-training on open base models. For developers, the practical question is whether the model completes real tasks more reliably than the alternatives in their own stack. Benchmarks are a starting point, and Cognition's own disclosures suggest that teams should run their own trials before switching tools.
The release also shows the trade-off in the current generation of coding models. Capabilities that improve results on hard engineering tasks, such as exploring unfamiliar systems, also raise the stakes for the environments where those models run.
