2026-11-04

Cognition Releases SWE-2 Flash, a Coding Model Built on Thinking Machines' 276B Inkling-Small That Beats All American Open-Weight Models on Six Coding Benchmarks at 5x Lower Cost and 3x the Speed of SWE-2, With Weights Going Only to Partners

AIModelsCoding🌍 North America

Cognition introduced SWE-2 Flash, "our new fast & efficient coding model." It says that "on leading evals, it outperforms all American open-weight models, even ones 3x larger." The blog post adds that SWE-2 Flash is based on Thinking Machines' Inkling-Small, an American model with 276B total and 12B active parameters, and that its small size and optimized inference stack let Cognition offer it at 5x lower cost and 3x higher speed than SWE-2.

Weights

The weights are not public. "To balance transparency and cyber risks, we are building a program to securely share the weights with partners & researchers."

The benchmark table

Table comparing SWE-2 Flash (276B-A12B) with Inkling-Small, Beam 1.0, Muse Spark Open, GPT-6 Luna, Claude Haiku 5.5 and SWE-2 (2.8T-A104B) on FrontierCode 2.0, FrontierCode 1.1 Main, DeepSWE 1.1, Terminal-Bench 4.0, Terminal-Bench 2.1 and SWE-Bench Pro v2 Hard. Cognition's comparison table for SWE-2 Flash, from its announcement.

BenchmarkSWE-2 FlashInkling-SmallBeam 1.0Muse Spark OpenGPT-6 LunaClaude Haiku 5.5SWE-2
FrontierCode 2.024.03.22.96.221.927.723.8
FrontierCode 1.1 Main45.521.522.824.542.446.450.0
DeepSWE 1.160.117.443.360.066.659.373.0
Terminal-Bench 4.020.00.94.08.016.439.227.3
Terminal-Bench 2.189.264.780.176.482.094.492.8
SWE-Bench Pro v2 Hard89.956.576.582.480.490.290.6

The three open-weight models in the table are Inkling-Small, Beam 1.0 (501B total, 23B active) and Muse Spark Open (816B total, 42B active), and SWE-2 Flash tops all three on every row, though only by 0.1 point on DeepSWE 1.1 against Muse Spark Open. Against the two closed models it is mixed:

  • GPT-6 Luna: SWE-2 Flash is ahead on five rows and behind on DeepSWE 1.1, 60.1 against 66.6. See GPT-6 Sol and Luna.
  • Claude Haiku 5.5: SWE-2 Flash is ahead only on DeepSWE 1.1 (60.1 against 59.3). Haiku leads on Terminal-Bench 4.0 by a wide margin, 39.2 against 20.0, and on Terminal-Bench 2.1, 94.4 against 89.2. See Claude Haiku 5.5.
  • SWE-2: the full 2.8T-total, 104B-active model scores higher on five rows, and SWE-2 Flash edges it on FrontierCode 2.0, 24.0 against 23.8.

The same "best American open-weight" claim was made this week by Ricursive's Ripple-65B, which is open, while SWE-2 Flash is not.

How it was trained

  • Mid-training: for the first time, Cognition added a stage before reinforcement learning, training on several trillion tokens of code, scientific articles, blogs and more, and saving the scarcest, highest-quality data for last. Its chart shows validation loss falling steadily across three stages on a log scale.
  • Reinforcement learning: large-scale RL with some tweaks to the SWE-2 recipe, though most of the gains, Cognition says, came from higher-quality, more diverse RL tasks. Its research team audited the instructions, environment setup and verifiers of the tasks and curated several new task types.

Line chart of validation loss across mid-training, falling steadily through Stage 1, Stage 2 and Stage 3 on a log-scale training axis. Validation loss across mid-training, from Cognition's blog post. The chart has no value labels on the loss axis.

Line chart of rollout score and benchmark average during RL against training progress on a log scale, both rising, with the rollout score rising faster. Rollout score against benchmark average during RL, from Cognition's blog post. The chart has no value labels on the solve-rate axis.

All benchmark figures are Cognition's own.

Read next