APIMODELSAPIMODELS

Integrations / Cursor

Cursor: Override the OpenAI Base URL — Settings → Models, Two Fields

Cursor lets you override the OpenAI base URL and key, so you can route its requests through APIMODELS — handy when official access is restricted or you want lower cost.

What the override actually does: every model request Cursor would send to api.openai.com goes to the base URL you set instead, authenticated with your APIMODELS key. Any model name available on our OpenAI-compatible endpoint works from the custom-models field — you are not limited to OpenAI models.

Override Base URL: https://api.apimodels.app/v1. Note: some Cursor features (Composer/agents) may require Cursor’s own backend.

Setup steps

  1. Create an API key in the APIMODELS Console.
  2. Cursor → Settings → Models → OpenAI API Key: paste your key.
  3. Enable "Override OpenAI Base URL" and set it to https://api.apimodels.app/v1.
  4. Add a model name (e.g. deepseek-v4-flash) and verify; then use it for chat / edits.

Cursor project: https://cursor.com