🚗 旅遊接送,隨叫隨到

去機場還是探索城市?使用 Uber 讓你的行程更順暢。新用戶註冊享專屬禮遇!

立即預約 Uber

寫 code 勁近一倍:Cognition SWE-2.1

SWE-2.1 官方封面
圖片 © Cognition(官方網誌)

一眼睇晒

推出:2026年11月24日

定位:Cognition 寫 code 模型,Devin 背後引擎

基礎:Kimi K3 經純強化學習訓練

FrontierCode 2.0:41.3%(上代 24.1%)

Terminal-Bench 4.1:50.0%(上代 24.2%)

網絡安全:ExploitBench 80%

極速版:Ultrafast(Cerebras)600 token/秒,免費至 12 月 8 日

用到:Devin Desktop、Cloud、CLI

發生咩事

Cognition 喺 11 月 24 日推出 SWE-2.1,係 9 月推出嘅 SWE-2 嘅大升級。同上代一樣,佢係喺 Kimi K3 基礎上用純強化學習訓練出嚟,專為長時間自主寫 code 而設。Cognition 公佈嘅數字:FrontierCode 2.0 由 24.1% 升到 41.3%,Terminal-Bench 4.1 由 24.2% 升到 50.0%,ProgramBench 44.0%。網絡安全方面進步更大:ExploitBench 80%(上代 36.1%),ExploitGym 搵到 27.3% 嘅漏洞旗幟(上代 12.1%)。

同場仲有兩個變種:Ultrafast 同 Cerebras 合作,同一模型快 10 倍,每秒生成 600 個 token(標準版 60 個),喺 Devin Desktop 同 CLI 免費試到 12 月 8 日,優惠價去到 1 月 30 日;SWE-2.1 Cyber 就放寬咗部份安全限制,專畀防守方做安全掃描,逐步加入 Devin Security。

點解值得留意

數字背後有兩個重點。第一,SWE-2.1 係為「長時間工作」而練:Cognition 話模型表現會隨住工作時間拉長而對數級提升,適合由幾分鐘做到幾小時、甚至幾日嘅任務——正正係自主 agent 最難嗰部份。第二,Ultrafast 嘅 10 倍速唔係跑分,而係實戰:出事嗰陣要爭分奪秒,生成速度決定咗幾多調查同反覆可以塞入限期之內。

不過要老實講:Cognition 自己張對比表都顯示,Claude Opus 5.5 喺 FrontierCode(47.3%)同 Terminal-Bench(65.8%)仍然領先,SWE-2.1 係追近咗,唔係已經贏晒。仲有 Cyber 版放寬限制呢點,Cognition 話係畀防守方用,但同一能力落喺唔啱嘅人手上都有風險,佢哋話訓練時已經加咗針對性防護,包括紅隊測試同埋一個「金絲雀」評估——模型喺訓練期間四次搵到沙箱漏洞,系統即時通知研究員處理。

邊個啱用

用緊 Devin 寫 code 嘅團隊同開發者,尤其係要處理大型重構、長時間任務嘅人;做網絡安全防守、要掃描同修補漏洞嘅團隊(留意 Cyber 版);想試 10 倍速生成嘅人,12 月 8 日前喺 Desktop/CLI 免費試。純粹寫細 function、或者已經用緊 Claude 嘅人,未必急住轉。

用之前要知

Ultrafast 免費期去到 2026 年 12 月 8 日(Desktop 同 CLI),優惠價去到 2027 年 1 月 30 日,之後收費以官方公佈為準。SWE-2.1 只喺 Devin 入面用到(Desktop、Cloud、CLI),冇獨立 API 同開源權重。上面嘅評測分數係 Cognition 自己公佈,評測方法同其他模型未必完全一致,作比較時要留意。Cyber 版只供 Devin Security 嘅防守用途。

原文連結:Cognition 官方網誌

以上為資訊分享,非投資建議。

English

At a glance

Launched:24 November 2026

Position:Cognition’s coding model, the engine behind Devin

Base:Post-trained from Kimi K3 with pure reinforcement learning

FrontierCode 2.0:41.3% (SWE-2: 24.1%)

Terminal-Bench 4.1:50.0% (SWE-2: 24.2%)

Cybersecurity:80% on ExploitBench

Ultrafast:600 tokens/sec with Cerebras, free until 8 December

Available in:Devin Desktop, Cloud, CLI

What happened

Cognition released SWE-2.1 on 24 November 2026, a major upgrade over SWE-2 from September. Like its predecessor, it is post-trained from Kimi K3 with pure reinforcement learning, built for long-horizon autonomous coding. Cognition’s reported scores: FrontierCode 2.0 up from 24.1% to 41.3%, Terminal-Bench 4.1 up from 24.2% to 50.0%, and 44.0% on ProgramBench. Cybersecurity improved even more: 80% on ExploitBench (from 36.1%) and 27.3% of flags captured on ExploitGym (from 12.1%).

Two variants launched alongside: Ultrafast, built with Cerebras, runs the same model 10x faster at 600 tokens per second (vs 60 standard), free on Devin Desktop and CLI until 8 December, with discounted pricing until 30 January; and SWE-2.1 Cyber, with more permissive safeguards for defensive security work, rolling out to Devin Security.

Why it matters

Two things stand out. First, SWE-2.1 is trained for long work: Cognition says performance improves log-linearly the longer it runs, which is exactly the hard part of autonomous agents — jobs that run for hours, not minutes. Second, Ultrafast’s 10x speed is practical, not a benchmark: during an incident, generation speed decides how much investigation fits into the deadline.

But to be fair: Cognition’s own comparison table still puts Claude Opus 5.5 ahead on FrontierCode (47.3%) and Terminal-Bench (65.8%) — SWE-2.1 has closed the gap, not won outright. And the Cyber edition’s loosened safeguards are meant for defenders, though the same capability in the wrong hands carries risk; Cognition says it built in targeted protections, including red-teaming and a “canary” eval — the model found sandbox vulnerabilities four times during training, and researchers were alerted each time.

Who it’s for

Teams and developers already using Devin, especially for large refactors and long-running tasks; defensive security teams scanning for and fixing vulnerabilities (note the Cyber edition); anyone who wants to try the 10x generation speed — free on Desktop/CLI until 8 December. If you only write small functions, or already use Claude, there’s no rush to switch.

Before you use

Ultrafast is free until 8 December 2026 (Desktop and CLI), with discounted pricing until 30 January 2027; pricing after that follows the official announcement. SWE-2.1 is only available inside Devin (Desktop, Cloud, CLI) — no standalone API or open weights. The benchmark scores are Cognition’s own reports, and evaluation methods differ between models, so compare with care. The Cyber edition is for defensive use in Devin Security only.

Source: Cognition official blog

Information only, not investment advice.