How to use cursor directly with only my model API?

I use pro version and want to communicate only with my API server.
When I setup the “Override OpenAI Base URL” to my address it works, so it is talking with my model.
But what is very interesting in the network monitor there is no direct requests to my api! Which means somehow my requests go trough Cursor server which I want to avoid.
Is it possible to communicate only with my own server?
Many thanks!

Hey there,

This is expected behavior. When you use the “Override OpenAI Base URL” feature, your requests are routed through Cursor’s backend servers – that’s where the final prompt is built (system instructions, tools, context, etc.) before being forwarded to your API endpoint. This is why you don’t see direct requests from Cursor to your server in the network monitor.

As noted on Cursor’s Data Use & Privacy Overview: “Even if you use your API key, your requests will still go through our backend. That’s where we do our final prompt building.”

There is currently no option to have Cursor communicate directly with your own server without going through Cursor’s backend.

If data privacy is a concern, enabling Privacy Mode in Cursor’s settings will ensure zero data retention with model providers and prevent any of your code from being trained on. However, your requests will still transit through Cursor’s servers for prompt building regardless of this setting.

Best,
Mohit

1 Like