分类
devops

Openai-compatible base-url provided by cloud

各家服务商都提供自身SDK和兼容openai的地址,其中值得注意的是并不是所有模型都可以兼容openai,具体看文档.

云服务商 兼容openai地址base_url 服务商SDK
阿里百炼 https://dashscope.aliyuncs.com/compatible-mode/v1 dashscope
deepseek https://api.deepseek.com/v1 或者 https://api.deepseek.com
火山方舟 https://ark.cn-beijing.volces.com/api/v3 volcengine-python-sdk[ark]
腾讯混元 https://api.hunyuan.cloud.tencent.com/v1
ollama http://your-ip-address:11434
Z智谱 https://open.bigmodel.cn/api/paas/v4/ zai-sdk

OpenAPI spec –> https://github.com/openai/openai-openapi

国内面向用户的聊天

  • https://chat.z.ai/
  • https://chat.qwen.ai/
  • https://www.doubao.com/chat/
  • https://yuanbao.tencent.com/
  • https://chat.deepseek.com/
npm install -g @google/gemini-cli --verbose
npm install -g @qwen-code/qwen-code@latest --verbose
npm install -g @anthropic-ai/claude-code --verbose
npm install -g @openai/codex --verbose
npm install -g @augmentcode/auggie --verbose



# Install cursor
curl https://cursor.com/install -fsS | bash
# Run interactive session
cursor-agent

编程伙伴

厂商 产品 地址
腾讯 CodeBuddy https://copilot.tencent.com/
阿里 https://qoder.com/
百度 文心 https://comate.baidu.com/zh/
Cursor https://cursor.com/cn
Trae https://www.trae.cn/