国产大模型接口示例
以下是一些国产大模型接口的 HTTP 调用方式的请求地址及其相关信息,可能会有变动,大家去官网查看即可:
大模型名称 | HTTP 请求地址 | API Key 获取地址 | model 类型示例 |
---|---|---|---|
DeepSeek | https://api.deepseek.com/chat/completions |
DeepSeek 平台获取 API Key | deepseek-chat 等DeepSeek 系列模型 模型列表 |
智谱清言 | https://open.bigmodel.cn/api/paas/v4/chat/completions |
智谱清言 API Keys 管理地址 | GLM-4-Flash 等GLM 系列模型 模型列表 |
月之暗面 Kimi Chat | https://api.moonshot.cn/v1/chat/completions |
获取地址 | moonshot-v1-8k 等 模型列表 |
硅基流动 SiliconFlow | https://api.siliconflow.cn/v1/chat/completions |
获取地址 | Qwen/Qwen2-7B-Instruct 、glm-4-9b-chat 、Qwen/QwQ-32B 等,广场首页模型列表的标题就是模型类型 |
百川大模型 | https://api.baichuan-ai.com/v1/chat/completions |
获取地址 | Baichuan-7B 等 模型列表 |
通义千问 | https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions |
获取地址 | qwen-max 等 模型列表 |
百度千帆 | https://qianfan.baidubce.com/v2/chat/completions |
获取地址 | ernie-x1-turbo-32k 、ernie-4.5-turbo-vl-32k 、ernie-4.5-8k-preview 等 模型列表 |
MiniMax | https://api.minimax.chat/v1/text/chatcompletion_v2 |
获取地址 | MiniMax-Text-01 等 模型列表 |
请注意,具体的接口地址和参数格式可能因不同模型和版本而有所差异,建议在实际调用前查阅详细的 API 文档。 #AI
http://thinking.dcsnet.cn/post/TmRBqiZa