Back home

SWE-2.1

x+web 0.96
Visit source

Intro

SWE-2.1 is Cognition's latest coding model, released on 24 November 2026 as a major upgrade over SWE-2. Like its predecessor, it is trained with pure reinforcement learning on Kimi K3. The official account @cognition announced it at 19:07 UTC on 24 November (03:07 on 25 November, Beijing time), with the product post cognition.com/blog/swe-2-1.

SWE-2.1 is available in Devin Cloud, Devin Desktop, and the Devin CLI. The company said it would be free for all Devin Pro, Max, and Teams seats for the next two weeks. The same day it also shipped SWE-2.1 Lightning, a faster Cerebras-hosted variant, and SWE-2.1 Cyber, a version with more permissive safeguards for defensive work in Devin Security. This page files the main name SWE-2.1 and covers those variants here rather than as separate terms. This site already lists SWE-2 Flash.

Advertisement

Explain

What the company claims

From the official blog (vendor-reported results in Cognition's evaluation setup; see the methodology notes in the post):

  • Coding and long-horizon work: Cognition attributes much of the gain to training for general intelligence and long-horizon workflows, not only short completions. On FrontierCode 2.0, SWE-2.1 scores 41.3 (SWE-2: 24.1); on Terminal-Bench 4.1 it scores 50.0 (SWE-2: 24.2). ProgramBench (share of tasks where at least 95% of tests pass) rises from 17.0 to 44.0; SWE Marathon v1.2 from 32.5 to 54.9; SWE-Atlas QA from 63.7 to 71.0. The same tables also list Kimi K3.1, Grok 4.7, Muse Wonder, Gemini 4 Neon, GPT-6.2 Sol, and Claude Opus 5.5; SWE-2.1 is not first on every row.
  • Security evaluations: the company reports large gains on vulnerability-finding and exploitation-chain benchmarks: 80.0 on ExploitBench (SWE-2: 36.1), 27.3% success and 44.8% flag capture on ExploitGym, and 65.8 on CWE-Bench v2 Public. These are vendor benchmark numbers, not a how-to.
  • Training and safeguards: Cognition says it red-teamed the training setup (especially sandboxes), added continuous safety monitoring, and ran a canary eval in which the model tries to escape the sandbox. The post says the model still found new sandbox vulnerabilities four times during training, and researchers were alerted each time. The publicly deployed SWE-2.1 ships with safeguards aimed at a narrow set of high-harm activities, calibrated (the company says) to leave most legitimate work, including cyber defense, unaffected.
  • SWE-2.1 Cyber: because some advanced defensive work is blocked by those safeguards, Cognition is rolling out a more permissive Cyber variant for normal scans in Devin Security. The post notes that Devin Security already offers deep scans powered by frontier cyber models such as Mythos.
  • SWE-2.1 Lightning: through a partnership with Cerebras, the company says it can serve the same model at about 10× the speed. The blog chart marks Lightning at about 600 tok/s, versus about 60 tok/s for SWE-2.1 and about 200 tok/s for the earlier SWE-2 Flash. The rationale given is that SWE-2.1 keeps improving with more test-time compute, so throughput decides how much work it can finish under a tight deadline.
  • Training recipe: Cognition says it expanded short- and long-horizon tasks and environments (from science and performance engineering to cybersecurity) and improved post-training algorithms that control rollout length, reducing length oscillations so training could stay stable on tasks from a few minutes to many hours.

On methodology, the post says it uses upstream or self-reported scores when available, otherwise an internal framework; open and SWE models run in the Devin CLI harness, and closed models use the developer's preferred harness. Time limits use a simulated clock (1 s TTFT per model call, plus a fixed TPS charge per output token, plus real tool time). ExploitBench is five runs per task with a 3-hour simulated clock, taking the union of flags; ExploitGym is pass@1 on 869 tasks with a 6-hour timeout, with mitigations disabled following upstream practice.

Usage

Where to try it

  • Official post: cognition.com/blog/swe-2-1 (dated 2026.11.24)
  • Official introduction: https://x.com/cognition/status/2125305349414523061
  • Product access: Cognition says SWE-2.1 and SWE-2.1 Lightning are available in Devin Cloud, Devin Desktop, and the Devin CLI; SWE-2.1 Cyber is aimed at Devin Security. At launch, Devin Pro, Max, and Teams seats were free for about two weeks—check Cognition / Devin for current plans and quotas.

FrontierCode, Terminal-Bench, ExploitBench, and ExploitGym scores are vendor results under their harness and time budgets, not your production SLA. The Cyber variant is positioned for defenders; it is not permission to run unauthorized security tests. Review your own access rights, data-handling rules, and the vendor's terms before using it in production.