
百川智能 API(Baichuan)
百川智能 API(Baichuan)
百川智能是王小川创立的中国大模型公司,提供 Baichuan 系列 LLM API;以中文长上下文与开源版本知名。
适合什么时候用
中文 benchmark 长期位居国产第一梯队
先注意什么
海外影响力 / 生态弱于 Qwen
第一步先查
platform.baichuan-ai.com 注册 → 控制台创建 API-Key → POST /v1/chat/completions(OpenAI 兼容格式)。
认证
api_key
CORS
?
HTTPS
是
注册
?
协议
REST
计费
paid
可用率 · 30 天窗口
日常巡检数据收集后将在此处显示。
01
关于这个 API
百川智能由搜狗前 CEO 王小川于 2023 年创立,是中国大模型「六小虎」之一。公司发布 Baichuan、Baichuan2、Baichuan3、Baichuan4 等系列,其中 Baichuan2 系列(7B / 13B / 192K 长上下文)全面开源并允许商用,迅速成为中文开源 LLM 主力之一。商用 API 通过 platform.baichuan-ai.com 提供,接口 OpenAI 兼容。王小川公开战略侧重医疗 AI,旗下有医疗垂直模型 Baichuan-M 系列。在通用模型能力上对标 GPT-4 / Qwen-Max,中文场景尤其突出;海外 / 英文场景与生态完整度弱于阿里。
02
你可以做什么
- 1中文 LLM 应用(chatbot、内容生成、知识助手)
- 2长上下文 RAG(Baichuan2-192K 等)
- 3医疗 / 法律等垂直领域微调(开源版本基础上)
- 4本地化部署(开源版本可商用授权)
03
优劣对比
优点
- 中文 benchmark 长期位居国产第一梯队
- Baichuan2 开源版本 (7B/13B/192K) HuggingFace 下载量高
- 王小川医疗 AI 战略方向明确,医疗垂域有专项模型
注意事项
- 海外影响力 / 生态弱于 Qwen
- 部分最新闭源模型不出口(区域限制)
- 英文场景仍弱于 GPT-4
04
示例请求
通用模板 — 实际 endpoint 请查阅文档替换 <endpoint>。
curl https://platform.baichuan-ai.com/<endpoint> \
-H "Authorization: Bearer $API_KEY"
# Some providers use X-Api-Key instead — verify in the docs.05
快速开始
platform.baichuan-ai.com 注册 → 控制台创建 API-Key → POST /v1/chat/completions(OpenAI 兼容格式)。
06
常见问题
Baichuan2-192K 真的能用满 192K 上下文吗?+
理论支持 192K;实际长尾召回 (needle-in-haystack) 在公开评测中表现良好,但与 Claude 200K 仍有差距。
开源版本商用要给钱吗?+
Baichuan2 开源协议允许免费商用,需保留授权声明;具体条款见 GitHub LICENSE。
07
技术细节
CORS: ?HTTPS: Yes注册: ?开源: Yes
- 认证方式
- api_key
- 计费
- paid
- 速率限制
- 按模型默认 QPS;可申请提升
- 免费额度
- New accounts receive a starter credit balance on signup; consumed via pay-per-token billing thereafter.
- 协议
- REST
- SDK
- python, javascript