ernie-5.1

by Baidu

ERNIE 5.1 is the latest model in the Wenxin series, with comprehensive upgrades to its foundational capabilities and significant improvements in agents, knowledge, reasoning, and deep search. This upgrade uses a decoupled fully-asynchronous reinforcement learning technique to specifically address challenges encountered as large models evolve toward agent-based autonomous decision-making, such as training–inference numerical bias, low utilization of heterogeneous resources, and global issues caused by long-tail effects. It is paired with scaled agent post-training techniques to enhance model capabilities and generalization, enabling a three-step collaboration of environment, expert, and fusion that both ensures training efficiency and significantly improves the model’s stability and performance on complex tasks.

API Pricing

Input$0.56 / 1M tokens
Output$2.54 / 1M tokens

Specifications

Context window119,000 tokens
Modalitiestext
Featuresthinking

FAQ

What is ernie-5.1?

ERNIE 5.1 is the latest model in the Wenxin series, with comprehensive upgrades to its foundational capabilities and significant improvements in agents, knowledge, reasoning, and deep search. This upgrade uses a decoupled fully-asynchronous reinforcement learning technique to specifically address challenges encountered as large models evolve toward agent-based autonomous decision-making, such as training–inference numerical bias, low utilization of heterogeneous resources, and global issues caused by long-tail effects. It is paired with scaled agent post-training techniques to enhance model capabilities and generalization, enabling a three-step collaboration of environment, expert, and fusion that both ensures training efficiency and significantly improves the model’s stability and performance on complex tasks.

What is the context length of ernie-5.1?

ernie-5.1 has a 119,000 token context window.

How much does ernie-5.1 cost?

On AIHubMix, ernie-5.1 costs $0.56 per million input tokens and $2.54 per million output tokens.

What modalities does ernie-5.1 support?

ernie-5.1 accepts text input.

What features does ernie-5.1 support?

ernie-5.1 supports thinking. Per-protocol parameter support is listed in the capability table on this page.

How do I call ernie-5.1 via API?

ernie-5.1 is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to ernie-5.1 — no other code changes needed.

Who develops ernie-5.1?

ernie-5.1 is developed by Baidu. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More from Baidu

ernie-5.0

by Baidu

ERNIE 5.0 is the next-generation natively multimodal foundation model in the ERNIE…

$0.82/1M in · $3.29/1M out
119,000 tokens context

ernie-image-turbo

by Baidu

The Ernie-image-Turbo model is an 8-step distilled version of the Ernie-image model, also…

$2/1M in

musesteamer-air-image

by Baidu

musesteamer-air-image is a text-to-image model developed by the Baidu Search team aimed…

$2/1M in

qianfan-ocr

by Baidu

Qianfan-OCR-Fast is a multimodal large model specialized for OCR, trained primarily on…

$0.06/1M in · $0.25/1M out
32,000 tokens context

qianfan-ocr-fast

by Baidu

Qianfan-OCR-Fast is a multimodal large model specialized for OCR, trained primarily on…

$0.66/1M in · $2.74/1M out
32,000 tokens context

ernie-5.0-thinking-exp

by Baidu

ERNIE 5.0 is the next-generation natively multimodal foundation model in the ERNIE…

$0.82/1M in · $3.29/1M out
119,000 tokens context

Use ernie-5.1 via the AIHubMix unified API — one interface for every major LLM.