Cognition releases SWE-2.1 for coding and long-running tasks

Cognition releases SWE-2.1 for coding and long-running tasks

Ondřej Barták
Ondřej Barták
Entrepreneur and Programmer
26. 11. 2026
2 minutes reading · 21 views
Listen to the article
Audio version of the article
Cognition releases SWE-2.1 for coding and long-running tasks

Cognition is releasing SWE-2.1, a successor to SWE-2 focused on coding and long-running tasks. In the company’s tests, the new model also outperformed its predecessor in cybersecurity. Alongside the standard model, Cognition is releasing a faster Ultrafast variant and a security version for Devin Security.

Results against SWE-2 and competing models

In the FrontierCode 2.0 coding benchmark, SWE-2.1 scored 41.3 compared with 24.1 for SWE-2, according to Cognition. Kimi K3.1 scored 19.9, while Claude Opus 5.5 reached 47.3.

In Terminal-Bench 4.1, the new model scored 50.0 against its predecessor’s 24.2, but trailed Kimi K3.1 at 59.7 and Claude Opus 5.5 at 65.8. In ProgramBench, it scored 44.0, compared with 17.0 for SWE-2 and 65.0 for Claude Opus 5.5.

ProgramBench reports the proportion of tasks on which a model passes at least 95% of tests. Cognition evaluated both SWE models with a 250,000-token context and up to three context compactions, for a total of 1 million tokens. The other models were evaluated in mini-swe-agent using their own context windows.

Benchmark results reported by Cognition
SWE-2.1SWE-2Kimi K3.1Gemini 4 NeonGPT-6.2 SolClaude Opus 5.5
Terminal-Bench 4.150.024.259.765.261.565.8
FrontierCode 2.041.324.119.946.243.847.3
ProgramBench44.017.031.545.066.065.0
SWE-Atlas QA71.063.770.271.861.377.4
SWE Marathon v1.254.932.538.858.168.873.1

Security tests and the Cyber variant

In the ExploitBench security test, SWE-2.1 scored 80.0 against SWE-2’s 36.1, according to Cognition. Claude Opus 5.5 scored 91 and GPT-6.2 Sol reached 100. The company ran each task five times with a simulated three-hour limit and counted flags captured in at least one attempt.

In ExploitGym, SWE-2.1 recorded a success rate of 27.3, compared with 12.1 for SWE-2; Gemini 4 Neon reached 47.9 and Claude Opus 5.5 scored 34.5. Cognition evaluated success on a single attempt (pass@1) across 869 tasks, with a six-hour limit and mitigations disabled. It assessed success using the benchmark’s agent-as-a-judge implementation.

Cognition says the proportion of tasks solved in its ExploitGym tests increased with longer autonomous runs. The company describes the relationship as log-linear.

For defensive security work, Cognition is rolling out SWE-2.1 Cyber to Devin Security with more permissive safeguards. It is intended to power normal scans; the service already offers deep scans using models such as Mythos. According to the company, safeguards in the standard SWE-2.1 also restrict some advanced defensive tasks.

During security testing of its training infrastructure, the model discovered new sandbox vulnerabilities four times, according to Cognition. A monitoring test alerted researchers, who the company says responded immediately each time.

Training and the faster Ultrafast version

Like its predecessor, SWE-2.1 was trained purely through reinforcement learning on Kimi K3. Cognition expanded its training tasks to include short and long workflows in science, performance engineering and cybersecurity.

SWE-2.1 Ultrafast is the same model delivered at ten times the speed through a partnership with Cerebras, according to Cognition. The faster processing is intended to allow more work within a limited time.

Advertisement

Content created with help from UpTier.

SEO and GEO on autopilot. UpTier’s multi-agent systems write and optimize content for search engines and AI answers.

Discover UpTier ↗

Category:AI
Did you enjoy this article?
Discover more interesting posts on our blog
Back to blog

Related posts

Anthropic CEO Delays New Model Training and Calls for Strict AI LawsAnthropic CEO Delays New Model Training and Calls for Strict AI Laws
Anthropic wants to slow the development of the most powerful AI with a waiting period and delayed training. Its CEO is also proposing a law mandating tests, oversight, and capability limits.
6 min read
2. 12. 2026
How to stop Google from training AI on your searchesHow to stop Google from training AI on your searches
Google now lets you keep search history enabled while preventing it from being used to train AI. Note that older data must be deleted manually.
3 min read
2. 12. 2026
NVIDIA introduces Model Risk Bench to assess AI model risksNVIDIA introduces Model Risk Bench to assess AI model risks
Model Risk Bench is designed to help developers and businesses identify and mitigate AI model risks. It includes more than 65 contributions from across the ecosystem.
1 min read
2. 12. 2026
Přihlaste se k odběru našeho newsletteru
Zůstaňte informováni o nejnovějších příspěvcích, exkluzivních nabídkách, a aktualizacích.
CodedTrip

Operated by CodedTrip LLC, USA.

YouTube
TikTok