中文

Prices › Baidu ERNIE (Qianfan)

ERNIE 5.0 API pricing & setup

As of 2026-10-17, the cheapest ERNIE 5.0 channel is Official (China): ¥6 input / ¥24 output per 1M tokens (blended $1.57). Context —.

Context: — · Max output: — · Modalities: — · Listed: —

Channel comparison (per 1M tokens)

ChannelBlendedInputOutputCachedAccess & payment (this channel)NotesSource
Official (China)
¥6 / ¥24
$1.57$0.896$3.58✓CN direct✓Alipay✓ID✗Intl card
conditions source2026-10-17
输入≤32K;32K–128K:输入 ¥10 / 输出 ¥40cloud.baidu.com
2026-10-17

Access & payment conditions are verified per channel (see the column above); unverified never counts as met.

How to use ERNIE 5.0 in Claude Code / Codex / OpenCode

Provider-specific setup not yet verified. Generic setup: guides

Cheaper alternatives

Grok 4.3 ($1.56) · Grok 4.20 ($1.56) · Gemini 3.8 Flash ($1.5) ·

Related comparisons

ERNIE 5.1 vs Qwen3.8 Max (0902) · ERNIE 4.5 Turbo 128K vs Doubao Seed 2.1 Turbo · Gemini 3.8 Flash vs GPT-6 Luna · Compare any two →

Rankings: Cheapest LLM APIs · LLM APIs usable from mainland China · All Baidu ERNIE (Qianfan) models

Price history

FAQ

How much does the ERNIE 5.0 API cost?

Cheapest channel (Official (China)): ¥6 input / ¥24 output per 1M tokens, verified 2026-10-17.

Can I use ERNIE 5.0 from China?

Official (China): direct yes, Alipay yes, ID required yes, overseas card no

Is ERNIE 5.0 free?

No free route or deal recorded for this model; pay-as-you-go.

What is ERNIE 5.0's context window?

— tokens