← models

Baidu Qianfan

ERNIE 5.0 and third-party models — Baidu's enterprise AI platform

Website·Docs·Pricing·Sign Up

API Configuration

API Typeopenai-completions
Base URLhttps://qianfan.baidubce.com/v2
Auth Modeapi_key
Auth Keys
QIANFAN_API_KEYAPI Key — obtain from https://cloud.baidu.com/
Regionscn
Default Modeldeepseek-v3.2
Statusactive

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)

ModelContextMax OutputPricingFeatures
DeepSeek V3.2 (via Qianfan)
deepseek-v3.2
DeepSeek V3.2 hosted on Baidu Qianfan with 98K context
98K33KTiered (CNY): Input Y2/M (<=32K) / Y4/M (<=128K), output Y3/M (<=32K) / Y6/M (<=128K).

Last verified: 2026-03-19