# Crazyrouter Docs > Crazyrouter is a unified AI model API gateway for OpenAI-compatible, Claude, Gemini, image, video, audio, embeddings, rerank, and AI tool integrations. ## How To Use This File Use this file as the first AI-readable entry point for Crazyrouter docs: ```text Read https://docs.crazyrouter.com/llms.txt first. Use https://crazyrouter.com/pricing as the source of truth for public models, prices, and billing modes. Use GET https://api.crazyrouter.com/v1/models with Authorization: Bearer YOUR_API_KEY to confirm which models a token can actually call. For East Asia, prefer https://cn.crazyrouter.com; OpenAI-compatible SDKs use https://cn.crazyrouter.com/v1. Do not invent model names, prices, billing modes, or routes from memory. Generate code only after matching the model to a verified Crazyrouter docs page and route. ``` Authoritative runtime sources: - [Pricing page](https://crazyrouter.com/pricing): current public model catalog and user-facing prices. - `GET https://api.crazyrouter.com/v1/models`: token-level available models. Requires `Authorization: Bearer YOUR_API_KEY`. - [How to use llms.txt](https://docs.crazyrouter.com/en/llms-guide.md): instructions for users and AI tools. Endpoint alignment: - OpenAI-compatible SDKs use `base_url="https://api.crazyrouter.com/v1"`. - Raw HTTP calls use the full endpoint, for example `https://api.crazyrouter.com/v1/chat/completions`. - Anthropic-native clients use root domain `https://api.crazyrouter.com`; do not append `/v1` manually. - In East Asia, prefer `https://cn.crazyrouter.com`; OpenAI-compatible SDKs use `base_url="https://cn.crazyrouter.com/v1"` and Anthropic-native clients use root domain `https://cn.crazyrouter.com`. - `openai` maps to `POST /v1/chat/completions`. - `openai-response` maps to `POST /v1/responses`. - `anthropic` maps to `POST /v1/messages`. - `gemini` maps to `POST /v1beta/models/{model}:generateContent`. - `image-generation` maps to `POST /v1/images/generations` or `POST /v1/images/edits`. - `openai-video` maps to `POST /v1/video/generations` or `POST /v1/videos`. - `unified-video` maps to `POST /v1/video/create` and `GET /v1/video/query`. Maintainers: keep examples aligned with `router/relay-router.go`, `router/video-router.go`, `controller/pricing.go`, `controller/model.go`, and `common/endpoint_type.go` in the local repository. Do not hardcode a full model list here. ## Start Here - [How to use llms.txt](https://docs.crazyrouter.com/en/llms-guide.md): Give this URL to AI tools and keep model/endpoint answers aligned with pricing. - [Quick Start](https://docs.crazyrouter.com/quickstart.md): Make the first OpenAI-compatible request. - [API Endpoints](https://docs.crazyrouter.com/api-endpoint.md): Choose the correct base URL and avoid duplicated paths. - [Authentication](https://docs.crazyrouter.com/authentication.md): Create and use API keys. - [Error Handling](https://docs.crazyrouter.com/error-handling.md): Understand common HTTP errors and troubleshooting steps. - [AI Tool Docs Entry](https://docs.crazyrouter.com/ai-tools.md): Stable entry points for AI tools reading these docs. ## AI Coding Tools - [Claude Code](https://docs.crazyrouter.com/integrations/claude-code.md): Connect Claude Code through the Anthropic Messages API. - [Codex CLI](https://docs.crazyrouter.com/integrations/codex.md): Connect Codex CLI through the OpenAI Responses API. - [Cursor](https://docs.crazyrouter.com/integrations/cursor.md): Configure Crazyrouter in Cursor. - [Cline](https://docs.crazyrouter.com/integrations/cline.md): Configure Crazyrouter in Cline. - [Cherry Studio](https://docs.crazyrouter.com/integrations/cherry-studio.md): Configure Crazyrouter in Cherry Studio. - [OpenClaw Deploy](https://docs.crazyrouter.com/openclaw-deploy.md): Deploy OpenClaw with Crazyrouter. - [OpenClaw Hermes](https://docs.crazyrouter.com/openclaw-hermes.md): Use OpenClaw Hermes with Crazyrouter. ## Core APIs - [OpenAI Chat Completions](https://docs.crazyrouter.com/chat/openai/completions.md): POST /v1/chat/completions. - [OpenAI Responses](https://docs.crazyrouter.com/chat/responses/create.md): POST /v1/responses. - [Claude Messages](https://docs.crazyrouter.com/chat/anthropic/messages.md): Anthropic-native messages. - [Gemini Native](https://docs.crazyrouter.com/chat/gemini/native.md): Gemini generateContent and streamGenerateContent. - [List Models](https://docs.crazyrouter.com/chat/openai/models.md): GET /v1/models. ## Image, Video, Audio - [GPT Image](https://docs.crazyrouter.com/images/gpt-image.md): OpenAI-compatible image generation and editing. - [Qwen Image](https://docs.crazyrouter.com/images/qwen.md): Qwen image generation through the Images API. - [Midjourney Overview](https://docs.crazyrouter.com/images/midjourney/overview.md): Midjourney task model and workflow. - [Unified Video API](https://docs.crazyrouter.com/video/unified.md): Common video request model. - [Kling](https://docs.crazyrouter.com/video/kling/video.md): Kling video generation. - [Veo](https://docs.crazyrouter.com/video/veo.md): Google Veo video generation. - [Seedance](https://docs.crazyrouter.com/video/seedance.md): Seedance video generation. - [Text-to-Speech](https://docs.crazyrouter.com/audio/tts.md): POST /v1/audio/speech. - [Speech-to-Text](https://docs.crazyrouter.com/audio/stt.md): POST /v1/audio/transcriptions. ## Model And Pricing Alignment - Never treat this file as the complete model catalog. - For public model names and pricing, use `https://crazyrouter.com/pricing`. - For the current user's callable models, use `GET https://api.crazyrouter.com/v1/models` with that user's API key. - Use the public model name from the Pricing page or the model-specific docs as the API `model` value. - Prefer the route documented on the model-specific page when selecting an endpoint. - If a model is missing from pricing or `/v1/models`, say that availability needs confirmation instead of guessing. ## Full Context - [Full documentation context](https://docs.crazyrouter.com/llms-full.txt): Use this when an AI tool needs all docs in one file. - [Sitemap](https://docs.crazyrouter.com/sitemap.xml): Standard sitemap for crawlers and custom indexing.