Client Setup

Cursor

Connect Cursor to the OpenAI-compatible endpoint

Before you start

  1. Create a token in the console
  2. Select a group that contains the model you want to call (see Billing and groups)

Configuration

Cursor configuration

Open Models / OpenAI Compatible in Cursor settings. The exact menu name can vary by version.

FieldValue
Base URLhttps://api.sunai.lol/v1
API keyYour token
ModelThe exact name shown in the model catalog

Recommendations

  1. Copy the model name from the model catalog instead of typing it by hand
  2. When changing models, confirm that the current token group still includes it
  3. Start a new chat after saving the settings

Troubleshooting

SymptomAction
Connection error or 404Confirm that /v1 is present
Model not foundChoose the matching group and exact model name
401Copy the token again

See the FAQ.

On this page