AI API 官方开放平台合集
最後更新於:2025-06-16 16:55:46
现在 AI 的使用范围越来越广,各家 AI 都有提供自己的免费聊天功能,但是如果要接入我们自己的生产工具,还是需要 API 接入,所以记录一下目前提供有 API 的官方平台地址。
国外平台
目前来说还是国外几家 AI 的能力更强,不过大部分都限制了中国IP的使用,在国内使用可能需要代理转发。
OpenAI ChatGPT:https://openai.com/api/
- ChatGPT官方API开放平台
- API URL:https://api.openai.com/v1
- 主要模型:GPT-4.1、GPT-4o、GPT-4、GPT-3.5-Turbo等
Google Gemini:https://ai.google.dev/
- Google AI官方API开放平台
- API URL:https://generativelanguage.googleapis.com/v1
- 主要模型:Gemini Pro、Gemini Flash等
Anthropic Claude:https://www.anthropic.com/api
- Claude官方API开放平台
- API URL:https://api.anthropic.com/v1
- 主要模型:Claude 3.5 Sonnet、Claude 3 Haiku等
Microsoft Azure OpenAI:https://azure.microsoft.com/en-us/products/ai-services/openai-service
- 微软Azure OpenAI服务
- API URL:https://.openai.azure.com/
- 主要模型:GPT-4、GPT-3.5等(Azure版本)
Meta Llama:https://www.llama.com/products/llama-api/
- Meta官方Llama API平台
- API URL:https://api.llama.com/v1
- 主要模型:Llama 4、Llama 3.3等
xAI Grok:https://x.ai/api
- xAI官方Grok API平台
- API URL:https://api.x.ai/v1
- 主要模型:Grok 3、Grok 2等
Mistral AI:https://mistral.ai/products/la-plateforme
- Mistral AI官方API平台
- API URL:https://api.mistral.ai/v1
- 主要模型:Mistral Large、Mistral Medium等
Cohere AI:https://cohere.com/
- Cohere官方API平台
- API URL:https://api.cohere.ai/v1
- 主要模型:Command R+、Command R等
Stability AI:https://platform.stability.ai/
- Stability AI官方开发者平台
- API URL:https://api.stability.ai/v1
- 主要模型:穩定擴散 3、SDXL等
Groq:https://groq.com/
- Groq官方云平台
- API URL:https://api.groq.com/openai/v1
- 主要模型:Llama、Mixtral等(超快推理)
Fireworks AI:https://fireworks.ai/
- Fireworks AI官方平台
- API URL:https://api.fireworks.ai/inference/v1
- 主要模型:各种开源LLM和图像模型
国内平台
大部分 API 兼容 openAI SDK 规范,可以自定义 API URL 就可以直接使用 API KEY
百度文心: https://cloud.baidu.com/product/wenxinworkshop
- 百度智能云千帆大模型平台,提供百度自研的文心(ERNIE)系列大模型API服务。
- API URL:https://qianfan.baidubce.com/v2/chat/completions
阿里巴巴通义千问: https://www.aliyun.com/product/tongyi
- 阿里云通义大模型平台,通过“百炼(Model Studio)”提供通义千问(Qwen)系列大模型API服务。
- API URL:https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions
腾讯混元: https://cloud.tencent.com/product/hunyuan
- 腾讯云混元大模型平台,提供腾讯自研的混元(Hunyuan)大模型API服务,支持自有标准和OpenAI兼容两种接口。
- API URL:https://api.hunyuan.cloud.tencent.com/v1/chat/completions
字节跳动豆包: https://www.volcengine.com/product/ark
- 豆包大模型开放平台,依托火山引擎向开发者和企业提供豆包系列大模型的API服务。
- API URL:https://ark.cn-beijing.volces.com/api/v3/chat/completions
智谱AI: https://open.bigmodel.cn/
- 邀請註冊:https://www.bigmodel.cn/invite?icode=V6pCBNqDW4RNKP0c3bzPGOZLO2QH3C0EBTSr%2BArzMw4%3D
- 智谱大模型开放平台,提供自研的GLM系列(如GLM-4)高性能大模型API服务。
- 提供免费模型:glm-4-flash、glm-4v-flash、cogview-3-flash、cogvideox-flash
- API URL:https://open.bigmodel.cn/api/paas/v4/chat/completions
月之暗面 (Moonshot AI): https://platform.moonshot.cn/
- Moonshot AI开放平台,提供以长上下文(Long Context)处理能力著称的Kimi大模型API服务。
- API URL:https://api.moonshot.cn/v1/chat/completions
百川智能: https://platform.baichuan-ai.com/
- 百川大模型开放平台,提供自研的Baichuan系列大模型API,支持搜索增强、工具调用等多种能力。
- API URL:https://api.baichuan-ai.com/v1/chat/completions
科大讯飞: https://xinghuo.xfyun.cn/sparkapi
- 讯飞开放平台,提供讯飞星火认知大模型API服务,支持WebSocket和HTTP等多种调用方式。
- API URL:https://spark-api-open.xf-yun.com/v2/chat/completions
零一万物: https://platform.lingyiwanwu.com/
- 零一万物开发者平台,提供自研的Yi系列高效能大模型API服务。
- API URL:https://api.lingyiwanwu.com/v1/chat/completions
DeepSeek (深度求索): https://platform.deepseek.com/
- DeepSeek官方API平台,提供自研的DeepSeek系列大模型,在代码和数学能力上表现突出。
- API URL:https://api.deepseek.com/v1/chat/completions