---
title: "How Cursor Router chooses the right model for the task · Cursor"
description: "Cursor Router picks a model per agent turn in two stages: Compass, a complexity predictor trained on implicit user-satisfaction signals (moving on vs. correcting the agent), decides whether a turn stays on a cheap model (Grok) or gets upgraded."
url: "https://swe.quest/articles/how-cursor-router-chooses-the-right-model-for-the-task-cursor-5ca9c42f82fc2ccc"
canonical: "https://cursor.com/blog/how-cursor-router-works"
source: "Cursor"
published: "2026-08-06"
difficulty: "medium"
kind: "Research"
reading_minutes: 6
tags: ["llms","ai-coding","evals","cost-optimization"]
---

# How Cursor Router chooses the right model for the task · Cursor

A post on [Cursor](https://swe.quest/sources/cursor.md), published 2026-08-06, 6 min read, Research. Original: [https://cursor.com/blog/how-cursor-router-works](https://cursor.com/blog/how-cursor-router-works)

## Summary

Cursor Router picks a model per agent turn in two stages: Compass, a complexity predictor trained on implicit user-satisfaction signals (moving on vs. correcting the agent), decides whether a turn stays on a cheap model (Grok) or gets upgraded. Upgraded turns are classified by a learned taxonomy of domains, tasks and modifiers and sent to the frontier model with the best observed performance there. A candidate must clear a one-sided 75% confidence uplift over the cheap model, and an optimizer picks the traffic-weighted model mix that maximizes expected gain within each mode's per-turn cost budget. Policies were tuned with cross-validation, checked on a held-out set, then validated on live traffic. Auto Intelligence now beats Fable-level satisfaction at 68% lower cost, and Auto Balance beats Opus 4.8 at 41% lower cost.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)

## Prerequisites

- LLM coding agents ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- basic statistical confidence

## Keywords

Cursor Router, Compass, Auto Intelligence, Auto Balance, Opus 4.8, Fable, Grok

## Related posts

- [Model Routing Is Simple. Until It Isn’t.](https://swe.quest/articles/model-routing-is-simple-until-it-isn-t-aff4745dc4d94524.md): Hugging Face · 2026-07-15 · Easy · 5 min read · Inference & serving, AI agents, LLMs, Cost optimization
  LLM model routing in agentic systems is a systems optimization problem, not a classification one.
- [How to Build a Model Router in the Harness](https://swe.quest/articles/how-to-build-a-model-router-in-the-harness-cfe4402ea89738e9.md): LangChain · 2026-10-09 · Medium · 11 min read · AI agents, LLMs, Cost optimization, Evaluation, AI for coding
  Routing each coding-agent thread to one of three model tiers (fast, balanced, performance) cut median cost per thread by 64% versus always using a top frontier model, with no measurable change in merged-PR rate (29.2% vs 27.3%, p=0.49) across 973 threads in Open SWE.
- [The Open Source AI Stack](https://swe.quest/articles/the-open-source-ai-stack-4e2d322b6b4e06e6.md): Together AI · 2026-09-09 · Easy · 14 min read · AI for coding, AI agents, LLMs, Inference & serving
  Adopting open models for agentic coding is framed as a five-layer "MIGHT" stack: model, inference provider, gateways/routers, harness and tools (skills and MCP), with each layer swappable independently so new models can be tried in minutes.
- [Mubit + Neon AI Gateway: an agent that cuts its own frontier-model tokens by 73%](https://swe.quest/articles/mubit-neon-ai-gateway-an-agent-that-cuts-its-own-frontier-model-tokens-by-73-358da1147275d399.md): Neon · 2026-11-12 · Medium · 10 min read · AI agents, LLMs, Cost optimization, Inference & serving, PostgreSQL
  Mubit, a proxy placed in front of Neon AI Gateway, records an agent's model calls, groups recurring calls into tasks, and fine-tunes a small open-weight model once a task has at least 25 good replies.
- [Open Models have crossed a threshold](https://swe.quest/articles/open-models-have-crossed-a-threshold-c54376af892bf600.md): LangChain · 2026-10-13 · Medium · 7 min read · Evaluation, LLMs, AI agents, Cost optimization
  Open-weight models GLM-5 and MiniMax M2.7 now score close to closed frontier models on core agent tasks in LangChain's Deep Agents eval suite.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
