Providers · provider

Baidu API: models, pricing and limits

A practical guide to baidu, using data from the AI & LLM Index. The goal is a shortlist and a decision, not a tour of every option.

The Baidu lineup

Baidu has 14 models in the index. Search and cloud company behind ERNIE. The lineup spans 2 categories, from multimodal to mid-range.

The strongest model by average score is ernie-4-5-max. The cheapest by input price is ERNIE 4.0 Nano.

Pricing

Across the lineup, the average input price is $11.20 per million tokens and the average output price is $48.78. That average hides a wide range: individual models run from $4.68 to $14.41 on input.

Use the average as a starting point, then check the specific model you plan to deploy. Output price and cached input pricing can change the ranking for long or repetitive workloads.

Strengths and limits

0 of the 14 models are open weights. That gives you a self-hosting path for part of the lineup, while the proprietary models remain API-only.

The best benchmark result in the lineup is 80.6 on the index average. Compare that with the best model from other providers before treating Baidu as the default.

How to choose

  • Start with the task, not the brand.
  • Pick the cheapest model that clears your evaluation set.
  • Keep a second provider as a fallback for outages and price changes.
  • Check licence and data-handling terms for every model you shortlist.

Baidu models at a glance

ModelInput / 1MContextAvg score
ERNIE 4.5 Max$14.41128,00080.6
ERNIE 4.5 Pro$13.891,000,00080.5
ERNIE 4.5$13.4465,53680.0
ERNIE 4.5 Reasoning$14.361,000,00079.8
ERNIE 4.5 Turbo$13.75128,00079.7
ERNIE 4.0 Max$12.4032,76878.9
ERNIE 4.0 Turbo$12.0065,53678.0
ERNIE 4.0 Reasoning$12.2065,53677.8
ERNIE 4.0 Pro$12.58200,00077.5
ERNIE 4.0$11.3732,76876.7

Related

FAQ

Which Baidu model should I start with?

Start with ernie-4-5-max for quality-sensitive work and ERNIE 4.0 Nano for high-volume tasks.

What is the most important factor in baidu?

Fit to the task beats raw benchmark rank. Define the failure modes, pick the benchmarks that resemble them, then test a small shortlist on your own examples.

How many models should I evaluate?

Three is usually enough: a quality candidate, a value candidate and a fallback. More candidates add work without changing the decision.

How do I control cost?

Compare blended 3:1 price, watch output tokens, use caching where available and route simple requests to a cheaper model.