Baidu Models API Cost Calculator & Comparison

Every Baidu model, side by side — current API rates, context window, benchmarks, and a live calculator that ranks them at your exact workload. 5 active models, 5 with public pricing. Prices refreshed daily.

Models tracked

5

Active

5

With public pricing

5

Cheapest input

$0.07/1M

Calculate your Baidu API cost at your workload.

Set your workload — every priced model ranks in real time.

Adjust the workload

Every model below updates in real time.

1,00010,00050,000250,0001M10M

Ranked by your monthly bill

No models with public pricing available to compare right now.

Pricing at a glance

Blended $/1M tokens across the lineup.

Blended price uses a 3-to-1 input/output ratio. Green bar = cheapest.

Quick picks

Best Baidu model for your use case.

As of April 2026, Baidu offers 5 active models via API, ranging from $0.070/1M to $0.42/1M input tokens. The most context-rich model handles up to 131K tokens. Models support vision, deep reasoning, tool use. All prices are USD per 1 million tokens.

Quality vs price

Baidu benchmarks at a glance.

Each point is one model — X is blended $/1M tokens, Y is the average of available quality benchmarks. Larger bubbles mean larger context windows.

Per-model benchmark scores

ModelAvgScores
ERNIE 4.5 300B A47B46.0
AA Intelligence Index46

Every model

Every Baidu model — pricing, context & capabilities.

ModelContextInput /1MOutput /1M
ERNIE 4.5 21B A3B Thinking131K$0.07$0.28
ERNIE 4.5 21B A3B120K$0.07$0.28
ERNIE 4.5 VL 28B A3B30K$0.14$0.56
ERNIE 4.5 300B A47B123K$0.28$1.10
ERNIE 4.5 VL 424B A47B123K$0.42$1.25

FAQ

Domande frequenti

Pricing patterns, best-known use cases, and how this provider stacks up.

Get instant answers from our AI agent

Baidu API pricing ranges from $0.070 to $0.42 per 1M input tokens. Output tokens cost more than input on every model. Prices are per 1 million tokens (1M ≈ 750,000 words). Use the calculator above to estimate your monthly spend at your actual workload.
ERNIE 4.5 21B A3B Thinking is the lowest-priced Baidu model with public pricing at $0.070/1M input tokens. It suits high-volume tasks where cost matters most — classification, extraction, summarization, and similar workloads that don't need frontier reasoning.
ERNIE 4.5 VL 424B A47B is Baidu's highest-tier model at $0.42/1M input. It delivers the most sophisticated reasoning, instruction-following, and nuance. For workloads that don't require frontier performance, a mid-tier model typically cuts inference costs substantially.
ERNIE 4.5 21B A3B Thinking support deep reasoning mode, which improves performance on multi-step coding, debugging, and code review. For simpler autocomplete or snippet generation, a faster, cheaper model often delivers acceptable quality at a fraction of the cost.
ERNIE 4.5 21B A3B Thinking, ERNIE 4.5 21B A3B, ERNIE 4.5 VL 28B A3B and 2 more support function calling (tool use), required for agentic workflows. Agents need a model that reliably follows structured output schemas — test with your specific tool definitions before committing to production volumes.
Yes — ERNIE 4.5 VL 28B A3B, ERNIE 4.5 VL 424B A47B accept image input alongside text. You can pass screenshots, photos, charts, and documents for analysis. Vision adds no separate line-item on most Baidu models — you're billed for the token equivalent of the image.
Yes — Baidu supports prompt caching (discounts for repeated context) and batch processing (accept a delay, cut costs ~50%). These rates appear in the table above under "Cached /1M" and "Batch /1M." Caching pays off quickly if your prompts share a long system prompt or document prefix across many calls.
Baidu has historically adjusted prices when launching new model generations, often cutting rates to stay competitive. Buzzi.ai snapshots pricing daily — you can subscribe to price-drop alerts on any Baidu model using the "Alert me" button on its detail page.
Use the main comparison wizard to run the same calculator across Baidu, Anthropic, Google, Meta, Mistral, and 20+ other providers. Set your exact workload and get a ranked cost chart in under a minute.
ERNIE 4.5 21B A3B Thinking offer an extended thinking or reasoning mode. The model spends extra compute "thinking" before answering — slower and more expensive, but meaningfully better on complex, multi-step problems. Standard mode is faster and cheaper for routine tasks.

Look wider

Compare Baidu against other providers.

Open the full wizard — pick a use case, set your usage, and cross-compare against OpenAI, Anthropic, Google, and 20+ more.