Endpoints

The addresses you need to remember

For normal use, remember the primary site: https://api.sunai.lol

Endpoint overview

Address table

PurposeAddressHow to use it
Consolehttps://api.sunai.lolRegistration, wallet, tokens, and model catalog
OpenAI-compatible APIhttps://api.sunai.lol/v1Base URL for Cursor, Codex, and SDKs
Backup APIhttps://api2.sunai.lolTry this endpoint if the primary site is unavailable
Status pagehttps://status.sunai.lolCheck whether a route or provider is healthy

Authentication

Authorization: Bearer sk-your-token

What to enter in each client

Client typeValue
Cursor, Codex, or OpenAI SDKBase URL = https://api.sunai.lol/v1
Claude CodeBase 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.

On this page