Skip to content

Cursor

Cursor users whose current version exposes a custom OpenAI-compatible base URL and model ID.

  • Cursor with custom OpenAI-compatible provider controls available
  • A GlideflowAI API key

Create a key in the GlideflowAI dashboard.

Use https://api.glideflowai.com/v1 only if your Cursor version exposes a custom base URL.

Start with glm-5.2. Copy the exact ID from /models.

Where supported, enter:

Provider : OpenAI Compatible
Base URL : https://api.glideflowai.com/v1
API Key : sk-your-key
Model ID : glm-5.2

Before debugging Cursor, verify the same key and model directly:

Terminal window
curl https://api.glideflowai.com/v1/chat/completions \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{"model":"glm-5.2","messages":[{"role":"user","content":"Say OK"}],"max_tokens":512}'
  • A missing custom base URL control means this guide does not apply to that Cursor version or plan.
  • Reasoning models need at least 512 output tokens for a useful first response.
  • HTTP 503 with 无可用渠道 means the model ID is wrong or unavailable for the key.

Cursor’s custom-provider controls vary by version and plan.