Cognition releases SWE-2.1, doubling its coding model’s benchmark scores
Cognition’s new coding model roughly doubles its predecessor’s scores on Terminal-Bench and FrontierCode, and ships alongside a Cerebras-powered Ultrafast variant and a Cyber edition built for defensive security work.
- Core vocabulary: a task is one test with defined inputs and success criteria; a trial is one attempt; a grader is logic that scores some aspect; the transcript is the complete trial record; the outcome is the final environment state.
- Grade transcript vs. outcome: a booking agent may announce 'your flight is booked,' but the outcome is whether a reservation actually exists in the database — most serious suites grade both.
- Sandboxes: each trial starts from a clean, isolated environment; shared state creates correlated failures and can inflate scores (one internal eval's model gained an advantage by reading git history left by previous trials).
- Graders: code-based (fast, cheap, reproducible, brittle); model-based LLM judges (flexible, non-deterministic, need calibration); human (gold standard, expensive, doesn't scale). Key lessons: grade what the agent produced, not the path — and calibrate LLM judges against humans, giving the judge an 'Unknown' way out.
- Success criteria: capability evals start at a low pass rate; regression evals sit near 100%. Use pass@k (at least one success in k attempts) vs. pass^k (all k succeed) deliberately, and always write a reference solution that passes every grader — one frontier model scored 42% until researchers fixed the eval, then 95%.
- The jump: Terminal-Bench 4.1 rises from 24.2% to 50.0%; FrontierCode 2.0 from 24.1% to 41.3%; ExploitBench from 36.1% to 80%.
- The recipe: pure reinforcement learning on Moonshot AI’s Kimi K3, a 2.8-trillion-parameter open-weight base model — the same approach as SWE-2, pushed further.
- The caveat: all scores are Cognition’s own, run in its own harness. SWE-2.1 still trails Claude Opus 5.5 and Kimi K3.1 on Terminal-Bench 4.1.
- The variants: Lightning via Cerebras generates 600 tokens per second against 60 for the standard model; Cyber relaxes safeguards for defensive work in Devin Security.
- The price window: free for Devin Pro, Max and Teams users for two weeks; Lightning free through December 8, 2026; discounted pricing through January 30, 2027.

Cognition has released SWE-2.1, a new version of the coding model that powers its Devin software-engineering agent — and the headline numbers are striking. On the company’s own benchmarks, the model roughly doubles its predecessor’s scores, jumping from 24.2% to 50.0% on Terminal-Bench 4.1 and from 24.1% to 41.3% on FrontierCode 2.0. The release, announced November 24, also brings two variants: a Cerebras-powered Lightning version the company says generates text ten times faster, and a Cyber edition with deliberately looser safeguards for defensive security work.
The timing matters as much as the scores. SWE-2 arrived in September, SWE-2 Flash followed on November 4, and SWE-2.1 lands barely three weeks after that. Cognition is now iterating on its flagship coding model in weeks, not quarters — and each iteration is a real step up rather than a rebrand. The question is whether the gains survive contact with anyone else’s test harness.
The numbers: a real step up, not a rebrand#
Cognition’s comparison table shows broad improvement over SWE-2, not a single cherry-picked result:
| Benchmark | SWE-2 | SWE-2.1 |
|---|---|---|
| Terminal-Bench 4.1 | 24.2% | 50.0% |
| FrontierCode 2.0 | 24.1% | 41.3% |
| ProgramBench | 17.0% | 44.0% |
| ExploitBench | 36.1% | 80% |
| ExploitGym (intended exploits) | 12.1% | 27.3% |
The security numbers are the most dramatic: ExploitBench more than doubles, and on ExploitGym the model’s broader flag-capture rate reaches 44.8%, up from 18.1%. But read the table the way you would read any vendor benchmark. Every figure comes from Cognition, run in Cognition’s setup, and no independent evaluation of SWE-2.1 exists yet. Cognition uses published or developer-reported scores where available and tests the rest itself — closed models in their developers’ preferred harnesses, open models and its own in Devin CLI.
And the gains do not put SWE-2.1 ahead everywhere. Cognition’s own table places Claude Opus 5.5 higher on both headline benchmarks, at 47.3% on FrontierCode 2.0 and 65.8% on Terminal-Bench 4.1. Kimi K3.1 — a newer model from the same family SWE-2.1 is trained on — scores 59.7% on Terminal-Bench, ahead of SWE-2.1’s 50.0%. The honest framing is that Cognition has closed much of the gap with the frontier while still trailing it.
Trained for jobs that take hours#
Like SWE-2, the new model was trained with pure reinforcement learning on Kimi K3, Moonshot AI’s 2.8-trillion-parameter open-weight model. What changed is the training diet and the training machinery. Cognition broadened the tasks beyond coding to include science, performance engineering and cybersecurity, aiming to improve general problem-solving and workflows where the model has to keep working for a long time.
One change addressed unstable swings in the length of the model’s training attempts. New post-training algorithms control rollout length, and reducing those swings let Cognition train more reliably on tasks lasting from minutes to hours. The company says performance on evaluation tasks excluded from training kept improving across many days of training — the kind of steady climb that suggests the recipe, not a single lucky run, is doing the work.

That long-horizon focus shows up in how the model uses extra time. On ExploitGym, Cognition reports that SWE-2.1 kept finding more exploits as working time increased, with gains following a roughly log-linear pattern — multiply the time budget, get a consistent additional payoff. In practical terms, the model keeps working a problem for hours rather than stalling after the first approach fails. That is the capability Devin’s pitch depends on: an agent you can leave with a task overnight, not one you have to babysit through every step.
Lightning: the same model, ten times faster#
SWE-2.1 Lightning is the same model delivered at higher speed through a partnership with Cerebras. Cognition’s demonstration shows it generating 600 tokens per second, against 60 for the standard model and 200 for SWE-2 Flash. That is a serving difference, not a capability difference — but it matters because the model improves with additional test-time compute. Faster generation means more investigation and iteration can fit into an urgent fix or an active incident.
The pricing window is generous but time-limited. SWE-2.1 is free for Devin Pro, Max and Teams users for two weeks; Lightning is free through December 8, 2026, with discounted pricing through January 30, 2027. Both are available now in Devin Desktop, Devin Cloud and the Devin CLI. Exact list prices are not in the launch post — Cognition has not published a per-token price, an API, a context window or a model card.
Cyber: looser safeguards, on purpose#
The standard model ships with safeguards aimed at a narrow set of high-harm activities, which Cognition says are calibrated to leave most legitimate work — including cyber defense — unaffected. But the company is explicit that some advanced defensive work needs capabilities those controls restrict. SWE-2.1 Cyber relaxes safeguards for that work and is rolling out to Devin Security, where it will power normal scans; existing deep scans continue to use frontier cybersecurity models such as Mythos.

Building a model that good at finding exploits also changed the safety requirements for training it. Cognition says it red-teamed its training environment — especially its sandboxes — monitored safety continuously, and built a canary test that asks the model to escape its sandbox. The model discovered new sandbox vulnerabilities four times during training. Each discovery triggered an alert, and researchers responded immediately, according to the company. It is a striking detail: the same capability being sold to defenders was probing its own containment while it was being built.
The weights are not being published. Cognition cites cyber risk, and says it is building a program to share them with vetted partners and researchers instead. That keeps SWE-2.1 a Devin-only model for now — no API, no open weights, no independent runs against it.
What to watch#
Two questions decide whether this release matters beyond Cognition’s own leaderboard. First, do the longer-horizon gains hold outside Cognition’s evaluation settings? The ExploitGym results were produced with mitigations disabled, a six-hour timeout and a simulated time budget — real deployments have messier constraints. Second, does Lightning’s extra throughput convert into completed engineering and defensive work under real deadlines, or does it mostly make the same work arrive sooner?
What is already clear is the direction of travel. Coding models are now judged on multi-hour autonomous work and on security capability, not just single-shot code completion — and Cognition is shipping a new version every few weeks. The next independent benchmark run, and the next Devin release, will tell us whether SWE-2.1’s doubling is a durable step or a vendor high-water mark.
Sources: Superpower Daily, “Cognition releases SWE-2.1 with a claimed 10× faster Cerebras variant”; Unite.AI, “Cognition Releases SWE-2.1 With Major Coding and Cybersecurity Gains”