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.
Workloads reusing system prompts, long documents, or conversation history hit more; channels without a cached rate are billed at the full input rate.
| Channel | Effective input | Output /1M | Est. / 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.5Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.
ERNIE 4.0
LLMbaidu-ernie-4.0ERNIE 4.0 Turbo 128k
LLMbaidu-ernie-4.0-turboERNIE Character 8k
LLMbaidu-ernie-characterERNIE Embedding V1
LLMbaidu-ernie-embedding-v1ERNIE Lite 128k
LLMbaidu-ernie-liteERNIE Speed 128k
LLMbaidu-ernie-speedERNIE Tiny 8k
LLMbaidu-ernie-tinyERNIE-5.5-Flash-Preview (free)
LLMbaidu-ernie-5.5-flash-preview-freeERNIE-Light-DT-1.0
LLMbaidu-ernie-light-dt-1.0-intlDoes this change your best option?
Check your models and usage for free. See the relevant official changes, estimated cost, and a practical next step.