Last verified
CHINA FRONTIERERNIE / WENXINON QIANFANUP TO 1M CONTEXTCNY SOURCE

ERNIE API Pricing (November 2026)

ERNIE API prices run from $0.298 to $4.17 per million tokens across 3 current models. The cheapest is ERNIE 5.5 Flash Preview at $0.298 input and $1.19 output per million tokens. The flagship, ERNIE 5.1, costs $0.595 input and $2.68 output per million tokens. Every rate below was read on Baidu's own pricing page, on the date shown in its row.

Priced models
3
2 GA · 1 preview
Founded
2000
Baidu - Beijing
Cheapest input
$0.298/M
ERNIE 5.5 Flash Preview input
Max context
1M
ERNIE 5.5 Flash Preview
Billing
token PAYG
CNY list
Currency
CNY
converted to USD
§ 01 / PRICES

ERNIE API pricing per 1M tokens

Methodology →
Model Input /M Cache read /M Output /M Batch in /M Batch out /M Context Status Checked
ERNIE 5.1 ernie-5.1 $0.595 — $2.68 — — 128K Flagship 2026-10-28
ERNIE-Light-DT 1.0 ernie-light-dt-1.0 $1.19 $0.119−90% $4.17 — — 1M Current 2026-11-27
ERNIE 5.5 Flash Preview ernie-5.5-flash-preview $0.298 $0.0298−90% $1.19 — — 1M Preview 2026-11-27
ERNIE 4.5 Turbo ernie-4.5-turbo $0.119 $0.0298−75% $0.476 — — 128K Deprecated 2026-11-29

US dollars per million tokens, list rates on Baidu's own API. Cache read is the price of a cached input token. Batch is the asynchronous API, where the vendor offers one. The date in each row is when we last read it on the vendor's pricing page; it links to that page.

§ 02 / MONTHLY COST

ERNIE API monthly cost estimates

What light use (10M input + 2M output tokens a month), medium use (100M input + 20M output tokens a month), heavy use (1B input + 200M output tokens a month) costs on each current model, at list price with no caching and no batch discount.

Model Input / output per 1M Light · 10M + 2MMedium · 100M + 20MHeavy · 1B + 200M
ERNIE 5.1 $0.595 / $2.68 $11.31$113$1,131
ERNIE-Light-DT 1.0 $1.19 / $4.17 $20.24$202$2,024

Prompt caching and the Batch API cut these figures; the next sections show by how much. For your own token counts, use the LLM API cost calculator.

§ 03 / PRICE HISTORY

ERNIE API price history

How Baidu priced 4 models · APR 25 → NOV 26.

oldest → newest →
$5$3.75$2.5$1.25 $0.476 $0.119 $2.68 $0.595 $4.17 $1.19 $1.19 $0.298 ERNIE 4.5 Turbo APR 25 ERNIE 5.1 NOV 25 ERNIE-Light-DT … NOV 26 ERNIE 5.5 Flash… NOV 26
Input · newest $0.298/M
Output · newest $1.19/M
Each point is a model at its listed $/M price.

ERNIE API price changes and releases

Releases and pricing from Baidu's Wenxin / ERNIE line on the Qianfan platform. Sourced from Baidu press, PRNewswire, and the Qianfan billing page - verified at publication.

NOV 23 · 2026
ERNIE 5.5 Flash Preview weights published on Hugging Face under Apache 2.0: 280B total, 14B active, 1M context
OPEN WEIGHTS
NOV 11 · 2026
ERNIE 5.5 Flash Preview released on Qianfan at CNY 2/8 per million at peak list, half off-peak, all rates 50% off for now; ERNIE-Light-DT 1.0 appears on the same price list at a flat CNY 8/28
RELEASE
NOV - 2025
ERNIE 5.1 released - a cheaper refresh of the ERNIE 5 frontier MoE line
RELEASE
2025
ERNIE 5.0 and reasoning model ERNIE X1.1 shipped on Qianfan
RELEASE
APR - 2025
ERNIE 4.5 and ERNIE X1 launched - Baidu cut prices aggressively and made ERNIE Bot free
PRICING
MAR - 2023
ERNIE Bot launched - Baidu's first public ChatGPT competitor
RELEASE
§ 04 / WHICH MODEL

Which ERNIE model should you use?

Full price table →
A 1M-token window at a low ERNIE rate?
ERNIE 5.5 Flash Preview
ERNIE 5.5 Flash Preview
Frontier ERNIE quality on Qianfan?
ERNIE 5.1
ERNIE 5.1
High-volume, cost-sensitive traffic?
ERNIE 5.5 Flash Preview off-peak
ERNIE 5.5 Flash Preview
Deep reasoning with search?
ERNIE X1.1
Qianfan pricing
§ 05 / WHERE TO BUY

Where to buy ERNIE API access

Methodology →
§ 06 / ALTERNATIVES

ERNIE API pricing vs other providers

All providers →

ERNIE API pricing FAQ

Practical questions about Baidu ERNIE API pricing on Qianfan, with the published CNY rates kept separate from currency conversion and workload assumptions.

Q · 01

How much does the Baidu ERNIE API cost?

+
On Qianfan, ERNIE 5.1 is CNY 4/M input and CNY 18/M output (0-32K tier), which AI//COST stores as $0.595/$2.68 at the catalogue's dated CNY/USD rate. ERNIE 5.5 Flash Preview lists at CNY 2/M input and CNY 8/M output at peak hours ($0.298/$1.19), half that off-peak, and every rate is currently sold at 50% off. ERNIE 4.5 Turbo, last listed at CNY 0.8/3.2, left the price list updated November 11, 2026.
Q · 02

Why are ERNIE prices shown in USD?

+
Baidu lists ERNIE prices in Chinese yuan on Qianfan. AI//COST converts them to USD for cross-vendor comparison using one dated CNY/USD rate for the whole catalogue and records the original CNY figures on each model page.
Q · 03

Are ERNIE 5.x prices tiered by context length?

+
Yes. ERNIE 5.1 and 5.0 are tiered by input length: the 0-32K tier is cheaper than the 32K-128K tier. This hub uses the 0-32K baseline. ERNIE 4.5 Turbo is a single flat rate across its 32K and 128K variants.
Q · 04

Is ERNIE 5.0 more expensive than ERNIE 5.1?

+
Yes. ERNIE 5.0 lists CNY 6/24 ($0.885/$3.54) while the newer ERNIE 5.1 refresh is cheaper at CNY 4/18 ($0.5952/$2.6782), so 5.1 is both newer and lower-priced.
Q · 05

Is ERNIE Bot the same as the API?

+
No. ERNIE Bot (Wenxiaoyan) is Baidu's free consumer assistant. The paid per-token pricing on this hub is for the developer API on the Qianfan platform, which is billed separately.
§ 07 / ABOUT

About Baidu

cloud.baidu.com/product/wenxinworkshop →

Baidu was founded in 2000 by Robin Li and Eric Xu and is China's dominant search engine, headquartered in Beijing and listed on NASDAQ (BIDU) and Hong Kong (9888).

Baidu was one of the first Chinese companies to ship a public large language model: ERNIE Bot launched in March 2023. The ERNIE (Wenxin) family has since grown through ERNIE 4.0, the aggressively-priced ERNIE 4.5 and reasoning model ERNIE X1 in 2025, and the current ERNIE 5.x frontier generation.

ERNIE models are served through Qianfan, Baidu AI Cloud's model-as-a-service platform, with per-token billing in Chinese yuan. Baidu prices ERNIE 5.x in context-length tiers and offers a cache-hit discount on ERNIE 4.5 Turbo.

Baidu competes primarily with other Chinese labs - DeepSeek, Alibaba Qwen, Zhipu and Moonshot - on price and Chinese-language quality, while Western frontier labs remain largely inaccessible inside China.