ERNIE 5.1 is Baidu's language model with a 119K context window and up to 66K output tokens, starting at $0.563 / 1M input and $2.54 / 1M output. A large multilingual foundation LLM in Baidu's ERNIE series designed for general-purpose language understanding and generation.
Capabilities
Input1/5
Text✓
Image·
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities2/13
Reasoning✓
Adaptive Reasoning·
Function Calling·
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching✓
Assistant Prefill·
Pricing by Provider
US Dollar ($)
Per 1M tokens
| Provider | Standard | ||
|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | |
| $0.563 | $2.54 | $0.563 | |
Cost Calculator
US Dollar ($)
Preset:
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| ERNIE 5.1 | — | 119K | $0.563 | $2.54 | Current |
| ERNIE 5 Thinking Preview | — | — | — | — | Available |
| ERNIE 4.5 21B A3B Thinking | 131K | $0.070 | $0.280 | Available | |
| ERNIE 4.5 300B A47B | 131K | — | — | Available | |
| ERNIE 4.5 VL 424B A47B | 123K | $0.420 | $1.25 | Deprecating | |
| ERNIE 4.5 300B A47B Paddle | — | 123K | $0.280 | $1.10 | Available |
| ERNIE 4.5 VL 28B A3B Thinking | — | 131K | $0.390 | $0.390 | Available |
| ERNIE Image | — | — | — | — | Available |
| ERNIE Image Turbo | — | — | — | — | Available |