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:

BenchmarkSWE-2SWE-2.1
Terminal-Bench 4.124.2%50.0%
FrontierCode 2.024.1%41.3%
ProgramBench17.0%44.0%
ExploitBench36.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.

A developer wearing headphones supervising an AI coding agent, with progress charts and a small robot assistant on the desk
Illustration: AI Frontier Post — supervising long autonomous coding runs.

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.

A robot holding a glowing digital shield in front of a network of connected nodes
Illustration: AI Frontier Post — defensive security work with looser safeguards.

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”