Cognition is releasing SWE-2.1, a successor to SWE-2 focused on coding and long-running tasks. In the company’s tests, the new model also outperformed its predecessor in cybersecurity. Alongside the standard model, Cognition is releasing a faster Ultrafast variant and a security version for Devin Security.
Results against SWE-2 and competing models
In the FrontierCode 2.0 coding benchmark, SWE-2.1 scored 41.3 compared with 24.1 for SWE-2, according to Cognition. Kimi K3.1 scored 19.9, while Claude Opus 5.5 reached 47.3.
In Terminal-Bench 4.1, the new model scored 50.0 against its predecessor’s 24.2, but trailed Kimi K3.1 at 59.7 and Claude Opus 5.5 at 65.8. In ProgramBench, it scored 44.0, compared with 17.0 for SWE-2 and 65.0 for Claude Opus 5.5.
ProgramBench reports the proportion of tasks on which a model passes at least 95% of tests. Cognition evaluated both SWE models with a 250,000-token context and up to three context compactions, for a total of 1 million tokens. The other models were evaluated in mini-swe-agent using their own context windows.
| SWE-2.1 | SWE-2 | Kimi K3.1 | Gemini 4 Neon | GPT-6.2 Sol | Claude Opus 5.5 | |
|---|---|---|---|---|---|---|
| Terminal-Bench 4.1 | 50.0 | 24.2 | 59.7 | 65.2 | 61.5 | 65.8 |
| FrontierCode 2.0 | 41.3 | 24.1 | 19.9 | 46.2 | 43.8 | 47.3 |
| ProgramBench | 44.0 | 17.0 | 31.5 | 45.0 | 66.0 | 65.0 |
| SWE-Atlas QA | 71.0 | 63.7 | 70.2 | 71.8 | 61.3 | 77.4 |
| SWE Marathon v1.2 | 54.9 | 32.5 | 38.8 | 58.1 | 68.8 | 73.1 |
Security tests and the Cyber variant
In the ExploitBench security test, SWE-2.1 scored 80.0 against SWE-2’s 36.1, according to Cognition. Claude Opus 5.5 scored 91 and GPT-6.2 Sol reached 100. The company ran each task five times with a simulated three-hour limit and counted flags captured in at least one attempt.
In ExploitGym, SWE-2.1 recorded a success rate of 27.3, compared with 12.1 for SWE-2; Gemini 4 Neon reached 47.9 and Claude Opus 5.5 scored 34.5. Cognition evaluated success on a single attempt (pass@1) across 869 tasks, with a six-hour limit and mitigations disabled. It assessed success using the benchmark’s agent-as-a-judge implementation.
Cognition says the proportion of tasks solved in its ExploitGym tests increased with longer autonomous runs. The company describes the relationship as log-linear.
For defensive security work, Cognition is rolling out SWE-2.1 Cyber to Devin Security with more permissive safeguards. It is intended to power normal scans; the service already offers deep scans using models such as Mythos. According to the company, safeguards in the standard SWE-2.1 also restrict some advanced defensive tasks.
During security testing of its training infrastructure, the model discovered new sandbox vulnerabilities four times, according to Cognition. A monitoring test alerted researchers, who the company says responded immediately each time.
Training and the faster Ultrafast version
Like its predecessor, SWE-2.1 was trained purely through reinforcement learning on Kimi K3. Cognition expanded its training tasks to include short and long workflows in science, performance engineering and cybersecurity.
SWE-2.1 Ultrafast is the same model delivered at ten times the speed through a partnership with Cerebras, according to Cognition. The faster processing is intended to allow more work within a limited time.



