Cognition Ships SWE-2.1: Model Solves 41.3% of FrontierCode 2.0 Tasks, Up from 24.1%
Cognition, the maker of the Devin AI programmer, has released SWE-2.1, a model that solves 41.3% of the hard tasks in the FrontierCode 2.0 set, up from 24.1% for the previous version. On the command-line benchmark Terminal-Bench 4.1, it rose from 24.2% to 50%, and on vulnerability search and exploitation (ExploitBench) it went from 36.1% to 80%. It still does not beat leaders like Claude Opus 5.5, but the gap has narrowed. For long agent tasks, it is worth testing on your own code.
AI-processed from Cognition Blog; edited by Hamidun News
Most coding models handle tasks that take a few minutes, but they fall apart when the work has to continue for hours: keeping a plan in mind, returning to errors, and not losing the thread. Cognition, the company behind the Devin AI programmer, released SWE-2.1 precisely for such scenarios. On FrontierCode 2.0, a set of hard programming tasks, the new model solves 41.3% versus 24.1% for its predecessor, SWE-2, which is 1.7 times more. Like its predecessor, it was trained with pure reinforcement learning (the model tries solutions on its own and receives a reward for the result) on top of Kimi K3. All the numbers below are Cognition's own measurements; there is no independent verification yet.
What changed in the numbers
On Terminal-Bench 4.1, where the model works in the command line like a regular engineer, the result rose from 24.2% to 50.0%. On ProgramBench, where a program must pass at least 95% of tests, SWE-2.1 scored 44.0% versus 17.0%. On SWE Marathon v1.2, long engineering tasks, it scored 54.9% versus 32.5%.
The model does not yet beat the market leaders. Claude Opus 5.5 scored 47.3% on FrontierCode 2.0 and 65.8% on Terminal-Bench 4.1, and GPT-6.2 Sol scored 43.8% and 61.5%. On Terminal-Bench, even Kimi K3.1 is ahead with 59.7%. But the gap has narrowed, and on FrontierCode 2.0 SWE-2.1 outperforms Grok 4.7 (28.9%) and Muse Wonder (25.3%). Cognition explains the progress by saying it aimed not only at coding but at general "smartness" and long working chains.
Cybersecurity: finding holes and breaking in
The most striking jump is in security. On ExploitBench, a test of finding and using vulnerabilities, SWE-2.1 scores 80%, versus 36.1% for SWE-2 and 74.7% for Kimi K3.1. Here each task was run five times for three hours each, and the captured "flags" were combined, which is the standard practice for this benchmark. On ExploitGym, the model must not only find a vulnerability but also carry the exploit through to the end: the share of successfully completed tasks rose from 12.1% to 27.3%, and the share of captured flags rose from 18.1% to 44.8%. Cognition stresses that the model completes the whole exploitation chain, sometimes for several hours in a row without human involvement.
There are caveats. ExploitGym was run with the system's protective mechanisms disabled, and "captured flags" also count genuine exploits unrelated to the vulnerability in the task. On ExploitBench, Claude Opus 5.5 scores 91% and GPT-6.2 Sol scores 100%, so the top of the table is still far off.
Cognition also showed a scaling curve. The longer the model works, the more ExploitGym tasks it solves, and the growth is roughly logarithmic-linear: each doubling of time yields a similar gain. The slope of the curve is steeper than that of the base Kimi K3.1. In practice, this means extra compute hours pay off better for SWE-2.1.
Sandbox, access, and speed
Training a model that can hack is risky, so Cognition separately hardened its own infrastructure. The sandboxes underwent red-teaming, and the company also devised a "canary" test: the model deliberately tries to escape the sandbox, and if it succeeds, researchers receive a signal. Even after thorough checks, the model found new vulnerabilities four times during training. Each time, the team responded immediately.
The standard version includes restrictions on the most dangerous actions, and according to the company, legitimate work, including defensive work, barely suffers. A separate version, SWE-2.1 Cyber, with looser restrictions will go to Devin Security: it will be used in routine scans, while deep scans on frontier cyber models such as Mythos remain a separate option.
Another product is SWE-2.1 Lightning, the same model running 10 times faster thanks to a partnership with Cerebras: about 600 tokens per second versus 60 for the standard SWE-2.1. Since the model improves as compute per response grows, speed determines how much work it can finish in limited time. During an outage or an urgent fix, analysis that would take hours shrinks to minutes.
What developers should do
SWE-2.1 is available in Devin Desktop, Cloud, and CLI. Until December 8 it can be used for free in Desktop and CLI, and then a reduced price applies until January 30. If you already run agents on long tasks, compare it with Claude Code or Codex on your own code: Cognition publishes a quality-versus-cost chart on FrontierCode 2.0, but the numbers on your codebase may differ. Those working in security should take a closer look at Devin Security: models like this are equally useful to defenders and attackers, and the company promises to give defenders the same level of capability.
- Nov 24, 2026Anthropic Turns Claude Artifacts into Desktop Apps for macOS and Windows
- Nov 24, 2026Maple raises $5.3M for an AI agent that can't read your data
- Nov 24, 2026A Newcomer Builds an ISPF SCADA Task in 6–11.5 Hours: Where They Get Stuck
- Nov 24, 2026OpenAI, Anthropic and Meta's Best AI Agents Failed More Than a Third of Household Tasks
Key Questions Answered
What changed in the numbers?
On Terminal-Bench 4.1, where the model works in the command line like a regular engineer, the result rose from 24.2% to 50.0%. On ProgramBench, where a program must pass at least 95% of tests, SWE-2.1 scored 44.0% versus 17.0%. On SWE Marathon v1.2, long engineering tasks, it scored 54.9% versus 32.5%. The model does not yet beat the market leaders. Claude Opus 5.5 scored 47.3% on FrontierCode 2.0 and 65.8% on Terminal-Bench 4.1, and GPT-6.2 Sol scored 43.8% and 61.5%.
What are the key details on Cybersecurity: finding holes and breaking in?
The most striking jump is in security. On ExploitBench, a test of finding and using vulnerabilities, SWE-2.1 scores 80%, versus 36.1% for SWE-2 and 74.7% for Kimi K3.1. Here each task was run five times for three hours each, and the captured "flags" were combined, which is the standard practice for this benchmark.
What are the key details on Sandbox, access, and speed?
Training a model that can hack is risky, so Cognition separately hardened its own infrastructure. The sandboxes underwent red-teaming, and the company also devised a "canary" test: the model deliberately tries to escape the sandbox, and if it succeeds, researchers receive a signal. Even after thorough checks, the model found new vulnerabilities four times during training. Each time, the team responded immediately.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Waitlist: free vibecoding intensive + AI digest
Leave your email to reserve a spot in the free 2-day intensive and get the AI stories that matter.