Overview
Cognition has followed a consistent strategy with its own models: skip the race for broad benchmark coverage and go deep on long-horizon engineering work. SWE-2.1, released November 24, 2026, continues that line. Like its predecessor, it takes an existing open base model and applies pure reinforcement learning to it. The base is Kimi K3.
Pure RL means no supervised fine-tuning on demonstration data. The model runs in an environment, tries, and adjusts its policy from reward signal. The advantage is that the training objective sits close to the actual job, which is finishing work inside a real repository rather than imitating how a person writes. The cost is that stability becomes very hard to control, especially when task duration ranges from minutes to hours and trajectory length swings wildly between rollouts.
Most of the improvement in SWE-2.1 went into that problem. Cognition adjusted its post-training algorithm to control rollout length during training. Previously those oscillations destabilized training dynamics. Suppressing them allowed stable training on tasks spanning a few minutes to many hours, and continuous training for several days while held-out evaluation kept improving. The same recipe improved test-time scaling, letting the model extract more value from additional compute on difficult tasks.
The results cover five boards. FrontierCode 2.0 reaches 41.3%, against 24.1% for SWE-2, 19.9% for Kimi K3.1, 28.9% for Grok 4.7, 46.2% for Gemini 4 Neon and 47.3% for Claude Opus 5.5. Terminal-Bench 4.1 reaches 50.0%, up from 24.2%. ProgramBench reaches 44.0%, up from 17.0%. SWE Marathon v1.2 reaches 54.9%, up from 32.5%. SWE-Atlas QA comes in at 71.0%.
One mismatch is worth recording. On Terminal-Bench 4.1, its own base model Kimi K3.1 scores 59.7, which is 9.7 points above SWE-2.1 at 50.0. Gemini 4 Neon sits at 65.2 and Claude Opus 5.5 at 65.8 on the same row. The gains from pure RL clearly do not land evenly across every evaluation. They concentrate on work like FrontierCode, which judges whether a patch should merge, and ProgramBench, which rebuilds a program from a binary.
Cybersecurity is where this generation gains the most. ExploitBench reaches 80.0%, against 36.1% for SWE-2, 74.7% for Kimi K3.1 and 91 for Claude Opus 5.5. Across ExploitGym's 869 tasks, SWE-2.1 succeeds with the intended exploit 27.3% of the time and captures flags on 44.8%, with Cognition describing work that completes a full exploitation chain, often over hours of autonomous operation. CWE-Bench v2 public set comes in at 65.8%.
That capability is not incidental. Cognition expanded tasks and environments across both short-horizon and long-horizon workflows, spanning science, performance engineering and security. The breadth made the model more versatile while pushing the software engineering line further.
A test-time scaling chart carries an interesting result. On ExploitGym, cumulative solve rate rises log-linearly as rollout time extends, meaning the model keeps cracking harder tasks the longer it works, and the slope of that curve is much steeper than the base model's. This explains why Cognition cares so much about inference speed.
Hence a third variant. SWE-2.1 Ultrafast, built with Cerebras, delivers the same model at ten times the throughput. The published comparison is 600 tokens per second for Ultrafast, 200 for SWE-2 Flash and 60 for standard SWE-2.1. In incident response or urgent fixes with hard deadlines, that throughput turns hours of investigation into minutes, and the model also gets more accurate because it can consume more test-time compute.
A fourth variant, SWE-2.1 Cyber, relaxes safety restrictions and ships only inside Devin Security. The reasoning is that defenders need the same leverage attackers already have. Cognition narrowed its restrictions to a small set of high-harm activities and calibrated them to leave legitimate security research and defensive work largely unaffected.
Training-side safeguards are documented too. Cognition red-teamed its own training environment, particularly the sandboxes, and built a canary evaluation in which the model attempts to escape. Success triggers an alert to researchers. The company says the mechanism worked: even after extensive red-teaming, the model discovered new sandbox vulnerabilities four times during training, and each was answered immediately.
All three versions are available in Devin Cloud, Devin Desktop and Devin CLI. Desktop and CLI are free through December 8, and discounted pricing across the line runs through January 30.
Key Features
- Pure reinforcement learning on Kimi K3: No demonstration data. Training runs in environments with reward signal, keeping the objective aligned with real engineering tasks.
- Long-horizon stability recipe: A revised post-training algorithm suppresses rollout length oscillation, enabling days of continuous training across tasks from minutes to hours.
- FrontierCode 2.0 at 41.3%: On the patch review benchmark, up from 24.1% for the predecessor, against 46.2% for Gemini 4 Neon and 47.3% for Claude Opus 5.5.
- Terminal-Bench 4.1 at 50.0%: Up from 24.2% for SWE-2, with ProgramBench rising from 17.0% to 44.0% on the same release.
- Security capability spillover: ExploitBench reaches 80.0%, and on ExploitGym it succeeds with intended exploits on 27.3% of 869 tasks and captures flags on 44.8%, working autonomously for hours.
- SWE-2.1 Ultrafast: Built with Cerebras for ten times the throughput at 600 tokens per second versus 60 for the standard model, suited to hard-deadline incident work.
- SWE-2.1 Cyber: A more permissive variant available only in Devin Security, with restrictions narrowed to a small set of high-harm behaviors to preserve defensive capability.
Use Cases
- Cross-file refactoring and defect repair in large repositories that need hours of autonomous work
- Patch review: deciding whether a pull request should merge and what to change
- Rebuilding command line programs from an executable and a behavioral spec
- Vulnerability discovery and exploitation chain validation inside authorized scopes
- Incident response: using Ultrafast to compress investigation and repair into minutes
- Routine security scanning through Devin Security with the Cyber variant
Pros
- The pure RL approach aligns training with real engineering work, and long-horizon gains show clearly
- FrontierCode 2.0 rose from 24.1% to 41.3% and ProgramBench from 17.0% to 44.0%
- Security capability improved in step, with ExploitBench at 80.0%
- Test-time scaling is log-linear, so more working time solves more tasks and long runs pay off
- Three variants cover different latency needs, with Ultrafast at ten times standard throughput
- A sandbox escape canary during training surfaces anomalies early
- Desktop and CLI are free through December 8, which makes evaluation cheap
Pricing
Delivered through Devin Cloud, Devin Desktop and Devin CLI. Desktop and CLI are free until December 8, 2026, and the full line carries discounted pricing through January 30, 2027. The Ultrafast variant runs on Cerebras infrastructure and is priced by throughput; exact rates need confirmation in the Devin console. SWE-2.1 Cyber is not sold separately and ships only with Devin Security.
Summary
SWE-2.1 is Cognition's second coding model built by applying pure reinforcement learning to Kimi K3, released November 24, 2026. FrontierCode 2.0 moved from 24.1% to 41.3%, ProgramBench from 17.0% to 44.0% and Terminal-Bench 4.1 from 24.2% to 50.0%, with patch review and program reconstruction landing closest to the frontier. Cybersecurity saw the largest jump, with ExploitBench at 80.0% and ExploitGym runs that complete full exploitation chains. Test-time scaling is log-linear, and the Ultrafast variant multiplies throughput by ten for incident response. Three variants are available across the Devin clients, with Desktop and CLI free through December 8.
Version History
- SWE-2.1 released with Ultrafast and Cyber variants (2026-11-24): Cognition released SWE-2.1, trained with pure reinforcement learning on Kimi K3. FrontierCode 2.0 rose from 24.1% to 41.3%, ProgramBench from 17.0% to 44.0%, Terminal-Bench 4.1 from 24.2% to 50.0% and SWE Marathon v1.2 from 32.5% to 54.9%. On security, ExploitBench reached 80.0%, with ExploitGym at 27.3% intended-exploit success and 44.8% flag capture. The release also introduced an Ultrafast variant on Cerebras at ten times throughput and a more permissive Cyber variant exclusive to Devin Security. Available across three Devin clients, free on Desktop and CLI through December 8.