跳到內容

提供商相容性

提供商類型認證串流工具使用模型 Slot備註
AnthropicDirectAnthropicAPI Key原生,無需翻譯
MiniMaxDirectAnthropicAPI KeyAnthropic 相容代理
Google Vertex AIDirectAnthropicAccess Tokengcloud auth print-access-token
OpenRouterOpenAICompatibleAPI Key透過單一 API 存取 200+ 模型
Grok (xAI)OpenAICompatibleAPI Key
OpenAIOpenAICompatibleAPI Key
DeepSeekOpenAICompatibleAPI Key
Kimi / MoonshotOpenAICompatibleAPI Key / OAuth
GLM (Zhipu)OpenAICompatibleAPI Key
GroqOpenAICompatibleAPI Key超快速推論
Mistral AIOpenAICompatibleAPI Key
Together AIOpenAICompatibleAPI Key
PerplexityOpenAICompatibleAPI Key有限內建網路搜尋
CerebrasOpenAICompatibleAPI Key快速推論
Azure OpenAIOpenAICompatibleAPI Keyapi-key 標頭 + query_params
GitHub CopilotOpenAICompatibleOAuthDevice Code 流程
GitLab DuoOpenAICompatibleOAuth (PAT)GITLAB_TOKEN 環境變數
ChatGPT/CodexOpenAIResponsesOAuthResponses API
Claude(訂閱)DirectAnthropicOAuth跳過代理
Google Gemini(訂閱)OpenAICompatibleOAuthGemini CLI 憑證
Qwen(訂閱)OpenAICompatibleOAuthDevice Code 流程
OllamaOpenAICompatible視模型而定本地,無需 API 金鑰
vLLMOpenAICompatible視模型而定本地
LM StudioOpenAICompatible視模型而定本地
Bedrock(LiteLLM)OpenAICompatibleAPI Key透過 LiteLLM 代理
  • Base URLhttps://api.anthropic.com
  • 類型:DirectAnthropic(無需翻譯)
  • 認證:API Key(sk-ant-*
  • 模型:claude-opus-4、claude-sonnet-4、claude-haiku-4
  • 取得 API Keyconsole.anthropic.com
  • Base URLhttps://api.minimax.io/anthropic
  • 類型:DirectAnthropic(無需翻譯)
  • 認證:API Key
  • 模型:使用 Anthropic 模型名稱(代理轉發)
  • 取得 API Keyplatform.minimaxi.com
  • Base URLhttps://REGION-aiplatform.googleapis.com/v1/projects/PROJECT/locations/REGION/publishers/anthropic/models
  • 類型:DirectAnthropic
  • 認證:GCP Access Token(gcloud auth print-access-token
  • 模型:claude-sonnet-4@20250514、claude-opus-4@20250514
  • 設定Vertex AI Console
  • Base URLhttps://openrouter.ai/api/v1
  • 類型:OpenAICompatible
  • 認證:API Key(sk-or-*
  • 模型:來自多個提供商的 200+ 模型
  • 取得 API Keyopenrouter.ai/keys
  • Base URLhttps://api.x.ai/v1
  • 類型:OpenAICompatible
  • 認證:API Key(xai-*
  • 模型:grok-3-beta、grok-3-mini-beta
  • 取得 API Keyconsole.x.ai
  • Base URLhttps://api.openai.com/v1
  • 類型:OpenAICompatible
  • 認證:API Key(sk-*
  • 模型:gpt-4o、gpt-4o-mini、o1、o1-mini
  • 取得 API Keyplatform.openai.com/api-keys
  • Base URLhttps://api.deepseek.com
  • 類型:OpenAICompatible
  • 認證:API Key
  • 模型:deepseek-chat、deepseek-reasoner
  • 取得 API Keyplatform.deepseek.com
  • Base URLhttps://api.moonshot.ai/v1
  • 類型:OpenAICompatible
  • 認證:API Key / OAuth
  • 模型:kimi-k2-0905-preview、moonshot-v1-128k
  • 取得 API Keyplatform.moonshot.cn
  • Base URLhttps://api.z.ai/api/paas/v4
  • 類型:OpenAICompatible
  • 認證:API Key
  • 模型:glm-4.6、glm-4-plus
  • 取得 API Keyopen.bigmodel.cn
  • Base URLhttps://api.groq.com/openai/v1
  • 類型:OpenAICompatible
  • 認證:API Key(gsk_*
  • 模型:llama-3.3-70b-versatile、mixtral-8x7b-32768、gemma2-9b-it
  • 取得 API Keyconsole.groq.com
  • 備註:開源模型的極快速推論
  • Base URLhttps://api.mistral.ai/v1
  • 類型:OpenAICompatible
  • 認證:API Key
  • 模型:mistral-large-latest、mistral-small-latest
  • 取得 API Keyconsole.mistral.ai
  • Base URLhttps://api.together.xyz/v1
  • 類型:OpenAICompatible
  • 認證:API Key
  • 模型:meta-llama/Llama-3.3-70B-Instruct-Turbo 等多種開源模型
  • 取得 API Keyapi.together.ai
  • Base URLhttps://api.perplexity.ai
  • 類型:OpenAICompatible
  • 認證:API Key(pplx-*
  • 模型:sonar-pro、sonar
  • 取得 API Keyperplexity.ai/settings/api
  • 備註:模型具有內建網路搜尋功能
  • Base URLhttps://api.cerebras.ai/v1
  • 類型:OpenAICompatible
  • 認證:API Key
  • 模型:llama-3.3-70b
  • 取得 API Keycloud.cerebras.ai
  • 備註:快速推論平台
  • Base URLhttps://YOUR_RESOURCE.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT
  • 類型:OpenAICompatible
  • 認證:API Key(透過 api-key 標頭,自動偵測)
  • 模型:取決於部署(gpt-4o、gpt-4 等)
  • 設定Azure Portal
  • 備註query_params 中必須包含 api-version
  • Base URLhttps://api.githubcopilot.com
  • 類型:OpenAICompatible
  • 認證:OAuth(Device Code 流程)
  • 模型:gpt-4o(預設)
  • 備註:需要有效的 GitHub Copilot 訂閱
  • Base URLhttps://gitlab.com/api/v4/ai/llm/proxy(或自行管理的實例)
  • 類型:OpenAICompatible
  • 認證:OAuth(透過 GITLAB_TOKEN 的 Personal Access Token)
  • 模型:claude-sonnet-4-20250514
  • 備註:支援 --enterprise-url 用於自行管理的實例
  • Base URLhttps://chatgpt.com/backend-api/codex
  • 類型:OpenAIResponses
  • 認證:OAuth(瀏覽器 PKCE / Device Code)
  • 模型:gpt-5.3-codex、gpt-5.1-codex、codex-mini-latest
  • 備註:使用 Responses API,非 Chat Completions。strip_params = "auto" 會移除不支援的參數。
  • Base URLhttps://api.claude.ai
  • 類型:DirectAnthropic
  • 認證:OAuth(讀取 ~/.claude/.credentials.json
  • 模型:claude-sonnet-4、claude-opus-4、claude-haiku-4
  • 備註:跳過代理。Claude Code 直接使用自身的 OAuth。
  • Base URLhttps://generativelanguage.googleapis.com/v1beta/openai
  • 類型:OpenAICompatible
  • 認證:OAuth(Gemini CLI 憑證)
  • 模型:gemini-2.5-pro、gemini-2.0-flash
  • Base URLhttps://chat.qwen.ai/api
  • 類型:OpenAICompatible
  • 認證:OAuth(Device Code 流程)
  • 模型:qwen3-235b-a22b、qwen-max
  • Base URLhttp://localhost:11434/v1
  • 類型:OpenAICompatible
  • 認證:無需
  • 模型:任何已拉取的模型(qwen2.5、llama3.3 等)
  • 設定ollama.com
  • Base URLhttp://localhost:8000/v1
  • 類型:OpenAICompatible
  • 認證:無需
  • 模型:取決於啟動時載入的模型
  • Base URLhttp://localhost:1234/v1
  • 類型:OpenAICompatible
  • 認證:無需 / "lm-studio"
  • 模型:取決於載入的模型
  • 設定lmstudio.ai
  • Base URLhttp://localhost:4000/v1(LiteLLM 代理)
  • 類型:OpenAICompatible
  • 認證:API Key(LiteLLM key)
  • 模型:bedrock/anthropic.claude-sonnet-4-20250514-v2:0
  • 設定docs.litellm.ai/docs/providers/bedrock