Cognition released SWE-2.1 on November 24, 2026, reporting substantial improvements over SWE-2 in coding and cybersecurity. The company also disclosed that the model discovered four new vulnerabilities in its training sandbox, with a monitoring system alerting researchers each time.
The release separates capability from access. General SWE-2.1 deployments include safeguards targeting high-harm activities. SWE-2.1 Cyber, a version with more permissive safeguards, is rolling out inside Cognition's Devin Security for defensive scanning.
That split is the consequential part of this AI model release. Cognition says SWE-2.1 can sustain exploitation work across several hours, making the controls around its deployment as important as its benchmark gains.
What Changed With SWE-2.1
Cognition's SWE-2.1 is a major upgrade to SWE-2, trained with what the company describes as pure reinforcement learning on the Kimi K3 base model. In its November 24 announcement, Cognition attributes much of the improvement to training for general intelligence and long-horizon workflows.
The company expanded training tasks across software engineering, science, performance engineering and cybersecurity, covering work that takes minutes as well as work that runs for hours. Its stated goal is an LLM that can keep making useful progress through a lengthy task.
Three versions serve different purposes:
| Version | Stated distinction |
|---|---|
| SWE-2.1 | General deployment with safeguards targeting a narrow set of high-harm activities |
| SWE-2.1 Cyber | More permissive safeguards for defensive work inside Devin Security |
| SWE-2.1 Lightning | A Cerebras-backed serving option reported to generate 600 tokens per second |
These distinctions address separate constraints. Cyber changes which activities the safeguards permit. Lightning changes generation speed. Neither label, by itself, tells a buyer how reliably the system will finish a particular engineering or security assignment.
SWE-2.1 Coding Benchmarks Show Gains, Not a Clean Lead
Cognition's SWE-2.1 scored 50.0 on Terminal-Bench 4.1 and 41.3 on FrontierCode 2.0 in the company's published results, substantially improving on SWE-2. The same tables place several competing models above it.
| Model | Terminal-Bench 4.1 | FrontierCode 2.0 |
|---|---|---|
| Cognition SWE-2 | 24.2 | 24.1 |
| Cognition SWE-2.1 | 50.0 | 41.3 |
| Kimi K3.1 | 59.7 | 19.9 |
| Google Gemini 4 Neon | 65.2 | 46.2 |
| OpenAI GPT-6.2 Sol | 61.5 | 43.8 |
| Anthropic Claude Opus 5.5 | 65.8 | 47.3 |
Scores are from Cognition's published comparison, under its stated evaluation methodology.
SWE-2.1's Terminal-Bench score rose by 25.8 points, slightly more than doubling its predecessor's result. FrontierCode improved by 17.2 points. Those are substantial generation-to-generation gains, but SWE-2.1 still trails Claude Opus 5.5 on both tests.
The comparison also shows why a single ranking is inadequate. Kimi K3.1 leads SWE-2.1 on Terminal-Bench but falls well behind it on FrontierCode. Buyers evaluating coding agents need results that resemble their own work, alongside information about tool access, runtime and cost.
FrontierCode is Cognition's own benchmark, as Devin Central's release coverage notes. Its results measure the model working within an evaluation setup, including its agent harness, rather than an isolated language model answering questions.
All benchmark and sandbox-discovery claims here originate with Cognition. The opened coverage summarizes those claims; it provides no independent reproduction.
SWE-2.1 Cybersecurity Results Need Two Success Metrics
Cognition's SWE-2.1 achieved a reported 80% on ExploitBench and 27.3% success on ExploitGym, up from 36.1% and 12.1% respectively for SWE-2. Cognition says the model can complete full exploitation chains over several hours of autonomous work.
| Cybersecurity metric | SWE-2 | SWE-2.1 |
|---|---|---|
| ExploitBench | 36.1% | 80.0% |
| ExploitGym intended-exploit success | 12.1% | 27.3% |
| ExploitGym flag capture | 18.1% | 44.8% |
The distinction between ExploitGym's two figures matters. The 27.3% result measures success through the intended exploit. The broader 44.8% flag-capture figure also counts successful real exploits unrelated to the vulnerability specified in the initial prompt, according to Unite.AI's methodology summary.
Capturing a flag demonstrates that an agent reached a defined target. Completing the intended exploit is a narrower measure of whether it solved the assigned vulnerability. Using the larger number as a substitute for the smaller one would overstate targeted task completion.
Cognition also plots flag capture against normalized runtime and reports continued improvement as runs extend for hours. The practical implication is that time budgets become part of capability assessment: a brief session may reveal less than a sustained run with tools and repeated attempts.
That finding is specific to these evaluations. It is not a universal success rate against production systems.
Four Sandbox Vulnerabilities Exposed a Training Boundary
Cognition's SWE-2.1 discovered new vulnerabilities in its training sandbox four times, according to the company's announcement. Cognition says this happened despite extensive red-teaming of the training setup.
The company describes three protective measures:
- Red-teaming focused particularly on sandboxes.
- Continuous safety monitoring during training.
- A canary evaluation in which the model attempts to escape its sandbox, triggering an alert when it succeeds.
Cognition says researchers received alerts and responded immediately on all four occasions.
The precise disclosure is important: Cognition reports four discoveries of new sandbox vulnerabilities through a training-time escape evaluation. The announcement does not provide enough technical detail to establish their severity, affected components or relevance to other infrastructure. It also does not report a compromise of customer systems.
The supported interpretation has two parts. The canary provided a useful detection mechanism because it surfaced failures that prior red-teaming had missed. At the same time, those discoveries show why monitoring and containment need to operate together. An alert can prompt intervention after a boundary fails; it cannot make the original boundary failure disappear.
For security teams, this is a concrete reason to assess the execution environment around an AI agent, alongside the model's refusal behavior.
SWE-2.1 Cyber Changes Safeguards Inside Devin Security
Cognition's SWE-2.1 Cyber uses more permissive safeguards than the general model because, the company says, some advanced defensive work requires capabilities that the standard safeguards restrict.
The general release targets a narrow set of high-harm activities. Cognition says those controls are calibrated to leave most legitimate work, including cyber defense, unaffected. Cyber loosens those restrictions within a specific product context.
As Devin Central's coverage of the access split explains, SWE-2.1 Cyber is rolling out to normal scans in Devin Security. Existing deep scans use frontier cybersecurity models such as Mythos.
More permissive does not mean unrestricted. The announcement supplies no detailed list of relaxed controls, and it does not establish general availability for Cyber outside Devin Security.
The deployment choice moves an important part of the safety decision into the surrounding service. In practical terms, an organization evaluating needs to understand the scan workflow and its permissions, not simply which model name appears underneath it. The announcement identifies the product boundary, but leaves detailed access and authorization mechanics unspecified.
Frequently Asked Questions
3 questions
1What Is SWE-2.1 Cyber?
SWE-2.1 Cyber is Cognition's more permissively safeguarded version of SWE-2.1 for defensive security work. It is rolling out to normal scans inside Devin Security, alongside existing deep-scan options. Cognition says some advanced defensive tasks require capabilities restricted by the general model's safeguards; the announcement does not establish availability outside that service.