Baidu Qianfan
ERNIE 5.0 and third-party models — Baidu's enterprise AI platform
API Configuration
| API Type | openai-completions |
| Base URL | https://qianfan.baidubce.com/v2 |
| Auth Mode | api_key |
| Auth Keys | QIANFAN_API_KEY — API Key — obtain from https://cloud.baidu.com/ |
| Regions | cn |
| Default Model | deepseek-v3.2 |
| Status | active |
Pricing
Pay-as-you-go per token (CNY). See Baidu Cloud WENXINWORKSHOP docs for per-model rates.
Getting Started
Sign up at cloud.baidu.com, activate Qianfan service, then create an API key or bearer token.
Models (1)
| Model | Context | Max Output | Pricing | Features |
|---|---|---|---|---|
DeepSeek V3.2 (via Qianfan)deepseek-v3.2 | 98K | 33K | Tiered (CNY): Input Y2/M (<=32K) / Y4/M (<=128K), output Y3/M (<=32K) / Y6/M (<=128K). |