Skip to main content
Content updated: 2026-08-13

API Base URL

https://api.crazyrouter.com has already been enabled as the default international API access point. Account login, recharging, and the console still use:
Account and management interfaces must use the main 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; these domains are only for model and media APIs, and using them incorrectly will return 404 api_only_endpoint. Model inference endpoints (such as /v1/chat/completions, /v1/messages, /v1/models) still use the dedicated API domain.
East Asia region should preferentially use the following API access address:
If you are setting up a third-party client, SDK, IDE, or Agent, first confirm whether the tool should use the root domain or /v1:

View Access Address Instructions

Follow this section to confirm whether to use the root domain or /v1, then return to the specific tool’s documentation to configure it.
Default priority is the international API endpoint https://api.crazyrouter.com. Users in East Asia should prioritize https://cn.crazyrouter.com. These two addresses are for API requests only; web-based accounts, recharging, console, and pricing pages continue to use https://crazyrouter.com.

Addresses to Use for Different Clients

If you see /v1/v1/models, /v1/v1/messages, or /v1/messages/v1/messages in the logs, this means the client configuration is concatenating the API path redundantly. For Claude Code / Anthropic native clients, switch back to the root domain; for OpenAI compatible clients, only keep up to /v1.
For Claude’s native tool_use, Claude Code coding capabilities, and some IDE Agent tool invocation scenarios, Anthropic Messages route should be preferred, that is POST /v1/messages. The OpenAI-compatible /v1/chat/completions is better suited for simple conversations and basic compatibility access, but is not equivalent to Claude’s native Messages API. If Claude models are accessed via OpenAI-compatible endpoints with tool invocation, tools may not launch reliably.

Main Endpoints

Chat API

Gemini Native Format

Image API

Video API

Audio API

Other API

All endpoints support HTTPS. The default international API entry is https://api.crazyrouter.com; East Asia region should prioritize using https://cn.crazyrouter.com; account login, recharging, and the console still use https://crazyrouter.com.