GUIDE · CURSOR
Use Cursor with 88Z.ai
Cursor can send Chat and Agent requests to an OpenAI-compatible gateway. Paste your 88Z API key, enable Override OpenAI Base URL, set it to https://api.88z.ai/v1, then add the full model IDs from this site. Menu names can vary slightly by Cursor version; these three values do not.
Create an API key and top up
Create a key under Workspace → API keys, optionally set a point cap, and top up. The secret is shown once.
Test the key with curl
Before opening Cursor, confirm the key, balance and model ID with curl.
curl https://api.88z.ai/v1/chat/completions \ -H "Authorization: Bearer YOUR_88Z_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"openai/gpt-6.2-sol","messages":[{"role":"user","content":"ping"}],"max_completion_tokens":32}'Set the OpenAI key and Base URL in Cursor
Open Cursor Settings and go to Models (in some versions: Cursor Settings → Models, or search for “OpenAI API Key”):
Setting Value OpenAI API Key The key created on this site Override OpenAI Base URL Turn it on Base URL https://api.88z.ai/v1This override applies to OpenAI-format Chat / Agent requests. It does not change Tab completion or Cursor’s own backend models.
Add model IDs and send a test prompt
Use Add model to enter the exact catalogue IDs, for example:
Model ID Input / 1M tokens Output / 1M tokens anthropic/claude-sonnet-5.5¥17.2 ¥86 anthropic/claude-haiku-5.5¥0.86 ¥4.3 openai/gpt-6.2-sol¥17.2 ¥86 google/gemini-4-carbon¥17.2 ¥86 google/gemini-3.8-flash¥7.095 ¥35.48 deepseek/deepseek-v4.1-flash¥0.436 ¥1.7441 Pick one of the models you added and send a short prompt. A normal reply means you are done. Full catalogue: model catalogue。
Common errors
| Error | Cause | Fix |
|---|---|---|
401 invalid_api_key | The key is wrong, deleted, or has extra spaces | Copy the key again from the workspace; check for stray spaces or line breaks. |
402 insufficient_points | Balance is too low to reserve this request | Top up and retry, or use a cheaper model or a lower max output. |
402 key_quota_exceeded | This API key has reached the point cap you set | Raise that key’s point cap in the workspace, or use another key. |
400 unsupported_model | The model name is not callable here | Use an ID from /v1/models or the catalogue, e.g. anthropic/claude-sonnet-5.5. |
400 invalid_output_limit | Max output is above the per-request cap | Set max output to 32,768 or less. |
413 input_too_large | The request text is above the cap | Trim context or start a new conversation (cap: 512 KiB, 128 messages). |
429 upstream_rate_limited | The model service is rate-limiting | Wait for Retry-After, or switch model for now. |
400 unsupported_model | A short official name such as gpt-4o was used | Use a full ID from this site’s catalogue, e.g. openai/gpt-6.2-sol. |