Skip to main content
Cursor is an AI code editor built on VS Code. It lets you enter your own OpenAI API Key and override the OpenAI Base URL, so chat requests go to DreamTo’s OpenAI Chat Completions endpoint.

Prerequisites

  • Cursor is installed and you’re signed in. Support for your own keys and custom models depends on your Cursor plan and version; refer to Cursor’s current documentation.
  • You have created an API Key on the API Keys page of the DreamTo console.
  • You have a Chat Completions model ID, such as deepseek-v4.1-flash-1017 or gpt-6.2-sol. See OpenAI Chat Completions.

Setup

1

Open model settings

Open Cursor Settings → Models.
2

Add a custom model

In the model list, click Add model (or + Add Custom Model) and enter a DreamTo model ID, such as deepseek-v4.1-flash-1017. The model ID must match the Model Marketplace exactly.We also recommend turning off other models you’re not using, so Cursor doesn’t route requests to them.
3

Enter the API Key and Base URL

In the API Keys section:Then click Verify / Save. Cursor appends /chat/completions to the Base URL.
4

Pick the model in chat

Open Chat (Ctrl/Cmd + L), select the model you just added in the model picker, and send a message to test.

Notes

  • Chat features only: Tab completion and similar features always use Cursor’s own models and don’t use your key.
  • Requests are relayed by Cursor’s servers: Cursor calls your Base URL from its backend, so the address must be the publicly reachable https://api.dreamto.ai/v1, not a local proxy address.
  • OpenAI Chat Completions format only: with Override OpenAI Base URL, Cursor sends requests in OpenAI format. The native Gemini protocol and the Responses protocol are not used.
  • Tool-calling compatibility varies by model: Agent mode relies on tool calling, and some models may behave differently in third-party mode. If calls fail, try another model in the same family.
  • Once the Base URL is overridden, Cursor’s built-in OpenAI models are also sent to that address. Turn the switch off when you’re not using it.
Cursor changes quickly, and setting names and locations may move. If your version has no Override OpenAI Base URL, it doesn’t support a custom OpenAI address and can’t be connected this way for now.

FAQ

Make sure the key was copied in full. If you just changed the address, turn off the Override switch, paste the Base URL and key again, then turn it back on.
  • The Base URL must include /v1: https://api.dreamto.ai/v1.
  • The custom model name is the model field in the request and must match the DreamTo model ID exactly.
Check that Override OpenAI Base URL is turned on and saved. Also turn off other models and confirm the model selected in the chat panel is the one you added.