Vibeleaderboard
← All Intel
Intel / article

Here's how we built it:

Source
cursor.com
Author
cursor_ai
Date

Context

Cursor's router saves money by asking, on every turn of a coding conversation, whether the request is easy enough for a cheap model, and paying for a frontier model only when its data says that model does clearly better on that kind of work. The company's technical write-up explains the mechanism behind the router it launched in July. A predictor called Compass gives each turn a score between 0 and 1 by estimating how likely the user is to be satisfied with the response, and a threshold on that score decides which turns stay on the price-efficient model, xAI's Grok. The rest go to a second stage that chooses among frontier models.

Both stages learn from what developers actually do rather than from benchmark scores. Cursor built a dataset of hundreds of thousands of turns from live traffic and treated the user's next action as the grade: moving on to the next task counts as a strong positive signal, correcting the agent as a strong negative one. Cost comes from prices and use on each turn, which also captures the cache misses that switching models causes. In live testing, turns Compass rated most likely to go well got a positive signal 96% of the time, against 71% for those it rated least likely.

For harder turns, Cursor labels the work by domain (such as frontend or database schemas), task (such as fixing bugs or writing tests) and modifiers (such as visual-heavy changes), then compares models on each label. It found that no model won everywhere: OpenAI's Sol did well on planning and understanding a codebase, Anthropic's Opus on execution-heavy work such as devops, and Anthropic's Fable on and visual implementation. A frontier model becomes eligible for a label only when Cursor is about 75% confident it beats the cheap model there, and the chosen mix must keep the average cost per turn within the mode's budget. The two modes differ in those settings: Auto Balance keeps more turns on the cheap with a smaller budget, while Auto Intelligence lets the router spend more on frontier models.

Cursor says Auto Intelligence now delivers "above Fable-level user satisfaction at 68% lower cost" and Auto Balance outperforms Claude Opus 4.8 at 41% lower cost, both measured on its own traffic. Those results depend on Cursor's definition of satisfaction, which reads moving on as approval, and the post gives no absolute satisfaction rates or outside check. They show the router improving cost against quality inside Cursor as Cursor measures it; the post does not test whether the same routing would pay off for other tools or workloads.

Terms in this piece · Glossary
  • API — Application programming interface: the agreed set of operations, inputs and outputs through which one piece of software uses another.
  • Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.
  • Debugging — Following a failure back along the data path to the place where the data first goes wrong.
  • Path — A description of a file or folder location, written using directory names and separators.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

More from cursor_ai
Recommended reads
Comments

Checking sign-in…

Loading comments…