LLM Reference
Baidu Qianfan

ERNIE 5.0 on Baidu Qianfan

ERNIE 5 · Baidu AI

Serverless

Last refreshed 2026-06-29. Next refresh: weekly.

Why use ERNIE 5.0 on Baidu Qianfan?

Baidu Qianfan offers ERNIE 5.0 with pay-as-you-go pricing at $0.89/1M input tokens. Baidu Qianfan is Baidu Intelligent Cloud's foundation model and Agent development platform, providing hosted API access to ERNIE and Qianfan models for text generation, reasoning, multimodal understanding, embeddings, and agent workflows.

Input / 1M
$0.89
Output / 1M
$3.54
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: ernie-5.0
Model ID
ernie-5.0

Request example

Curated snippets for this provider are not sourced yet. Use Baidu Qianfan documentation with model ID ernie-5.0.

Gotchas

No curated gotchas have been sourced for this exact provider/model route yet.

Pricing

TypePrice (per 1M)
Input tokens$0.89
Output tokens$3.54

Capabilities

VisionMultimodalReasoningJSON / Tool useAudio

About ERNIE 5.0

ERNIE 5.0 is Baidu's fifth-generation flagship foundation model, officially launched January 22, 2026 (preview at Baidu World November 13, 2025). It is a fully native multimodal model supporting text, image, audio, and video understanding and generation under a unified autoregressive framework, trained simultaneously across modalities from scratch. With 2.4 trillion total parameters and ultra-sparse MoE activation engaging <3% of parameters per inference, it delivers frontier performance at high efficiency. Available on Baidu AI Cloud's Qianfan MaaS platform. API model IDs: ernie-5.0; ernie-5.0-thinking-preview (thinking mode).

Get Started

Model Specs

Released2026-01-22
Parameters2.4T
Context128k
ArchitectureMixture of Experts

Related Models on Baidu Qianfan