Skip to content

Model Card: SWE-2.1

Nov 29, 20266 min
TL;DRCognition's SWE-2.1 is reinforcement-learning post-training on top of Moonshot AI's open-weight Kimi K3: Terminal-Bench 4.1 doubled from 24.2% to 50.0%, the cybersecurity benchmark ExploitBench jumped from 36.1% to 80.0%, and a Cerebras-powered SWE-2.1 Ultrafast variant runs 10x faster at 600 tokens/sec.

Look up & save

Loading dictionary…

中文版

Model Information

FieldValue
Model IDSWE-2.1 (plus an Ultrafast variant; supports Low/Medium/High/XHigh/Max reasoning effort)
VendorCognition (developer of Devin)
ParametersNot disclosed (trained with pure reinforcement learning on top of Moonshot AI's open-weight Kimi K3, a 2.8T-parameter MoE model)
Context WindowNot disclosed (Cognition's own ProgramBench/FrontierCode harness tests use a 250K-token context with up to 3 compactions, for 1M tokens total; the base model, Kimi K3, natively supports a 1M-token context)
Input price (USD/1M tokens)$2.00 (list price; free from 2026-11-24 through 12-08, then a $0.50 promotional rate through 2027-01-30)
Output price (USD/1M tokens)$10.00 (list price; $2.50 during the same promotional window; cache reads are $0.20 list / $0.05 promotional)
Open sourceNo (available only through Devin Desktop/CLI/Cloud and the API; the fine-tuned weights aren't released. The base model, Kimi K3, is open-weight under the Kimi K3 License)
Release date2026-11-24
Official announcementIntroducing SWE-2.1 (Cognition Blog)
FamilyCognition's SWE line (SWE-1.6 → SWE-1.7 → SWE-2 → SWE-2 Flash → SWE-2.1)

Highlights

  • FrontierCode 2.0 rose from 24.1% for the previous-generation SWE-2 to 41.3%, a 17.2-point gain
  • Terminal-Bench 4.1 more than doubled, from 24.2% to 50.0%
  • A first major push into cybersecurity: ExploitBench jumped from 36.1% to 80.0%, and across the 869 tasks in ExploitGym, pass@1 success rose from 12.1% to 27.3% and flag capture from 18.1% to 44.8%
  • A Cerebras partnership produced SWE-2.1 Ultrafast, which raises inference speed from 60 tokens/sec to 600 tokens/sec — a 10x gain

Benchmark Results

BenchmarkSWE-2.1SWE-2 (previous gen)Best competitor
FrontierCode 2.041.3%24.1%Claude Opus 5.5 47.3%
Terminal-Bench 4.150.0%24.2%Claude Opus 5.5 65.8%
ExploitBench80.0%36.1%GPT-6.2 Sol 100%
ExploitGym (pass@1 success)27.3%12.1%Claude Opus 5.5 34.5%

Except for the GPT-6.2 Sol and Claude Opus 5.5 scores, which come from each vendor's own disclosures, all figures above are Cognition's self-reported results (closed models are run on their developer's preferred harness, open and SWE-family models on the Devin CLI harness); no independent reproduction has been published. ExploitBench and ExploitGym involve real exploitation scenarios, and Cognition says it built additional safety monitoring, including a canary eval, into the training process.

SWE-2.1 vs. the previous generation, SWE-2, on four key benchmarks
SWE-2.1 vs. the previous generation, SWE-2, on four key benchmarksSWE-2.1 beats the previous-generation SWE-2 on all four self-reported benchmarks shown, with the largest gain on the cybersecurity benchmark ExploitBench and the smallest on ExploitGym's pass@1 success rate. 0% 50% 100% ExploitBench 36.1% 80.0% Terminal-Bench 4.1 24.2% 50.0% FrontierCode 2.0 24.1% 41.3% ExploitGym 12.1% 27.3% Legend SWE-2 (previous gen) SWE-2.1

Figures come from Cognition's official blog post, Introducing SWE-2.1 (2026-11-24). x-coordinate = 200 + score(%) × 4, so 0% maps to x=200 and 100% to x=600. Rows are sorted by the size of the gain from SWE-2 to SWE-2.1, largest first.

Vs. the Previous Generation and Competitors

Against SWE-2, the biggest gain is in cybersecurity: ExploitBench jumped from 36.1% to 80.0%, a 44-point improvement, while the coding benchmark Terminal-Bench 4.1 also doubled, from 24.2% to 50.0%. Cognition attributes these gains to expanding the training task mix into science, performance engineering, and cybersecurity, plus a better recipe for controlling rollout length during training that let the model train stably for much longer — the improvement comes from how the model was trained, not simply from more parameters or more data.

Against general-purpose frontier models, SWE-2.1 still trails Claude Opus 5.5 on coding benchmarks (41.3% vs. 47.3% on FrontierCode 2.0, 50.0% vs. 65.8% on Terminal-Bench 4.1), and on cybersecurity it's well behind GPT-6.2 Sol's 100% and Claude Opus 5.5's 91% on ExploitBench. SWE-2.1's edge isn't the highest score — it's price and speed: the Cerebras-powered Ultrafast variant pushes output from 60 tokens/sec to 600 tokens/sec, and for a task like "find and fix a bug before the deadline," that 10x speed matters more than a few extra benchmark points.

Pricing rolls out in stages: free from 2026-11-24 through 12-08, a promotional rate of $0.50 input / $2.50 output per million tokens from 12-09 through 2027-01-30, then list price of $2.00 / $10.00. The Ultrafast variant is priced separately at $5.00 / $25.00, with no free period. Against a general-purpose model like Claude Fable 5.2 at $8 / $40, SWE-2.1's list price is still several times cheaper — which helps explain why Cognition can afford to give away a model with a sizable cybersecurity capability jump for free to build usage.

What This Means for Agent Development

SWE-2.1 is trained specifically for working autonomously over long stretches of time. Cognition plots ExploitGym's success rate against rollout time and shows the model solving far more tasks after six hours than after fifteen minutes, with a steeper curve than the previous generation. That's a signal for anyone building an agent meant to run for a long time without checking in: the model itself needs to keep producing results as the time budget grows, not just look good on the first few steps.

  • If you're building an autonomous coding agent (something like Devin): SWE-2.1 Ultrafast's 600 tokens/sec matters more in scenarios like "fix a production incident under a deadline" than the raw benchmark score does, and the free period through 12/8 is a good window to run your own performance tests
  • If you're building a security agent or automated penetration testing: ExploitGym's 27.3% pass@1 and 44.8% flag capture are worth a look, along with the canary eval (which detects the model trying to escape its sandbox) Cognition built into training. Cognition has also been explicit about separating "cybersecurity capability" from "misuse risk" — the general release restricts high-harm behavior, while SWE-2.1 Cyber is offered only to Devin Security's defensive use cases
  • Not a fit if you need the highest score on general reasoning (SWE-2.1 still trails Claude Opus 5.5 on both FrontierCode and Terminal-Bench), or if you want open weights to self-host: SWE-2.1's fine-tuned weights aren't released, so you can only access it through the Devin product or API

Today's Takeaway

Cognition didn't train a new base model from scratch — it used reinforcement learning to layer long-horizon task performance and cybersecurity capability on top of Moonshot AI's already-open Kimi K3. That's a reminder that a "new model" doesn't have to start from a blank slate: RL on top of someone else's open-weight base can produce a model whose training method alone is worth writing up. What stands out more is that when the capability being layered on is dual-use — cybersecurity skill that can attack as easily as it can defend — Cognition built in safety monitoring (the canary eval) during training itself, rather than waiting until the model was finished to bolt on guardrails. That's a concrete example of moving safety engineering earlier, into the training pipeline, instead of treating it as something to add afterward.

References