Last verified
CHINA FRONTIERERNIE / WENXINON QIANFAN128K CONTEXTCNY SOURCE

ERNIE API Pricing

ERNIE (Wenxin) is the large-language-model family built by Baidu, China's largest search company, and served through its Qianfan MaaS platform. The lineup runs from the ERNIE 5.x frontier tier down to the cost-efficient ERNIE 4.5 Turbo, all priced per token in Chinese yuan.

Priced models
2
2 GA
Founded
2000
Baidu - Beijing
Cheapest input
$0.12/M
ERNIE 4.5 Turbo input
Max context
128K
ERNIE 5.x tiered
Billing
token PAYG
CNY list
Currency
CNY
converted to USD
§ 01 / LINEUP

The full roster.

Side-by-side →
§ 02 / SHELF

All side-by-side.

Methodology →
Model Input /M Output /M Cached Context Max output Vision Tools Tier
ERNIE 5.1 FLAGSHIP $0.59 $2.65 128K Frontier
ERNIE 4.5 Turbo $0.12 $0.47 $0.03−75% 128K Active
§ 03 / PRICE CURVE

Pricing across the lineup.

How Baidu priced 2 models · APR 25 → NOV 25.

oldest → newest →
$5$3.8$2.5$1.3 $0.47 $0.12 $2.7 $0.59 ERNIE 4.5 Turbo APR 25 ERNIE 5.1 NOV 25
Input · newest $0.59/M
Output · newest $2.7/M
Each point is a model at its listed $/M price.

The ERNIE story so far.

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 / ACCESS

Where to get it.

Methodology →
§ 04 / BEST FOR

Which Baidu for what.

More scenarios →
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.118/M
ERNIE 4.5 Turbo
§ 06 / BACKGROUND

The company behind it.

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.

§ 07 / COMPETITORS

Other frontier labs.

All providers →

ERNIE pricing questions.

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.59/$2.655 at 1 CNY = $0.1475. ERNIE 4.5 Turbo is CNY 0.8/3.2 ($0.118/$0.472) 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.59/$2.655), 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.