Skip to content
向量潮汐 / Vectide

VECTIDE · Practical documentation

Make your first OpenAI-compatible request

Use a small text request to check the endpoint, authentication and model entitlement.

Updated 14 October 2026 · Maintained by Vectide

Use https://vectide.cn/v1 as the SDK base URL. The full HTTP endpoint for Chat Completions is https://vectide.cn/v1/chat/completions.

Prepare three settings

SettingValuePurpose
Base URLhttps://vectide.cn/v1For SDKs and clients supporting a custom endpoint
API KeyVECTIDE_API_KEYCreate it in the dashboard; store it in an environment variable or credential store
Model IDglm-5.3This example uses GLM-5.3; the account must have access

These are examples for you to run with your own credentials and allowance. Keep keys out of public repositories, browser frontend code and screenshots.

macOS / Linux: curl example

Set VECTIDE_API_KEY in the current terminal. This example starts without streaming so the status and response body are easier to inspect.

curl https://vectide.cn/v1/chat/completions \
  -H "Authorization: Bearer $VECTIDE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-5.3","messages":[{"role":"user","content":"Reply with a short greeting."}],"stream":false}'

Windows PowerShell

After setting the environment variable in your current session, send the request below. Choose an exact model ID your account can access.

$body = @{
  model = "glm-5.3"
  messages = @(@{ role = "user"; content = "Reply with a short greeting." })
  stream = $false
} | ConvertTo-Json -Depth 5
Invoke-RestMethod -Method Post `
  -Uri "https://vectide.cn/v1/chat/completions" `
  -Headers @{ Authorization = "Bearer $env:VECTIDE_API_KEY" } `
  -ContentType "application/json; charset=utf-8" `
  -Body ([System.Text.Encoding]::UTF8.GetBytes($body))

Check that the request completed

Look for message content in choices and reconcile the request in the dashboard. HTTP 200 alone does not prove that a streamed response completed; inspect termination, error events and disconnects when enabling streaming.

Follow the troubleshooting guide if it fails

References and service information: CodingPlan plans TokenPlan Full guide

Continue with