Why your Cursor requests go through Cursor's servers first

Coding with AICursor·· 19 views· 3 min read

When you use your Interweb key in Cursor, the request does not go straight from your computer to our API. It goes through Cursor's servers first, which build the final request, and only then reaches us. This changes how you should create the key you use in Cursor.

What Cursor says

According to Cursor's help page on your own keys, all requests are routed through Cursor's servers for final prompt building. The same page says the key is not stored on Cursor's servers and is not kept after the request is complete.

So each request travels like this: Cursor on your computer, Cursor's servers, and our API at https://api.interweb.co.mz/v1. The answer goes back the same way.

The key's IP list

When you create a key, you can fill in an IP list: the key then only works from those addresses. With Cursor, the request reaches us from the address of Cursor's servers, not from yours. If the list only has your computer's or your office's IP, the API answers 403 ip_not_allowed.

For Cursor, use a key without an IP list. The fields are in how to create an API key.

A key just for Cursor

1 In the API Center, create a key named "Cursor" with only the ai:read and ai:write permissions. The chat needs nothing else.
2 Leave the IP list empty, for the reason above.
3 Pick a validity: 30, 90 or 365 days. When it ends, create another one and swap it in Cursor.

That way, if you need to cut Cursor's access, you revoke only this key and your other programs keep working. In History, the key filter shows only what Cursor spent.

What goes through Cursor

The text of each request, with the code Cursor adds to the conversation, goes through Cursor's servers before it reaches us. On that part of the way, Cursor's privacy rules apply. If that does not suit your project, use a tool that runs on your computer and calls our address directly, such as Cline, OpenCode or Aider. See which tool to choose.

If the Cursor key is exposed, revoke it straight away. See what to do, in the right order.

Want our models in Cursor? Visit the Coding with AI page.

See Coding with AI

SEE ALSO

Cursor with All in One AI: your key, our address and the models to add

Cursor errors: 401, model not found and the /v1 address

What Cursor spends: following its requests in the History tab

Which coding tool to use with All in One AI: OpenCode, Claude Code, Codex, Cursor, Cline, Kilo Code or Aider

Coding with AI in All in One AI

RECOMMENDED PRODUCT

Web hosting with cPanel

Domain and SSL included, daily backups and the panel you already know. from $5.36/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.