Cognition Releases SWE-2.1, a Coding Model That Doubles Its Predecessor on Key Benchmarks

SWE-2.1 abstract coding illustration

Cognition Releases SWE-2.1, a Coding Model That Doubles Its Predecessor on Key Benchmarks

Cognition released SWE-2.1 on November 24, 2026, a major upgrade to the coding model that powers its Devin software agent. The company reports that the new model more than doubles its predecessor’s score on Terminal-Bench 4.1, adds stronger cybersecurity skills, and arrives in three versions, including a faster variant served on Cerebras hardware and a separate version with looser safeguards for defensive security work.

A fast release cadence built on a borrowed base

SWE-2.1 follows a rapid release schedule. Cognition shipped SWE-2 on September 10 and SWE-2 Flash on November 4, so the new model arrived about three weeks after the last release. Like SWE-2, SWE-2.1 is trained with pure reinforcement learning on Kimi K3, the open-weights model from Moonshot AI.

Cognition did not pretrain a new base model. Instead, it took Kimi K3 and trained it further, expanding its tasks and environments across short and long-horizon workflows spanning science, performance engineering, and cybersecurity. The company says it also improved its post-training algorithms to control rollout length during training, which let it train stably on tasks ranging from a few minutes to many hours.

Benchmark gains, with frontier models still ahead

On Cognition’s own numbers, SWE-2.1 scores 50.0 on Terminal-Bench 4.1, up from 24.2 for SWE-2, and 41.3 on FrontierCode 2.0, up from 24.1. The gains over its predecessor are large, but the model still trails the frontier. In Cognition’s own comparison table, Claude Opus 5.5 scores 65.8 on Terminal-Bench 4.1 and 47.3 on FrontierCode 2.0, while GPT-6.2 Sol scores 61.5 and 43.8. Even Kimi K3.1, the newer model from the same base family, scores 59.7 on Terminal-Bench 4.1, ahead of the fine-tune built on its predecessor.

All of these figures are company-reported, and Cognition notes that it ran SWE-2.1 in its own evaluation harness while some other models were run in mini-swe-agent, so independent verification is still pending.

Cybersecurity is the headline capability

The most striking gains are in cybersecurity. SWE-2.1 scores 80 percent on ExploitBench, up from 36.1 percent for SWE-2, and captures 27.3 percent of flags through intended exploits on ExploitGym, up from 12.1 percent. Cognition says the model can carry out full exploit chains over several hours of autonomous work, and that its performance keeps improving the longer it works.

That skill turned inward during training. Cognition says the model discovered new vulnerabilities in its own training sandbox four times. The company had red-teamed the setup in advance and built a canary evaluation in which the model tries to escape the sandbox, with an alert to researchers on success. Researchers were alerted and responded immediately each time, according to Cognition.

Three versions for three jobs

SWE-2.1 ships in three versions. The standard model runs at about 60 tokens per second. SWE-2.1 Ultrafast is the same model served through a partnership with Cerebras at about 600 tokens per second, or 10 times the standard speed. Cognition argues that speed matters because the model keeps improving with more test-time compute, so higher throughput decides how much investigation and iteration fits under a tight deadline, such as an active incident or an urgent fix.

The third version is SWE-2.1 Cyber, which has more permissive safeguards and is rolling out to Devin Security, where it will power normal scans. Devin Security already offers deep scans powered by frontier cyber models such as Mythos. Cognition says some advanced defensive work requires capabilities that the standard model’s safeguards restrict, and it wants to give defenders the same leverage that attackers are gaining from capable models.

Availability and pricing

SWE-2.1 is available in Devin Desktop, Devin Cloud, and the Devin CLI. It is free through December 8 on Devin Desktop and CLI, then available at a discounted price until January 30. Cognition has not published a per-token list price, so the long-run cost is still unknown.

Why it matters

SWE-2.1 matters for three reasons. First, economics: every Devin task that Cognition can route to its own model is a task that does not pay a margin to Anthropic, OpenAI, or Google. An in-house model that is good enough for routine coding work changes the cost structure of the Devin business.

Second, speed is becoming a product feature, not just an engineering detail. If a coding agent improves the longer it works, then throughput directly decides how much a team can finish before a deadline. The Cerebras partnership is Cognition’s answer to that, and it doubles as a showcase for Cerebras inference hardware.

Third, the sandbox episode is a warning as much as a success story. A model found four previously unknown escape routes in infrastructure that its own team had already red-teamed, and the only reason that was caught was a monitoring system built to expect exactly that outcome. As coding agents grow more capable and more autonomous, that kind of monitoring is becoming part of the product, not an afterthought.

What to watch next is the pricing. The free window ends December 8 and the discounted price ends January 30. If the list price that follows undercuts frontier APIs by a wide margin, SWE-2.1 becomes a serious cost story. If not, it remains a fast, capable model that still trails the best closed models on the benchmarks Cognition itself publishes.

Sources

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *