兼容 Anthropic Messages API(/v1/messages)的客户端;支持流式 SSE、tool_use / tool_result、thinking(extended reasoning)、vision。非 Claude 模型(GPT / Grok 等)由平台自动转换为 Anthropic 格式。
Claude Code(Anthropic 官方 CLI):export ANTHROPIC_BASE_URL=<Base URL> export ANTHROPIC_AUTH_TOKEN=<YOUR_KEY>(或 ANTHROPIC_API_KEY) — Base URL 填域名,不带 /v1
Anthropic 官方 SDK(Python/Node):Anthropic({ baseURL: <Base URL>, apiKey }) — baseURL 同上,不带 /v1
Cline / Roo-Code / Kilo Code:Provider 选 "Anthropic",API Provider = Anthropic,自定义 Base URL
Continue.dev:provider=anthropic,apiBase=Base URL
Cursor:Anthropic API Key 字段 + Override Base URL(需开启 Custom)
LangChain Anthropic / LiteLLM:anthropic_api_url / base_url 指向 Base URL
OpenCode / Crush / Goose 等 Anthropic-native Agent 框架
LobeChat / NextChat:Anthropic Provider 填 Base URL
💡 推荐对 Claude 系列模型优先使用本端点,上游原生支持 thinking 块和 cache tokens,保真度最高。