VOOZH about

URL: https://thenewstack.io/cursors-composer-2-beats-opus/

⇱ Cursor's Composer 2 beats Opus 4.6 on coding benchmarks at a fraction of the price - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2026-03-19 08:39:18
Cursor's Composer 2 beats Opus 4.6 on coding benchmarks at a fraction of the price
AI / AI Models

Cursor’s Composer 2 beats Opus 4.6 on coding benchmarks at a fraction of the price

A new training technique that teaches the model to summarize its own context is the key to Composer 2's performance leap.
Mar 19th, 2026 8:39am by Frederic Lardinois
👁 Featued image for: Cursor’s Composer 2 beats Opus 4.6 on coding benchmarks at a fraction of the price
Featured image credit: Getty Images for Unsplash+.

Cursor on Thursday released Composer 2, the third generation of its in-house coding model. The model outperforms Anthropic’s Opus 4.6 on some key coding benchmarks, and does so at a fraction of the cost. 

The new Cursor model costs as little as $0.5 per million input tokens and $2.5 per million output tokens. There is also a fast mode, which will be the default option, but it costs 3x as much, at $1.5/$7.5 per million input/output tokens. This fast mode offers the same intelligence, just at a higher price.

In comparison, Opus 4.6 costs $5/$25 and OpenAI’s GPT-5.4 $2.5/$15.

👁 Image
Credit: Cursor.

On Terminal-Bench 2.0, a benchmark that measures how well AI agents handle real-world software engineering tasks in a terminal environment, the model scores 61.7%, beating Anthropic’s Claude Opus 4.6, which scores 58.0%. That’s still well behind OpenAI’s GPT-5.4 at 75.1%, but it shows how quickly Cursor has managed to catch up with the competition as it is speeding up its own model projects.

Since Cursor is model-agnostic, developers can choose which model to run or use Cursor’s Auto mode, which selects the best model based on a trade-off between intelligence, speed, and cost.

👁 Image
Credit: Cursor.

5 Months, 3 Generations

Composer 2 is the third Composer release since October. Cursor shipped the original Composer model, along with its 2.0 platform redesign, in October 2025. Composer 1.5 followed this February, and at the time, it was still trailing Opus 4.6 by 10% on Terminal-Bench 2.0. 

Previous Composer models applied reinforcement learning to an existing base model without modifying the base itself. Cursor notes that Composer 2 is the first version where Cursor ran continuous pre-training, which the company says provided “a far stronger base to scale our reinforcement learning.”

Training the model to compress its own memory

The key technical innovation for this new model is a training technique Cursor calls ‘self-summarization.’ “We trained Composer for long-horizon tasks through a reinforcement learning process called self-summarization. By making self-summarization part of Composer’s training, we can get training signal from trajectories much longer than the model’s max context window,” the company writes in its announcement.

👁 Image
Credit: Cursor.

Agentic coding tends to generate long action histories that quickly exceed a model’s context window. Traditionally, companies like Cursor compaction either creates a compact text-based summary of the work the model previously did, or there is a sliding context window that drops older context in favor of more recent work. 

“These approaches to compaction share the downside that they can cause the model to forget critical information from the context, reducing its efficacy as it advances through long-running tasks,” Cursor argues.

Cursor’s approach, which the team calls compaction-in-the-loop reinforcement learning, builds summarization directly into the training loop. When a generation hits a token-length trigger, the model pauses and compresses its own context to roughly 1,000 tokens, down from 5,000 or more with more traditional methods. Because the reinforcement learning reward the team used when training the model covers the entire chain, including the summarization steps, the model learns which details to keep and which to discard.

According to Cursor’s research post, self-summarization reduces compaction errors by 50%.

TRENDING STORIES
Before joining The New Stack as its senior editor for AI, Frederic was the enterprise editor at TechCrunch, where he covered everything from the rise of the cloud and the earliest days of Kubernetes to the advent of quantum computing....
Read more from Frederic Lardinois
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Anthropic, OpenAI.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.