Skip to content
ModelPriceLab

Search model prices

Find source-linked rates by model, vendor, or platform.

Baidu API Pricing

Complete pricing for all Baidu models. Input/output costs per 1M tokens, context windows, and rate limits.

Billing terms: priced in USD per 1M tokens unless a row states otherwise; official direct rates are listed separately from third-party channels, and regional prices are kept distinct. Record updated 2026-12-05.

Baidu API Pricing Calculator

Select a model to estimate monthly cost using its listed rates on each channel.

Quick examples:
Input mode
Cache hit rate (share of input tokens served from cache)50%

Workloads reusing system prompts, long documents, or conversation history hit more; channels without a cached rate are billed at the full input rate.

Estimated monthly cost at current inputs
ChannelEffective inputOutput /1MEst. / month
openrouter$0.0000$0.0000$0.0000

Formula: monthly cost = (input tokens × effective input rate + output tokens × output rate) ÷ 1,000,000 × calls. The effective input rate blends list and cached rates at your cache-hit share. Rates share the selected model and billing basis; your vendor bill is authoritative.

Currently available rates

ERNIE 3.5 128k

LLMbaidu-ernie-3.5
View Details
Legacy / Superseded

Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.

Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
Official
global
1M Tokens
$0.11
$0.28
$0.03
128K
4K
Sources: Official

ERNIE 4.0

LLMbaidu-ernie-4.0
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
Official
global
1M Tokens
$4.20
$12.60
—
8K
4K
Sources: Official

ERNIE 4.0 Turbo 128k

LLMbaidu-ernie-4.0-turbo
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
Official
global
1M Tokens
$4.20
$8.40
$0.84
128K
8K
Sources: Official

ERNIE Character 8k

LLMbaidu-ernie-character
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
Official
global
1M Tokens
$0.56
$1.12
—
8K
4K
Sources: Official

ERNIE Embedding V1

LLMbaidu-ernie-embedding-v1
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
Official
global
1M Tokens
$0.07
$0.0000
—
2K
—
Sources: Official

ERNIE Lite 128k

LLMbaidu-ernie-lite
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
Official
global
1M Tokens
$0.0000
$0.0000
—
128K
4K
Sources: Official

ERNIE Speed 128k

LLMbaidu-ernie-speed
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
Official
global
1M Tokens
$0.0000
$0.0000
—
128K
4K
Sources: Official

ERNIE Tiny 8k

LLMbaidu-ernie-tiny
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
Official
global
1M Tokens
$0.0000
$0.0000
—
8K
4K
Sources: Official

ERNIE-5.5-Flash-Preview (free)

LLMbaidu-ernie-5.5-flash-preview-free
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.0000
$0.0000
—
1024K
922K
Sources: OpenRouter

ERNIE-Light-DT-1.0

LLMbaidu-ernie-light-dt-1.0-intl
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$1.13
$3.94
$0.11
1024K
131K
Sources: OpenRouter
AI Cost Optimization

Does this change your best option?

Check your models and usage for free. See the relevant official changes, estimated cost, and a practical next step.