Most Popular
Home > AI Models > ERNIE 4.0

ERNIE 4.0

Provider: Baidu Updated: 2026-04-15

ERNIE 4.0 is an text generation model from Baidu, designed for general AI application workflows.

Text Generation Most PopularEnglish

Pricing

Input 0 CNY / 1M tokens
Output 0 CNY / 1M tokens
Text to Image -
Image to Image -
Text to Video -
Image to Video -

Capabilities

Input Types Text
Output Types Text
Function Calling Supported
Session Cache Not supported
Fine-Tuning Supported
Prefix Cache Supported
Structured Output Supported
Image Understanding Not supported
Text Generation Supported
Text to Image -
Image to Image -
Text to Video -
Image to Video -
Open Source Status Closed source

Parameters

Last Updated 2026-04-15
Context Length 8K
Max Input Tokens 8K
Max Output Tokens 2K
Max Thought Tokens -
TPM -
RPM -
Parameter Count -
Modalities Text
Language Support English
Best For Content creation
Resolution -
Video Duration -
Frame Rate -

Benchmarks

These benchmark scores summarize how the model performs across different tasks and evaluation sets.

Math Index

Captures broad mathematical problem-solving and reasoning performance.

77.78
HumanEval

Evaluates code generation correctness on programming tasks.

65.48