Skip to content
Model infoModelsSnapshot: 15 Oct 2026

Baidu / ERNIE

ERNIE 5.1

Text and agent model with a 128K context, 119K input limit and region-specific input-length pricing.

availableClosed weightsText generation
Official documentation (opens in a new tab)Reviewed 12 Oct 2026
7 of 17 specification fields collected
Input token limit119KSee specification notes below
Maximum output65.5K65,536 tokens
Input billingSee ratesBaidu Qianfan China
Output billingSee ratesPublished units and conditions below

Specifications

Provider-documented facts. “Not collected” means we have not verified that field yet, not that the feature is unsupported.

Reasoning
Not collected
Tool calling
SupportedSource for Tool calling (opens in a new tab)

Explicitly listed in the China tool-calling support range. Do not infer the international support matrix.

Structured output
Not collected
Streaming
SupportedSource for Streaming (opens in a new tab)

The listed models use the Chat Completions API with SSE.

Batch processing
Not collected
Fine-tuning
Not collected
Knowledge cutoff
Not collected
Release date
Not collected
Parameters
Not collected
Architecture
Not collected
Languages
Not collected
Context caching
Not collected

Access & pricing

Prices belong to an endpoint and billing tier. A provider listing does not guarantee access for every account or region.

API model ID
ernie-5.1
Access
Qianfan account and appropriate API key required. Documented access has not been verified with a paid inference call.
Regions
China platform; a hostname alone does not establish data residency.
API endpoint URL
POST https://qianfan.baidubce.com/v2/chat/completionsSource for API endpoint URL (opens in a new tab)
Request limits
RPM = 60 TPM = 150000Source for Request limits (opens in a new tab)

Published default quotas, not a universal service guarantee.

Prices retain their published currencies and billing units below.

Published billing units · original currency · observed 12 Oct 2026
CategoryUsageRateUnit
Native API inferenceInput up to 32k1CN¥4.001 million tokens
Native API inferenceInput above 32k2CN¥6.001 million tokens
Native API inferenceOutput up to 32k1CN¥18.001 million tokens
Native API inferenceOutput above 32k2CN¥22.001 million tokens

Rate conditions

  1. Input at most 32k tokens. Published CNY per 1,000 tokens, normalized to per million without currency conversion. Input limits still apply; k notation is retained as published.
  2. Input above 32k and at most 128k tokens. Published CNY per 1,000 tokens, normalized to per million without currency conversion. Input limits still apply; k notation is retained as published.
Pricing source (opens in a new tab)

Data & enterprise terms

Retention, training use, regional processing and enterprise terms have not been summarized for this endpoint.

Baidu Qianfan International

Provider source (opens in a new tab)
API model ID
ernie-5.1
Access
Qianfan account and appropriate API key required. Documented access has not been verified with a paid inference call.
Regions
International platform; availability and residency depend on the account and contract.
API endpoint URL
POST https://api.baiduqianfan.ai/v1/chat/completionsSource for API endpoint URL (opens in a new tab)
INPUT / 1M TOKENSFrom $0.56
OUTPUT / 1M TOKENSFrom $2.53

Input at most 32k tokens. Published USD per million tokens. Input limits still apply; k notation is retained as published. Above 32k input, input/output rates are USD 0.84/3.1 per million. Exact integer k boundaries are not inferred. Cached input price: not collected.

USD · observed 12 Oct 2026 · Pricing evidence (opens in a new tab)
Published billing units · original currency · observed 12 Oct 2026
CategoryUsageRateUnit
Native API inferenceInput up to 32k1$0.561 million tokens
Native API inferenceInput above 32k2$0.841 million tokens
Native API inferenceOutput up to 32k1$2.531 million tokens
Native API inferenceOutput above 32k2$3.101 million tokens

Rate conditions

  1. Input at most 32k tokens. Published USD per million tokens. Input limits still apply; k notation is retained as published.
  2. Input above 32k and at most 128k tokens. Published USD per million tokens. Input limits still apply; k notation is retained as published.
Pricing source (opens in a new tab)

Data & enterprise terms

Retention, training use, regional processing and enterprise terms have not been summarized for this endpoint.

Caching

Caching can reuse earlier input processing. Availability, lifetime and billing depend on the endpoint. A cache hit still generates a new response.

01 / INITIAL INPUTProcess & retain

The system processes eligible input and retains reusable state.

02 / LATER REQUESTCheck available state

Reuse depends on matching input, session state and the cache policy.

03 / CACHE HITReuse & generate

Reusing state can reduce repeated work. Any charges follow the billing rules below.

Baidu Qianfan China

ernie-5.1
Not verified
How it works
Not collected
Minimum reusable input
Not collected
Lifetime & refresh
Not collected
How to enable it
Not collected
Usage fields
Not collected
Billing rules
Not collected
Limits & data boundaries
The reviewed material does not establish model-specific cache eligibility, TTL, minimum prefix or discounted rates for this record. Generic API usage fields do not prove support.Source for Limits & data boundaries (opens in a new tab)

No verified cache rate for this endpoint. An empty rate is not a zero charge.

Baidu Qianfan International

ernie-5.1
Not verified
How it works
Not collected
Minimum reusable input
Not collected
Lifetime & refresh
Not collected
How to enable it
Not collected
Usage fields
Not collected
Billing rules
Not collected
Limits & data boundaries
The reviewed material does not establish model-specific cache eligibility, TTL, minimum prefix or discounted rates for this record. Generic API usage fields do not prove support.Source for Limits & data boundaries (opens in a new tab)

No verified cache rate for this endpoint. An empty rate is not a zero charge.

What the measurements say

No benchmark observations have been added for this model. We do not turn a vendor description into a performance score.

Latency and throughput depend on the host, request size, reasoning settings and load. There is no measured speed or global usage figure in this record.

The record behind the model

Why it is included

Inferred for this exact named Baidu commercial model from native documentation and comparison with Baidu’s public model repositories. No weights for this exact service were found in the reviewed inventory. Public ERNIE 4.5 and ERNIE Image releases are excluded, and ambiguous Turbo mappings remain under review. This is not proof that all Baidu models are closed.

Classification evidence (opens in a new tab)

Sources reviewed