Baidu · mid-range · Released 2023-09-16

ERNIE 4.0 Mini: pricing, context window and benchmarks

ERNIE 4.0 Mini is a mid-range model from Baidu. It offers a 32,768-token context window, costs $7.11 per million input tokens and $27.17 per million output tokens, and averages 68.8 across the index's benchmark suite.

visionmultimodal
Input price
$7.11
per 1M tokens
Output price
$27.17
per 1M tokens
Context
32,768
tokens
Avg score
68.8
rank #376 of 600
Arena Elo
1330.5
modelled
Max output
32,768
tokens

Pricing

ERNIE 4.0 Mini costs $7.11 per million input tokens and $27.17 per million output tokens. A blended 3:1 input-to-output mix works out to about $12.12 per million tokens. Cached input is listed at $0.70 per million tokens.

ItemPriceNotes
Input$7.11per 1M tokens
Output$27.17per 1M tokens
Cached input$0.70per 1M tokens
Blended 3:1$12.12estimate per 1M tokens
1M in + 1M out$34.28estimate

Benchmarks

Scores below are modelled estimates on a 0–100 scale. Use them to compare relative position, not as official vendor results.

BenchmarkScoreRankPercentileRelative
MMLU-Pro 72.5 374 38th
GPQA Diamond 62.3 388 35th
SWE-bench Verified 56.0 377 37th
HumanEval 75.3 337 44th
MATH-500 71.6 371 38th
AIME 2025 61.0 381 37th
LiveCodeBench 61.7 352 41th
IFEval 76.5 382 36th
TruthfulQA 71.5 389 35th
HellaSwag 82.8 325 46th
MMMU 66.0 372 38th
Arena Elo 1330.5 388 35th

What ERNIE 4.0 Mini is good for

ERNIE 4.0 Mini is a general-purpose model in the index. It handles text generation, summarization and question answering, and it can be a sensible default when you need a balance of quality, price and context. At $7.11 per million input tokens with a 32,768-token window, check its benchmark profile against the specific task before committing.

Strengths

  • Accepts more than text, including image input where the provider supports it.

Trade-offs

  • Proprietary licence: you cannot download the weights or self-host the model.
  • Average benchmark score is below the index median; test it on your own task.

How it compares

ModelProviderContextInput / 1MAvg score
Firesearch Reasoning Fireworks AI 32768 $7.74 69.0
Phi-3.5 Chat Microsoft 16384 $2.64 69.0
Claude 3.7 Sonnet Nano Anthropic 65536 $6.93 68.9
Arctic Snowflake 8192 $2.72 68.8
ERNIE 4.0 Mini Baidu 32768 $7.11 68.8
Claude Haiku 4.5 Nano Anthropic 8192 $6.47 68.7

Browse all comparisons →

FAQ

How much does ERNIE 4.0 Mini cost?

ERNIE 4.0 Mini is listed at $7.11 per million input tokens and $27.17 per million output tokens. Cached input is $0.70 per million tokens. A blended 3:1 input-to-output mix is about $12.12 per million tokens.

What is the context window of ERNIE 4.0 Mini?

ERNIE 4.0 Mini has a context window of 32,768 tokens and can emit up to 32,768 output tokens per request in this index.

Is ERNIE 4.0 Mini open weights?

No. ERNIE 4.0 Mini is a proprietary model with a proprietary licence, so you cannot download the weights.

How does ERNIE 4.0 Mini score on benchmarks?

ERNIE 4.0 Mini averages 68.8 across the scored benchmarks in this index, ranking #376 of 600 models. Its strongest relative result is Arena Elo at 1330.5.

What is ERNIE 4.0 Mini best for?

ERNIE 4.0 Mini is a general-purpose model in the index. It handles text generation, summarization and question answering, and it can be a sensible default when you need a balance of quality, price and context. At $7.11 per million input tokens with a 32,768-token window, check its benchmark profile against the specific task before committing.

Related