Updated:

Endpoints

Cubence provides the API routes below. Choose an endpoint for your region and network, then configure your client's Base URL for the protocol it uses.


Available Routes

RouteAPI Endpoint
Mainland China — load balancing optimized for the three major networkshttps://api-lb.cubence.ai
Globalhttps://api.cubence.ai
Outside Mainland Chinahttps://api.cubence.com

Base URL Configuration

The examples below use the Mainland China route. To use another route, replace the host and keep any /v1 suffix or request path required by your client.

ProtocolBASE_URLClients
Anthropic / Geminihttps://api-lb.cubence.aiClaude Code, Gemini CLI
OpenAI-compatiblehttps://api-lb.cubence.ai/v1Codex, Grok Build, Cherry Studio

See the setup guide for your client for configuration examples. API request paths, such as /v1/images/generations, stay the same.


Configuration Tips

  1. Update existing configurations: Replace the old API host with your chosen endpoint from the table above, keeping any /v1 suffix or request path required by your client.
  2. Check the protocol: Claude Code and Gemini CLI use the root URL. Codex and other OpenAI-compatible clients require /v1 in the Base URL.
  3. When using a proxy: Add your chosen endpoint's hostname to your proxy whitelist, or disable the proxy for a direct connection.