Update, Nov 12, 2026: CodeRouter's pricing has changed since this post. It is now pay as you go — model list price with no markup from a prepaid balance, plus a 5.5% payment fee when you buy credit, no monthly fee, with smart routing or Direct mode (you name the exact model) on the same account — or Team at $19 per developer a month plus usage at list price. The monthly plans and the separate Direct plan described below are no longer sold; accounts already on them keep their terms. The rest of the post is as published. Current terms: pricing.
TL;DR — Cursor Pro's $20/month quickly turns into $50–200/month once you blow through the fast-request allowance and start paying OpenAI / Anthropic rates directly. Point Cursor's Custom API at CodeRouter, set
model: auto, and the router starts each task on the cheapest model that can handle it — Claude Haiku 5.5 or DeepSeek Chat for small edits and docs, Kimi K2.6 for typical work, Claude Sonnet 5.5 for hard tasks, Claude Opus 5.5 for hard planning — moving up only when tests or errors show a failure. Same IDE, same keyboard shortcuts. In TokenWatt's 176-task coding benchmark (TokenWatt is a measurement project from the same team as CodeRouter), routing solved 96–100% of tasks for 56–70% less than sending every request to Opus, across runs.
Why Cursor gets expensive fast
Cursor Pro is genuinely great UX. The problem is the billing model:
- 500 fast requests / month at $20. Past that, slow requests only — or you pay per-call at premium model rates.
- Default model is Claude Sonnet or Opus for Composer. That means every tool call — even "fix the typo on line 42" — racks up Opus-tier tokens if you've set Opus as your default.
- Context windows explode. Every Composer turn re-ships the conversation + recently-edited files. By turn 20, you're paying input-token rates for 80K of tokens on every single request.
If you're a full-time dev using Cursor all day, you're easily burning 50–200M tokens/month. At Opus rates that's $1,500 – $6,000 / month direct. Cursor's $20 flat-rate bucket covers a tiny fraction of that.
What a phase-aware router does differently
Instead of sending every Composer request to one model, a router looks at each request and decides how much model it needs. CodeRouter's routing (v3, since November 2026) works like this:
| Situation | What it looks like | Where routing starts |
|---|---|---|
| Small edit / docs / easy task | "Rename this variable", "add a docstring" | Claude Haiku 5.5 (or DeepSeek Chat) |
| Typical implement / test / refactor / debug | "Write a function that does X", "write unit tests for this" | Kimi K2.6 |
| Hard task, or moderately hard planning | "Refactor this module without breaking callers" | Claude Sonnet 5.5 |
| Hard planning | "How should I structure this service? Trade-offs between X and Y?" | Claude Opus 5.5 |
| Last turn failed | Tool result shows a failing test or an error | One tier up (at 30K+ tokens of context it takes two failures, because switching models loses the prompt cache) |
The judging is done by a small judgment model (Jev) that reads a compact excerpt — the latest message and the latest tool output. Measured latency is about 76 ms at the median and 136 ms at p95; if Jev doesn't answer within 400 ms, the older rules classifier decides. A session stays on one model so the prompt cache stays warm, and after 3 clean turns at an escalated tier it returns to where it started.
That mix is where the savings come from. Measured end to end: in TokenWatt's 176-task coding benchmark (TokenWatt is a measurement project from the same team as CodeRouter), routing solved 96–100% of tasks for 56–70% less than sending every request to Opus, across runs.
Setting up CodeRouter with Cursor — 2 minutes
- Sign up at coderouter.io — free trial with $1 of usage over 7 days with no card ($5 once you add a card, which isn't charged).
- Create an API key in the dashboard. It starts with
cr_. - In Cursor: open Settings → Models → scroll to "Custom OpenAI API Key". Fill in:
- Base URL:
https://www.coderouter.io/api/v1 - API Key:
cr_your_coderouter_key
- Base URL:
- In the model picker, select "Custom" and type
autoas the model name. (This tells CodeRouter to route automatically.) - Verify: ask Cursor something trivial like "rename this variable" and check the network tab — the response headers should include
X-CodeRouter-Tier: T0and anX-CodeRouter-Modelsuch asclaude-haiku-5.5. That's the router doing its job.
That's it. Cursor continues to work as before — Composer, Chat, Cmd+K, everything. Only the billing is different.
Real cost example
A typical Cursor day — an 8-hour session mixing new features, debugging a test suite, docs and refactoring — at April 2026 prices:
| Approach | Monthly cost (at this pace) | Notes |
|---|---|---|
| Cursor Pro default (Sonnet) + overage | ~$420/month | Hit fast-request cap day 3, rest at metered rates |
| Cursor direct to Opus 4.7 (power mode) | ~$1,400/month | All the good stuff, all the bill |
| Cursor with CodeRouter Pro ($99/month) | $99 covers the first $85 of routed model cost at list price; the rest is list +5%, with overage capped at $200/month | You pay for the models the router picked, not for Opus on every call |
What the routed cost comes to depends on your mix of work and your cache hit rate, and the dashboard shows it per request. For scale: CodeRouter's own engineers (one key each, May–Sep 2026) had a median of $4.30 of routed model cost per active day at list prices (75th percentile: $13.03). All plans: /pricing.
Corrected 2026-11-07: these figures are at list prices. The earlier figures ($4.34 and $17.01) were CodeRouter's recorded costs, which priced Claude Opus 4.7 at 3× its list price until October 29, 2026.
FAQ
Does this work with Cursor Composer / Agent mode? Yes. Composer sends OpenAI-compatible chat-completions calls. CodeRouter is an OpenAI-compatible proxy. Anything Cursor sends, we route.
What about Cursor's embedding + index models?
Those are separate API calls Cursor makes internally for codebase indexing, not routed through your Custom API. They continue to use Cursor's bundled infrastructure. You're only paying for what goes through base_url.
Can I still pick specific models sometimes?
Only on the Direct plan (pay-as-you-go, provider list price ×1.05) — pass model: "claude-sonnet-5.5" (or any supported model ID) and CodeRouter uses that exact model. On Starter / Solo / Pro / Team, the router always decides, whatever model name the client sends (which is the point of the product).
Where do the benchmark numbers come from? From TokenWatt's 176-task coding benchmark (TokenWatt is a measurement project from the same team as CodeRouter): single-file Python tasks, one retry on failure, list prices. Across runs, routing solved 96–100% of the tasks for 56–70% less than sending every request to Opus. Your number depends on your workload split and cache hit rate. The dashboard shows your actual cost per request.