Skip to main content
Last updated: 2026-07-20

API Base URL

https://api.crazyrouter.com is now the default international API access entry. Account login, billing, and the dashboard still use:
Account and management endpoints must use the primary domain https://crazyrouter.com, including /api/user/self, /api/token/*, and /api/log/*. Do not send these paths to https://api.crazyrouter.com or https://cn.crazyrouter.com; those domains are reserved for model and media APIs and return 404 api_only_endpoint for management routes. Model inference endpoints such as /v1/chat/completions, /v1/messages, and /v1/models should continue to use the API-specific domains.
For East Asia, prefer this API access address:
Before configuring an SDK, IDE, agent, or third-party client, use this page as the canonical reference for whether that tool should point to the root domain or the /v1 path. Use the international API entry https://api.crazyrouter.com by default for API access. Users in East Asia should prefer https://cn.crazyrouter.com. These addresses are for API requests only; account login, billing, dashboard, and pricing pages remain on https://crazyrouter.com.

Which Base URL To Use

If logs show /v1/v1/models, /v1/v1/messages, or /v1/messages/v1/messages, the client is duplicating API paths. For Claude Code / Anthropic-native clients, reset the base URL to the root domain. For OpenAI-compatible clients, keep only the /v1 base URL.

Main Endpoints

Chat API

Gemini Native Format

Image API

Video API

Audio API

Other APIs

All endpoints support HTTPS. The default international API entry is https://api.crazyrouter.com; users in East Asia should prefer https://cn.crazyrouter.com; account login, billing, and the dashboard still use https://crazyrouter.com.