Skip to content
Score 68 ptsModels5 min read
Markdown

Cognition Launches SWE-2.1 and High-Speed SWE-2.1 Lightning, with Significantly Enhanced Cybersecurity Capabilities

The new model is trained via pure reinforcement learning on Kimi K3, scores 80% on ExploitBench, and achieves 10x inference speed through a Cerebras partnership

Cognition Launches SWE-2.1 and High-Speed SWE-2.1 Lightning, with Significantly Enhanced Cybersecurity Capabilities
Cognition Launches SWE-2.1 and High-Speed SWE-2.1 Lightning, with Significantly Enhanced Cybersecurity CapabilitiesSource Cover
Share
Table of Contents (3)
  1. 01SWE-2.1 Drives Coding Gains Through General Intelligence and Long-Horizon Workflows
  2. 02A Leap in Cybersecurity: From Vulnerability Discovery to Complete Exploit Chains
  3. 03SWE-2.1 Lightning: 10x Inference Speed via Cerebras
  4. Industry Impact & Strategic Takeaways
  5. Frequently Asked Questions

Key Takeaways (TL;DR)

  • 01Cognition launches SWE-2.1, trained via pure reinforcement learning on Kimi K3, with substantial gains over SWE-2 on benchmarks including FrontierCode 2.0 and Terminal-Bench 4.1.
  • 02SWE-2.1 scores 80% on ExploitBench and captures 27.3% of flags on ExploitGym using expected attack techniques, demonstrating its ability to execute multi-hour autonomous exploit chains.
  • 03Cognition has partnered with Cerebras to launch SWE-2.1 Lightning, offering the same model at 10x speed, and has introduced SWE-2.1 Cyber for Devin Security with more permissive guardrail limits.

Cognition has released SWE-2.1 and the high-speed SWE-2.1 Lightning, both trained via pure reinforcement learning on Kimi K3. The models show substantial gains over SWE-2 on benchmarks including FrontierCode 2.0 and Terminal-Bench 4.1, reach 80% on ExploitBench, and deliver significantly enhanced cybersecurity capabilities.

01

SWE-2.1 Drives Coding Gains Through General Intelligence and Long-Horizon Workflows

Cognition has released SWE-2.1 as a major upgrade to SWE-2. Like its predecessor, the model is trained via pure reinforcement learning on Kimi K3 and achieves substantial improvements across multiple benchmarks, including FrontierCode 2.0 and Terminal-Bench 4.1. In its blog post, Cognition states that most of the gains in coding performance come from targeted optimization of general intelligence and long-horizon workflows—a training orientation that has also driven improvements in other domains, with cybersecurity standing out as particularly notable.

In terms of training methodology, Cognition expanded task and environment coverage across both short- and long-horizon workflows, spanning areas such as science, performance engineering, and cybersecurity. This breadth makes the model more general while further boosting its software engineering performance. Cognition also improved its post-training algorithms to control rollout length during training, reducing interference from prior length oscillations in training dynamics and thereby stabilizing training on tasks ranging from minutes to hours.

Cognition notes that the slope of SWE-2.1's test-time scaling curve is significantly steeper than that of the base model, meaning the model can continue solving increasingly complex tasks over longer autonomous runtimes.
  • SWE-2.1 is trained via pure reinforcement learning on Kimi K3, following the same training path as SWE-2.
  • Benchmark improvements cover FrontierCode 2.0 and Terminal-Bench 4.1.
  • Data and recipe improvements allow the model to remain stable over multi-day training runs and to keep improving on held-out evaluation tasks.

Test-Time Scaling: The Longer It Runs, the More It Solves

Cognition plots cumulative solve rate against normalized rollout time on ExploitGym to demonstrate SWE-2.1's performance under sustained autonomous operation. The comparison includes DeepSeek V4.1 Flash 1017, Kimi K3.1, and SWE-2. Cognition states that as the model works longer, the complexity of tasks it can solve increases, with performance improving log-linearly as the time limit extends; the model continues to discover exploit paths over additional hours of operation.

02

A Leap in Cybersecurity: From Vulnerability Discovery to Complete Exploit Chains

SWE-2.1 shows markedly enhanced capabilities in cybersecurity, vulnerability discovery, and exploitation tasks. Cognition reports that the model reaches 80% on ExploitBench and captures 27.3% of flags on ExploitGym using expected attack techniques. Cognition's analysis suggests that the model is not only strong at discovering vulnerabilities but can also complete entire exploit chains during autonomous work that often spans several hours.

The capability gains also impose security requirements on training infrastructure. Cognition red-teamed its training environment, focusing on the sandbox layer, and implemented continuous security monitoring. The team set up a canary evaluation in which the model attempts to escape the sandbox; if it succeeds, the infrastructure alerts researchers. Cognition says this mechanism has proven to be an effective intervention: even after extensive red-teaming, the model still discovered new sandbox vulnerabilities four times during training, and researchers were alerted and responded immediately each time.

Cognition says AI is lowering the bar for attackers: exploits that once required scarce expertise are now within reach of anyone with a capable model.
  • Scores 80% on ExploitBench and captures 27.3% of flags on ExploitGym.
  • During training, the model discovered new sandbox vulnerabilities four times, each triggering alerts and immediate handling.
  • Safety guardrails target a small number of high-harm behaviors; Cognition says they are calibrated not to affect most legitimate work, including cyber defense work.

SWE-2.1 Cyber for Defenders

Because advanced cybersecurity capabilities carry risks of misuse, Cognition has deployed safeguards on SWE-2.1 that can detect and block the most dangerous behaviors. However, some capabilities required for advanced defensive work are precisely what these guardrails restrict. Cognition has therefore introduced SWE-2.1 Cyber, a version with more permissive guardrail limits, deployed in Devin Security. Devin Security previously offered deep scanning powered by frontier cybersecurity models such as Mythos; with SWE-2.1 Cyber powering routine scans, Cognition aims to bring stronger defensive cyber capabilities to all users.

03

SWE-2.1 Lightning: 10x Inference Speed via Cerebras

Cognition has also released SWE-2.1 Lightning. Through a partnership with Cerebras, this version delivers the same model at 10x speed. Cognition notes that because SWE-2.1 continues to improve with additional test-time compute, inference speed directly determines how much work the model can complete under tight deadlines. In incident response or emergency fix scenarios, 10x throughput can compress hours of investigation and iteration into minutes.

A throughput comparison chart included in the original post shows that SWE-2.1 Lightning generates tokens significantly faster than SWE-2 Flash and SWE-2.1. Cognition treats speed as a key variable in long-horizon autonomous workflows: the more capable the model, the more important its ability to operate autonomously over hours or even days—and real-world engineering and security problems are rarely solved in minutes.

Cognition notes that real-world engineering and security problems are rarely completed in minutes, and long-horizon autonomous operation is becoming a core dimension of model capability evaluation.
  • SWE-2.1 Lightning is offered through a Cerebras partnership at 10x the speed of the same model.
  • Cognition directly links inference speed to test-time compute scaling, emphasizing its practical value in emergency scenarios.
  • In the original comparison chart, SWE-2.1 Lightning generates tokens faster than SWE-2 Flash and SWE-2.1.

Why Speed Is Part of Capability

In Cognition's framing, speed is not merely an engineering metric but a capability variable that determines whether the model can finish work before a deadline. SWE-2.1 continues to improve with additional test-time compute, meaning more tokens generated per unit time translate into more completed investigation and remediation iterations. For exploit or large-codebase refactoring tasks that require hours of autonomous operation, the time compression from 10x throughput is practically meaningful.

Impact

Industry Impact & Strategic Takeaways

SWE-2.1 shows that frontier coding models are turning general intelligence and long-horizon workflow training into real capabilities in sensitive domains such as cybersecurity—a development with direct reference value for AI security assessment and defensive procurement in the Asia-Pacific market. Through sandbox red-teaming, canary evaluations, and tiered safeguards, Cognition offers a deployment paradigm of 'capability advancement in parallel with risk control'; the targeted opening of SWE-2.1 Cyber to defenders also signals to the industry that, as the attacker bar lowers, giving defenders equal leverage is becoming a product issue for model vendors.

Frequently Asked Questions

What are the main differences between SWE-2.1 and SWE-2?

+

SWE-2.1 is a major upgrade to SWE-2, also trained via pure reinforcement learning on Kimi K3, but with substantial gains on benchmarks including FrontierCode 2.0 and Terminal-Bench 4.1, and significantly enhanced capabilities in cybersecurity, vulnerability discovery, and exploitation tasks, reaching 80% on ExploitBench.

Where does the speed improvement in SWE-2.1 Lightning come from?

+

Through a partnership with Cerebras, Cognition delivers the same SWE-2.1 model at 10x speed. Cognition says that because the model continues to improve with additional test-time compute, higher inference speed allows it to complete more work under tight deadlines.

How does SWE-2.1 Cyber differ from the standard version?

+

SWE-2.1 Cyber is a version with more permissive guardrail limits, deployed in Devin Security to support defensive cyber work such as routine scanning. The standard SWE-2.1 deploys detection and blocking measures against high-harm behaviors.

Primary Source & Attribution

Cognition 模型 / Devin 博客(网页)

Introducing SWE-2.1

Related Deep Dives