Endpoints
The addresses you need to remember
For normal use, remember the primary site: https://api.sunai.lol

Address table
| Purpose | Address | How to use it |
|---|---|---|
| Console | https://api.sunai.lol | Registration, wallet, tokens, and model catalog |
| OpenAI-compatible API | https://api.sunai.lol/v1 | Base URL for Cursor, Codex, and SDKs |
| Backup API | https://api2.sunai.lol | Try this endpoint if the primary site is unavailable |
| Status page | https://status.sunai.lol | Check whether a route or provider is healthy |
Authentication
Authorization: Bearer sk-your-tokenWhat to enter in each client
| Client type | Value |
|---|---|
| Cursor, Codex, or OpenAI SDK | Base URL = https://api.sunai.lol/v1 |
| Claude Code | Base URL = https://api.sunai.lol; follow the client guide for any additional path |
Leaving out /v1 is one of the most common configuration errors in OpenAI-compatible clients.
See API Reference for protocol details.
Async image + MCP: Async Image, MCP Image.