Cognition SWE-1.7: Near-Frontier Coding at $2 a Task
AI News 5 min read intermediate

Cognition SWE-1.7: Near-Frontier Coding at $2 a Task

Cognition released SWE-1.7 on July 8, 2026, a software-engineering model built by reinforcement-learning on top of Moonshot AI's Kimi K2.7 base and served through Cerebras at ~1,000 tokens/second inside the Devin agent. It scores 42.3% on FrontierCode 1.1 and 81.5% on Terminal-Bench 2.1, trailing Opus 4.8 by a few points at roughly $1.97 per task, positioning it as a near-frontier option at a fraction of frontier cost.

Sarah Chen
Sarah Chen
Jul 14, 2026

Cognition just made the cheap end of the coding-model market interesting again. On July 8, 2026, the company behind the Devin agent released SWE-1.7, a software-engineering model that lands within striking distance of frontier systems while charging roughly $2 per task. The pitch is not "we beat Opus." It's "we get almost all the way there for a fraction of the money" — and in a year where inference bills have started outrunning payroll at some startups, that pitch matters.

What Cognition actually shipped

SWE-1.7 is built on an unusual foundation. Rather than training a base model from scratch, Cognition took Moonshot AI's Kimi K2.7 as a starting point and ran a heavy reinforcement-learning pass on top of it. That's RL layered on a model that was already extensively post-trained — a bet against the common assumption that you hit diminishing returns once a model has been polished.

The model is wired directly into Devin, Cognition's autonomous engineering agent, and is available across Devin's Web, Desktop, CLI, and API surfaces. Crucially, it's served through Cerebras at about 1,000 tokens per second. For an agent that spends its day looping through plan-edit-test cycles, that throughput is not a vanity metric — latency is what makes or breaks an autonomous coding session.

A few capabilities stand out:

Capability What it does
Self-compaction The model summarizes its own working state to stretch how long a task can run before context runs out
Multi-cluster RL training Trained across four data centers on three continents, mixing Cognition's own GPUs with outside compute from providers like Fireworks
Data-quality pipeline Automated tests filter out low-signal training tasks and guard against reward-hacking
Native Devin integration Ships inside Web, Desktop, CLI, and API — no separate setup

The self-compaction piece is the quietly important one. Long-horizon autonomy is where coding agents fall apart, and a model that manages its own memory can keep working through a multi-step job instead of losing the thread halfway.

The numbers that matter

Cognition reports 42.3% on FrontierCode 1.1 and 81.5% on Terminal-Bench 2.1. Both sit a few points behind Anthropic's Opus 4.8 — but not by the chasm you'd expect given the price gap. On SWE-Bench Multilingual, Cognition says SWE-1.7 edges out GPT-5.5.

The headline, though, is cost: roughly $1.97 per task on FrontierCode Main. That's the whole argument in one number. Near-frontier quality has historically meant frontier prices. SWE-1.7 tries to snap that link.

Near-frontier coding performance under $2 a task changes the economics of automated review, bug fixing, and test generation at volume. When each task costs pennies instead of dollars, you stop rationing the agent.

A word of caution on benchmarks, though. In the same week SWE-1.7 launched, OpenAI publicly retracted its recommendation for SWE-Bench Pro after finding that roughly 30% of its tasks were broken. Scores on that benchmark had leapt from the low 20s to about 80% in eight months — a jump that says more about benchmark gaming than about real capability. The lesson applies to every coding model, SWE-1.7 included: the only score that fully counts is the one you measure on your own codebase.

Why this lands now

The context around SWE-1.7 is a market splitting in two. On July 8 and 9, xAI shipped Grok 4.5 at a third of GPT-5.6 Sol's price, Meta started charging for a model for the first time, and cheaper open-weight options kept multiplying. Meanwhile, one San Francisco agent startup reportedly moved all its managed-agent traffic off a frontier model to a cheaper alternative and cut inference costs by around 90% after its AI bill passed payroll.

That's the water SWE-1.7 swims in. The ultra-premium frontier tier still wins the hardest problems, but for the enormous middle — routine bug fixes, test scaffolding, automated code review — the question has quietly flipped from "which model is smartest?" to "which model is smart enough at a price I can run millions of times?"

Cognition has the distribution to press that advantage. The company hit a $26 billion post-money valuation after raising over $1 billion in a May 2026 Series D, disclosed a $492 million annualized revenue run rate, and says enterprise Devin usage is growing roughly 50% month over month. It absorbed Windsurf in July 2025 and has locked in enterprise reach through system-integrator partnerships. A cheaper in-house model feeds directly into all of that.

The Bottom Line

SWE-1.7 is not the model you reach for when you need the single most capable coder on the planet. It's the one you reach for when you need a very good coder and you're going to call it ten thousand times this month. By reinforcement-training on top of an already-strong open base and serving it at Cerebras speeds, Cognition has produced something that looks less like a frontier flex and more like an operations decision — the kind that quietly reshapes how teams actually spend their AI budget. Just remember to benchmark it against your own repo before you believe any leaderboard, including this one.