Last verified
CHINA FRONTIERERNIE / WENXINON QIANFAN128K CONTEXTCNY SOURCE

ERNIE API Pricing (November 2026)

ERNIE API prices run from $0.119 to $2.68 per million tokens across 2 current models. The cheapest is ERNIE 4.5 Turbo at $0.119 input and $0.476 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
2
2 GA
Founded
2000
Baidu - Beijing
Cheapest input
$0.119/M
ERNIE 4.5 Turbo input
Max context
128K
ERNIE 5.x tiered
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 4.5 Turbo ernie-4.5-turbo $0.119 $0.0298−75% $0.476 — — 128K Current 2026-10-28

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 4.5 Turbo $0.119 / $0.476 $2.14$21.42$214
ERNIE 5.1 $0.595 / $2.68 $11.31$113$1,131

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 2 models · APR 25 → NOV 25.

oldest → newest →
$5$3.75$2.5$1.25 $0.476 $0.119 $2.68 $0.595 ERNIE 4.5 Turbo APR 25 ERNIE 5.1 NOV 25
Input · newest $0.595/M
Output · newest $2.68/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 - 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 →
Frontier ERNIE quality on Qianfan?
ERNIE 5.1
ERNIE 5.1
High-volume, cost-sensitive traffic?
ERNIE 4.5 Turbo
ERNIE 4.5 Turbo
Deep reasoning with search?
ERNIE X1.1
Qianfan pricing
Cheapest ERNIE input token?
ERNIE 4.5 Turbo at $0.119/M
ERNIE 4.5 Turbo
§ 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.5952/$2.6782 at 1 CNY = $0.1475. ERNIE 4.5 Turbo is CNY 0.8/3.2 ($0.119/$0.4761) with a CNY 0.2/M cache-hit rate. Verified 2026-07-11.
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 the spot rate 1 CNY = $0.1475 (2026-07-10) 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.