Skip to content

Cursor

Cursor’s BYOK is OpenAI-compatible only. It verifies the endpoint by calling GET /v1/models and expecting a 200 — which OpenGateway returns for any valid-looking key.

  1. Settings → Models → API Keys → Override OpenAI Base URL:

    Base URL: https://api.opengateway.one/oss/v1
    API key: YOUR_KEY
  2. Cursor calls GET /v1/models to verify. OpenGateway returns the OpenAI list shape with 200, so verification passes.

  3. Add a model with + Add Custom Model, e.g. claude-turbo-hub-qwen3-coder.

See Model discovery for why the 200 requirement matters and how the dual-shape endpoint satisfies it.