Set Up Cursor with MonoRouter
Point Cursor at MonoRouter's OpenAI-compatible endpoint and chat/Tab requests route through your Claude Pro or Max subscription. Takes about two minutes.
What you need
- •A Claude Pro or Max subscription at claude.ai
- •Cursor installed — cursor.com
- •A MonoRouter account — sign up at /signup
- •A MonoRouter API key (
mrk_*) — get one at /keys - •Your Claude subscription connected to MonoRouter — go to /tokens, click
[ + add token ], and run the auto-connect script
Sign up for MonoRouter
Open /signup, enter your email and set a password. Save the six recovery codes — they're your offline fallback if you lose your password; you can also always reset it by email at /forgot-password.
Connect your Claude subscription
From the dashboard, go to /tokens, click [ + add token ], and pick ANTHROPIC. Use the auto-connect tab — it's the fastest.
The modal shows a one-liner like this:
curl -sSL https://api.monorouter.com/connect.sh | bash -s -- mrc_xxxxxxxxxxxx
Paste it into a terminal. The script runs claude setup-token, which opens a browser window for authorization and creates a long-lived token. When the dashboard flips to connected, you're done.
Override the OpenAI base URL in Cursor
Open Cursor's settings and go to Settings → Models. Scroll to the OpenAI API Key section and enable Override OpenAI Base URL.
- •Set the base URL to
https://api.monorouter.com/v1 - •Paste your MonoRouter key (
mrk_your_key_here) into the API key field - •Add the model names you want to use manually — Cursor doesn't auto-discover MonoRouter's models yet, so type the exact model ID (e.g.
claude-sonnet-5)
Verify it works
Open a chat in Cursor, pick the model you added, and send a message. Or test the endpoint directly with curl:
curl -X POST https://api.monorouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer mrk_your_key_here" \
-d '{
"model": "claude-sonnet-5",
"messages": [{"role": "user", "content": "hi"}]
}'A 200 with a JSON response means you're done. The call also shows up on /dashboard within a second or two.
Choosing a model
Add any of these model IDs in Cursor's model list:
| Model | ID | Context | Max output |
|---|---|---|---|
| Fable 5 | claude-fable-5 | 1M | 128k |
| Opus 4.8 | claude-opus-4-8 | 1M | 128k |
| Opus 4.7 | claude-opus-4-7 | 1M | 128k |
| Opus 4.6 | claude-opus-4-6 | 1M | 128k |
| Sonnet 5 | claude-sonnet-5 | 1M | 128k |
| Sonnet 4.6 | claude-sonnet-4-6 | 1M | 128k |
| Haiku 4.5 | claude-haiku-4-5-20251001 | 200k | 64k |
Troubleshooting
- •401 Unauthorized — your connected token expired or was revoked. Go to /tokens and reconnect it; the auto-connect script issues a fresh long-lived token.
- •429 Too Many Requests — you've hit your plan's quota. Free accounts get 1,500 lifetime calls, Hobby ($9/month) adds 10,000 calls/month, Pro ($29/month) is unlimited for personal use, and Team ($99/month) pools quota across 5 seats. Check /billing to upgrade.
- •Streaming is fully supported — Cursor's chat panel and Tab completions stream normally through MonoRouter.
Pricing
- •1,500 successful calls are free for the lifetime of your account. Failed calls don't count.
- •After that, paid plans start at $9/month (Hobby, 10,000 calls). Pro is $29/month for unlimited personal use; Team is $99/month for 5 pooled seats. See /billing for the payment flow.
FAQ
Does Cursor still use its own subscription for anything?
No. Once you override the OpenAI base URL and paste your MonoRouter key, every chat and Tab request from that model goes through MonoRouter and bills against your connected Claude Pro/Max subscription instead.
Which model name should I add in Cursor?
Add the exact model IDs you want to use, e.g. claude-sonnet-5 or claude-opus-4-8. Cursor sends whatever string you type as the model field, and MonoRouter maps it to the matching Claude model.
Does streaming work in Cursor chat?
Yes. MonoRouter streams responses over the OpenAI-compatible /v1/chat/completions endpoint, so Cursor’s chat panel and Tab completions render token-by-token as usual.
Can I use Cursor with a Hobby or Team plan?
Yes. Any MonoRouter plan works — Hobby, Pro, and Team all support the OpenAI-compatible endpoint Cursor uses. Team plans pool quota across seats, which is useful if multiple teammates use Cursor against the same MonoRouter account.
Ready to get started?
Sign up in 30 seconds — no credit card required. 1,500 free API calls included.