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.

Reviewed 2026-11-26 · Do not set the Base URL to /v1/chat/completions; Cursor appends the path itself.

  1. 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.

  2. Test the key with curl

    Before opening Cursor, confirm the key, balance and model ID with curl.

    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}'
  3. 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”):

    SettingValue
    OpenAI API KeyThe key created on this site
    Override OpenAI Base URLTurn it on
    Base URLhttps://api.88z.ai/v1

    This override applies to OpenAI-format Chat / Agent requests. It does not change Tab completion or Cursor’s own backend models.

  4. Add model IDs and send a test prompt

    Use Add model to enter the exact catalogue IDs, for example:

    Model IDInput / 1M tokensOutput / 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

ErrorCauseFix
401 invalid_api_keyThe key is wrong, deleted, or has extra spacesCopy the key again from the workspace; check for stray spaces or line breaks.
402 insufficient_pointsBalance is too low to reserve this requestTop up and retry, or use a cheaper model or a lower max output.
402 key_quota_exceededThis API key has reached the point cap you setRaise that key’s point cap in the workspace, or use another key.
400 unsupported_modelThe model name is not callable hereUse an ID from /v1/models or the catalogue, e.g. anthropic/claude-sonnet-5.5.
400 invalid_output_limitMax output is above the per-request capSet max output to 32,768 or less.
413 input_too_largeThe request text is above the capTrim context or start a new conversation (cap: 512 KiB, 128 messages).
429 upstream_rate_limitedThe model service is rate-limitingWait for Retry-After, or switch model for now.
400 unsupported_modelA short official name such as gpt-4o was usedUse a full ID from this site’s catalogue, e.g. openai/gpt-6.2-sol.

Related