logo
Kurashizu Blogwhere ideas flow
  • Home
  • News
  • Blog
  • About
  • Home
  • News
  • Blog
  • About

© 2026 Kurashizu. All rights reserved.

Admin·New Post·Service Status
Powered by Cloudflare·02.11.26
← Back to news

SWE-1.7 Reach Near GPT 5.5 and Opus Intelligence

Original article
cognition.com|97 points|64 comments|by mekpro|Jul 8, 2026

SWE-1.7: Approaching the Intelligence of GPT 5.5 and Opus

Cognition has officially unveiled SWE-1.7, their most advanced model to date. This release represents a significant leap in frontier-level intelligence while simultaneously reducing costs, effectively shifting the cost-performance Pareto curve.

"SWE-1.7 demonstrates that RL can push capabilities much further than previously believed, challenging the notion of a 'post-training ceiling'."

Overview of the Breakthrough

The development of SWE-1.7 was driven by comprehensive upgrades to the Reinforcement Learning (RL) pipeline. The team focused on four primary pillars:

  • Enhanced infrastructure
  • Increased training stability
  • Higher-fidelity data curation
  • Novel strategies for long-horizon task management

Interestingly, SWE-1.7 was built upon the Kimi K2.7 base. Because Kimi K2.7 had already undergone significant RL post-training, the substantial gains achieved by Cognition prove that post-training ceilings do not actually exist.

Deployment and Access

The model is currently integrated into Devin across multiple platforms:

  • Web Interface
  • Desktop Application
  • CLI

It is powered by Cerebras, achieving an impressive throughput of 1000 TPS.


Performance Benchmarks

The following table illustrates the pass rates (%) across various agentic coding evaluations, showcasing how SWE-1.7 stacks up against other frontier models.

BenchmarkSWE-1.7Kimi K2.7Code GPT-5.5Opus 4.8Opus 4.7GLM-5.2Composer 2.5SWE-1.6
FrontierCode 1.1 Main42.3%30.1%43.0%46.5%38.5%24.5%25.6%9.4%
Terminal-Bench 2.181.5%72.7%84.2%86.9%83.0%81.0%76.0%39.7%
SWE-Bench Multilingual77.8%73.5%76.8%84.4%80.5%74.5%71.6%58.3%

Technical Deep Dive: Training Methodology

1. Stability and Entropy Preservation

Maintaining stability is critical for predictable scaling. A major hurdle in asynchronous RL is the KL divergence mismatch between the sampling policy and the trainer policy.

To combat this, Cognition previously utilized:

  1. Importance-sampling
  2. Quantization-aware training (specifically for NVFP4 low-precision rollouts and experts routing replay).

The Problem of Entropy Collapse

The team discovered that top-p sampling is vital to prevent entropy collapse—a state where the model stops exploring and rewards plateau. When low-probability tokens are sampled in failing trajectories, the softmax function can inadvertently "sharpen" the distribution, favoring already-dominant tokens.

The Mathematical Logic: Assume three tokens with logits x1,x2≫x3x_1, x_2 \gg x_3x1​,x2​≫x3​ and probabilities: pi=exiex1+ex2+ex3p_i = \frac{e^{x_i}}{e^{x_1} + e^{x_2} + e^{x_3}}pi​=ex1​+ex2​+ex3​exi​​

If token 3 (low probability) is sampled, the gradient of its log-probability is: ∇log⁡p3=∇log⁡[ex3ex1+ex2+ex3]=[−p1−p2p1+p2]\nabla \log p_3 = \nabla \log \left[\frac{e^{x_3}}{e^{x_1}+e^{x_2}+e^{x_3}}\right]= \begin{bmatrix} -p_1 \\ -p_2 \\ p_1+p_2 \end{bmatrix}∇logp3​=∇log[ex1​+ex2​+ex3​ex3​​]=​−p1​−p2​p1​+p2​​​

The resulting policy gradient update Δxi∝A^ ∇log⁡p3\Delta x_i \propto \hat{A}\ \nabla \log p_3Δxi​∝A^ ∇logp3​ (where A^\hat{A}A^ is the advantage) leads to: Δx1∝∣A^∣ p1,Δx2∝∣A^∣ p2,Δx3∝−∣A^∣ (p1+p2)\Delta x_1 \propto |\hat{A}| \, p_1, \qquad \Delta x_2 \propto |\hat{A}| \, p_2, \qquad \Delta x_3 \propto -|\hat{A}| \, (p_1+p_2)Δx1​∝∣A^∣p1​,Δx2​∝∣A^∣p2​,Δx3​∝−∣A^∣(p1​+p2​)

This process penalizes x3x_3x3​ and boosts x1x_1x1​ more than x2x_2x2​, narrowing the distribution and killing entropy. Top-p sampling prevents these "noise" tokens from triggering this collapse.

2. Global Infrastructure

Unlike traditional RL, Cognition decoupled inference compute.

By distributing training across three continents and using object storage for weight synchronization, they ensured that local hardware failures did not halt the global training run.

3. Data Quality and Long-Horizon Tasks

The team implemented a rigorous data pipeline to ensure high-signal learning:

  • Automated Execution: Every task is verified via execution tests.
  • Signal Filtering: Tasks with low learning value are discarded.
  • Hardening: Tasks are modified to prevent the model from "reward-hacking."

Self-Compaction

To handle tasks that exceed the raw context window, SWE-1.7 uses self-compaction. The model learns to:

  1. Summarize its current working state.
  2. Resume the task from that summary.

To ensure the model doesn't become overly wordy, they apply an alternating length penalty to encourage conciseness without losing accuracy.

Conceptual Diagram of Self-Compaction

Final Observations

The resulting model exhibits sophisticated behavioral traits, most notably:

  • Careful Exploration: A more methodical approach to solving problems.
  • Concise Reasoning: The ability to reach conclusions with minimal fluff.
# Conceptual representation of the RL improvement loop
def train_swe_1_7(model, data_pipeline):
    while not converged:
        trajectories = sample_with_top_p(model)
        rewards = evaluate_execution(trajectories)
        # Apply stability fixes to prevent entropy collapse
        update_weights_across_clusters(model, rewards)
        model = apply_self_compaction_penalty(model)
    return model