Skip to content

Cline

VS Code users who want a coding agent connected to a GlideflowAI model.

  • VS Code with Cline installed
  • A GlideflowAI API key

Create a key in the GlideflowAI dashboard.

Use https://api.glideflowai.com/v1.

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

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

Ask Cline to create a one-line text file, or test the 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}'
  • An empty visible response can mean the reasoning model used a very small output budget for thinking. Use 512 or more output tokens where the tool exposes that setting.
  • HTTP 503 with 无可用渠道 means the model ID is wrong or unavailable for the key.