Baidu API Pricing
ERNIE series from China's leading search engine
5 paid models · Price range: $0.07 - $0.42 /1M
About Baidu
Baidu, China's largest search engine, develops the ERNIE (Enhanced Representation through kNowledge IntEgration) series. ERNIE models are deeply integrated with Baidu's search and knowledge graph, offering strong Chinese language understanding and factual accuracy.
Key Highlights
- Deep search engine integration
- Strong Chinese language understanding
- Knowledge graph grounding
- ERNIE Bot consumer product
- Enterprise solutions
Pricing Features
- Pay-per-token billing
Available through Baidu Cloud. Enterprise pricing with volume discounts.
API Features
Common Use Cases
- • Chinese Enterprise
- • Search-Augmented Applications
- • Knowledge Management
- • Customer Service
📊 Baidu Model Comparison
Compare all models side by side. Sorted by total price (input + output).
| Model | Tier | Input /1M | Output /1M | Total /1M | Context | Best For |
|---|---|---|---|---|---|---|
| ERNIE 4.5 21B A3B | Budget | $0.07 | $0.28 | $0.35 | 120k | Complex reasoning, math |
| ERNIE 4.5 21B A3B Thinking | Budget | $0.07 | $0.28 | $0.35 | 131k | Complex reasoning, math |
| ERNIE 4.5 VL 28B A3B | Balanced | $0.14 | $0.56 | $0.70 | 30k | Complex reasoning, math |
| ERNIE 4.5 300B A47B | Advanced | $0.28 | $1.10 | $1.38 | 123k | Complex reasoning, math |
| ERNIE 4.5 VL 424B A47B | Flagship | $0.42 | $1.25 | $1.67 | 123k | Complex reasoning, math |
🎯 Which Baidu Model Should You Choose?
Quick recommendations based on your use case.
💰 Baidu Monthly Cost Examples
Estimated monthly costs for common use cases.
| Use Case | Monthly Usage | ERNIE 4.5 21B A3B (Budget) |
|---|---|---|
|
Customer Service Bot
1000 conversations/day
|
500k input 200k output |
$0.09/mo |
|
Code Assistant
200 requests/day
|
1.0M input 500k output |
$0.21/mo |
|
Data Analysis
500 analyses/day
|
2.0M input 300k output |
$0.22/mo |
⚔️ Baidu vs Competitors
How does {brand} compare to other major AI providers?
| Brand | Model | Input /1M | Output /1M | Total /1M | Context | vs {brand} |
|---|---|---|---|---|---|---|
Baidu
|
ERNIE 4.5 21B A3B Current | $0.07 | $0.28 | $0.35 | 120k | — |
OpenAI
|
GPT-5.2 Chat | $1.75 | $14.00 | $15.75 | 128k | 4400% more |
OpenAI
|
GPT-5.2 Pro | $21.00 | $168.00 | $189.00 | 400k | 53900% more |
OpenAI
|
GPT-5.2 | $1.75 | $14.00 | $15.75 | 400k | 4400% more |
OpenAI
|
GPT-5.1-Codex-Max | $1.25 | $10.00 | $11.25 | 400k | 3114% more |
OpenAI
|
GPT-5.1 | $1.25 | $10.00 | $11.25 | 400k | 3114% more |
OpenAI
|
GPT-5.1 Chat | $1.25 | $10.00 | $11.25 | 128k | 3114% more |
All Models
| Model | Input /1M | Output /1M | Context | Capabilities | Actions | |
|---|---|---|---|---|---|---|
| ERNIE 4.5 21B A3B Cheapest | $0.07 | $0.28 | 120k | View Details | ||
| ERNIE 4.5 21B A3B Thinking Cheapest | $0.07 | $0.28 | 131k | View Details | ||
| ERNIE 4.5 300B A47B | $0.28 | $1.10 | 123k | View Details | ||
| ERNIE 4.5 VL 424B A47B | $0.42 | $1.25 | 123k | View Details | ||
| ERNIE 4.5 VL 28B A3B | $0.14 | $0.56 | 30k | View Details |
❓ Baidu Pricing FAQ
What is the cheapest Baidu model?
The cheapest Baidu model is ERNIE 4.5 21B A3B Thinking at $0.35 per 1M tokens (input + output combined).
What is the maximum context length for Baidu models?
Baidu models support up to 131k context length, allowing you to process large documents and maintain long conversations.
How do I choose between Baidu models?
For budget projects, choose the cheapest model. For code generation, prioritize low output price. For complex reasoning, choose models with reasoning capability. Use our scenario guide above.