LLM Reference

ERNIE 5.0 on Baidu Qianfan

ERNIE 5 · Baidu AI

Serverless

Last refreshed 2026-06-24. 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

VisionMultimodalReasoningFunction CallingTool 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).

FAQ

What does ERNIE 5.0 cost on Baidu Qianfan?

On Baidu Qianfan, ERNIE 5.0 costs $0.89 per 1M input tokens and $3.54 per 1M output tokens.

What is the context window for ERNIE 5.0 on Baidu Qianfan?

ERNIE 5.0 supports a 128k token context window on Baidu Qianfan.

What API model ID do I use for ERNIE 5.0 on Baidu Qianfan?

Use the model ID ernie-5.0 when calling Baidu Qianfan's API.

Who created ERNIE 5.0?

ERNIE 5.0 was created by Baidu AI as part of the ERNIE 5 model family.

Is ERNIE 5.0 open source?

ERNIE 5.0 is not open source; the seed data lists it as proprietary.

Get Started

Model Specs

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

Related Models on Baidu Qianfan