Baidu ERNIE models: APIs and prices
1 models·Filter in the catalogue
ERNIE models for reasoning, coding and agents. XiaoZhan AIhub offers 1 Baidu ERNIE models (Text generation). Call them with one API key through the OpenAI, Anthropic or Gemini SDK; prices are in credits (60 credits = ¥1) and every model page lists the full price.
Text generation1
- ERNIE 5.5 Flash Preview
ernie-5.5-flash-previewBaidu ERNIE 5.5 Flash Preview: the newest ERNIE base model (preview), 280B total and 14B active parameters per token, built for coding, agents, knowledge work and deep research. 1M context and up to 1M output. Reasoning cannot be turned off (thinking tokens bill as output); tool calling and JSON output, text-only input. Billed at Baidu's official peak / off-peak prices: list price 8:00-22:00 Beijing time every day, half price 22:00-8:00.
Input 0.12Credits/K·Output 0.48Credits/K
FAQ
- How do I call Baidu ERNIE models?
- Create an API key on XiaoZhan AIhub, point your SDK's base_url at https://qd.zsopc.com/v1 and put the model ID from the list above in the model field. The OpenAI, Anthropic and Gemini SDKs all work.
- How are Baidu ERNIE models billed?
- Each model is billed its own way: text models per input and output token, image models per image, video models per second or per token. Prices are in credits (60 credits = ¥1); each model page lists the full price.
Prices and details updated 2026-11-17.