文心 API
ERNIE and Qianfan open API with ERNIE 5.1/5.0 flagship and Turbo / Lite Pro tiered per-token billing
Core models
ERNIE 5.1 flagship, 128K context; ¥4 input, ¥18 output per 1M tokens (≤32K input band)—for complex agents and Chinese workloads.
ERNIE 5.0 native omni-modal flagship; ¥6/¥24 per 1M tokens with unified text/image/audio/video modeling.
ERNIE 5.0 Thinking preview with visible chain-of-thought; per-token billing for tasks needing reasoning traces.
ERNIE 5.0 Thinking latest line, same price band as Preview—for complex reasoning and agent decision nodes.
ERNIE 5.0 Thinking experimental variant, priced like other 5.0 Thinking lines—availability per console.
Additional core model names still appear above, with full details on the latest official page.
Plan details
ERNIE-Lite-Pro-128K
Lowest list priceERNIE-4.5-Turbo
MainstreamRecommendedERNIE-5.0
Omni-modal flagshipNotes
- Official pricing shows per-thousand-token rates; this site normalizes to per-million-token units. ERNIE 5.0/5.1 charge higher bands above 32K input.
- Turbo supports cache-hit input at ¥0.2/1M tokens plus search add-ons; some models offer discounted batch inference rates.
- Image generation and OCR bill per image or per token—not the same unit as text API—estimate separately.
- Beyond postpaid per-token billing, Qianfan sells prepaid volume packs for Baidu-owned lines including Lite Pro, Speed Pro, Turbo 32K/128K, Turbo VL 32K, and X1-Turbo-32K—typically 100M–5B token sizes, 6–12 month validity, with discounts (e.g. Lite Pro 100M at ¥22.5/12 mo, Turbo 128K 100M at ¥126/6 mo). Steady traffic often beats pure postpaid; this page’s entryPrice and tiers stay on postpaid unit rates—confirm pack specs on the console order page.
- Web search also has prepaid call packs: 10,000 calls/6 mo at ¥38, 50,000 at ¥190 after discount—search enhancement draws packs first, then ¥0.004/call postpaid. If the account is overdue but token or TPM prepaid remains, inference continues and search still bills per trigger.
Supported coding tools
Pricing and model data sourced from official vendor websites