Baidu ERNIE API pricing
Every Baidu ERNIE model we track, per 1M tokens, from the official pricing page.
Baidu ERNIE API prices run from $0.11 in and $0.45 out per 1M tokens (ERNIE 4.5 Turbo) up to $0.84 in and $3.38 out (ERNIE 5.0). Its cheapest model is number 6 of 77 on our full list. Checked Oct 29, 2026 against the official pricing page.
Baidu's ERNIE models on Qianfan: 3 are priced here, from $0.11 in and $0.45 out per 1M tokens (ERNIE 4.5 Turbo) to $0.84 in and $3.38 out (ERNIE 5.0). Each model name below opens its own page with workload costs, LMArena ranks and cheaper alternatives.
| Model | Input | Cached | Output | Context |
|---|---|---|---|---|
| ERNIE 4.5 Turboernie-4.5-turboSame price for the 32K and 128K versions. | $0.11 | $0.03 | $0.45 | 128K |
| ERNIE 5.1ernie-5.1Prompts up to 32K. Prompts of 32K to 128K cost $0.84 in, $3.10 out. | $0.56 | n/a | $2.53 | 128K |
| ERNIE 5.0ernie-5.0Text generation, prompts up to 32K. Prompts of 32K to 128K cost $1.40 in, $5.60 out. | $0.84 | n/a | $3.38 | 128K |
Which Baidu ERNIE model should you pick?
- Cheapest: ERNIE 4.5 Turbo at $0.11 in and $0.45 out, number 6 of 77 on our full price list.
- Best on LMArena: ERNIE 5.1, #22 of 51 priced models on Text Arena, at $0.56 in and $2.53 out.
- Flagship: ERNIE 5.0 at $0.84 in and $3.38 out.
- Biggest context: ERNIE 4.5 Turbo with 128K tokens (3 models share it).
How it compares
Cheapest models from other providers, blended per 1M tokens: Qwen3.7 Flash (Qwen) $0.06 · Step 3.5 Flash (StepFun) $0.15 · Qwen3.5 Flash (Qwen) $0.17. See the full API price table, the best model for each task or the plan vs API calculator.
Looking for the lowest price per token? See the cheapest LLM API ranking.
FAQ
How much does the Baidu ERNIE API cost?
From $0.11 input and $0.45 output per 1M tokens for ERNIE 4.5 Turbo, up to $0.84 and $3.38 for ERNIE 5.0.
What is the cheapest Baidu ERNIE model?
ERNIE 4.5 Turbo, with a blended price of $0.195 per 1M tokens (3 parts input to 1 part output).
Is a subscription cheaper than the Baidu ERNIE API?
It depends on how much you use it. Try our plan vs API calculator with your own usage.
Which Baidu ERNIE model is the best?
By LMArena rank among the models we price, ERNIE 5.1 ranks highest at #22 on Text Arena.
Does the Baidu ERNIE API have cheaper cached input?
Yes, for 1 of 3 models: cached input is listed at $0.03 to $0.03 per 1M tokens.
Other providers: OpenAI · Anthropic · Google · Meta · DeepSeek · Qwen · Mistral · xAI · Kimi · GLM (Z.ai) · MiniMax · ByteDance Seed · Tencent Hunyuan · StepFun · Xiaomi MiMo