⚙️ OpenAI 兼容 API 设置助手

Base URL 配置生成器

为 Python、Node.js、curl、Cursor、LiteLLM、FastGPT、Codex 风格工具,以及 Crazyrouter 全球或区域端点生成清晰的 Base URL 配置片段。

免费OpenAI-compatibleSDK 设置

生成配置

Base URL: https://crazyrouter.com/v1
阅读设置指南

代码片段


  

这个工具可避免的常见错误

缺少 /v1

OpenAI-compatible SDKs usually need the Base URL to include /v1. Use https://crazyrouter.com/v1, not just the domain.

API Key 错误

If you use the Crazyrouter Base URL, use a Crazyrouter API key from your dashboard, not a provider-native key.

区域端点不匹配

If global access is unstable, switch only the Base URL to https://cn.crazyrouter.com/v1. Keep the same API key and model name.

有用链接

价格计算器

估算 Token 成本