Qianfan Provider Guide
Qianfan is Baidu’s MaaS platform, provides a unified API that routes requests to many models behind a single endpoint and API key. It is OpenAI-compatible, so most OpenAI SDKs work by switching the base URL.Prerequisites
- A Baidu Cloud account with Qianfan API access
- An API key from the Qianfan console
- Fased installed on your system
Getting Your API Key
- Visit the Qianfan Console
- Create a new application or select an existing one
- Generate an API key (format:
bce-v3/ALTAK-...) - Copy the API key for use with Fased
CLI setup
- Onboarding:
Qianfan->Qianfan API key - CLI:
fased onboard --auth-choice qianfan-api-key - UI: Agent > Models ->
Qianfan->Qianfan API key
qianfan/ernie-5.1default flagshipqianfan/ernie-5.0qianfan/ernie-5.0-thinking-latestqianfan/ernie-5.0-thinking-previewqianfan/ernie-x1.1qianfan/ernie-x1-turbo-32kqianfan/deepseek-v4-proqianfan/deepseek-v4-flashqianfan/deepseek-v3.2