ERNIE 5.1
ERNIE 5.1 is Baidu Wenxin's efficient sub-network of ERNIE 5.0 with fewer parameters yet leading performance and strong agentic ability. Access it through Velokey's unified endpoint with below-list pricing.
Use cases
Autonomous agents & spreadsheet automation · Math, logic & complex reasoning
Input
Text
Output
Text
Billing
Per token
Start a conversation
Type a message below to begin
Sign up to get $0.5 in free credits — about 20 free images
Pricing details
Transparent usage-based pricing with no hidden fees.
Detailed Pricing
Tiered pricingUsage-based pricing breakdown
| Spec | Price |
|---|---|
| Input/1M tokens | 0.6 Credits≈$0.6 |
| Output/1M tokens | 2.6 Credits≈$2.6 |
| Spec | Price |
|---|---|
| Input/1M tokens | 0.9 Credits≈$0.9 |
| Output/1M tokens | 3.2 Credits≈$3.2 |
Billing Rules
- Output price varies by model, resolution, quality, duration, or token usage.
- Uploaded reference files may be charged separately when supported.
- Add-on capabilities such as web search or image search may be billed per request.
- Token-based models are billed by input and output tokens.
- If the primary route is unavailable, Velokey may automatically switch to a stable fallback route when possible.
- Usage is pay-as-you-go with transparent credit deduction.
* Final cost depends on the generated result.
Related models
Explore other models in the same family.
- BaiduSave 20%
ERNIE 5.0
ERNIE 5.0 is Baidu's 2.4T-parameter native-multimodal MoE model unifying text, image, video, and audio in one autoregressive architecture with agent and coding abilities.
- OpenAISave 20%
GPT 5.4 Mini
OpenAI's fast, cost-efficient GPT-5.4 Mini for high-volume production, with vision, long context, and strong tool use at low latency.
- AlibabaSave 20%
Qwen3.6 Plus
Alibaba's Qwen3.6 Plus, a balanced flagship-tier model with strong reasoning, long context, multimodal input, and agentic tool use.
- AnthropicSave 20%
Claude Fable 5
Anthropic's Mythos-class frontier model, state-of-the-art across coding, agentic work, vision, and scientific research.
Affordable ERNIE 5.1 API
Access Baidu Wenxin's ERNIE 5.1 on Velokey — an efficient elastic-routing MoE sub-network with SOTA-class agentic ability, top-tier reasoning, and rich world knowledge, with a unified endpoint and below-list pricing for production apps.
Meet ERNIE 5.1 and its API access
ERNIE 5.1 is Baidu Wenxin's model released on May 9, 2026 — an efficient sub-network extracted from ERNIE 5.0 with about a third of its total parameters and half its active parameters, yet keeping leading performance. Built on an elastic-routing MoE architecture and pre-trained at only around 6% of the cost of comparable models, it delivers dramatically lower inference cost. It is strongly agentic, a top-tier reasoner, and rich in world knowledge and creative writing. Velokey provides an affordable, easy-to-integrate ERNIE 5.1 API: a unified chat endpoint, a clear request flow, and below-list pricing for production systems, agent pipelines, and automation tools.
Efficient sub-network, low inference cost
An efficient sub-network extracted from ERNIE 5.0 with about a third of its total parameters and half its active parameters; elastic-routing MoE and pre-training at only ~6% of comparable models dramatically reduce inference cost while keeping leading performance.
View Documentation →
SOTA-class agentic capability
Surpasses DeepSeek-V4-Pro on τ³-bench and SpreadsheetBench-Verified, autonomously running multi-tool workflows and spreadsheet tasks — well suited to reliable agent pipelines.
View Documentation →
Top-tier reasoning & math
Scores 99.6 on AIME26 with tool use, second only to Gemini 3.1 Pro, thanks to a disaggregated fully-asynchronous RL infrastructure and multi-stage post-training with Multi-Teacher On-Policy Distillation (MOPD).
View Documentation →
Rich world knowledge & creative writing
Approaches leading closed-source models on GPQA and MMLU-Pro for world knowledge and approaches Gemini 3.1 Pro on enhanced creative writing; ranks 4th globally on the Arena Search leaderboard — 1st among Chinese models.
View Documentation →
How to deploy the ERNIE 5.1 API on Velokey
Get started with just a few steps.
Sign up and get an API Key
Sign in to the Velokey console to generate an API Key that authenticates every request sent to ERNIE 5.1.
Configure request parameters
Set model to ernie-5-1 and submit messages. Enable tool use for agentic workflows and reasoning to get the most from its elastic-routing MoE efficiency.
Integrate and start calling
Send requests to Velokey's unified /v1/chat/completions endpoint to power assistants, agents, and automation, with usage managed in one console.
Real-world use cases for ERNIE 5.1
From engineering to enterprise processes, covering many high-autonomy scenarios.
Autonomous multi-tool agents
SOTA-class agentic ability surpassing DeepSeek-V4-Pro on τ³-bench — fit for agents that plan and call tools autonomously.
Spreadsheet & data automation
Surpasses DeepSeek-V4-Pro on SpreadsheetBench-Verified — fit for spreadsheet manipulation and data-processing automation.
Math, logic & complex reasoning
AIME26 99.6 with tool use — fit for math tutoring, logic analysis, and complex multi-step reasoning.
Knowledge Q&A & research
Approaches leading closed-source models on GPQA and MMLU-Pro — fit for knowledge assistants and research support.
Creative writing & content
Enhanced creative writing approaching Gemini 3.1 Pro — fit for storytelling, copy, and content generation.
Cost-sensitive high-volume workloads
Much lower inference cost from the efficient MoE sub-network — fit for high-volume production workloads on a budget.
Why choose Velokey for ERNIE 5.1
Discount on list price
Call ERNIE 5.1 at a lower price on Velokey — pay-as-you-go with no forced subscription, on top of its already low inference cost.
Unified API interface
One API Key accesses ERNIE 5.1 and other models — no juggling multiple accounts and keys, simplifying integration.
Complete docs and integration guidance
Endpoint references, parameter details, and examples help you adopt agentic tool use and reasoning smoothly.
Stable and highly available
Automatic failover and stable fallback routes maintain availability when the primary route is down, keeping production reliable.
API Reference
Complete API call examples and parameter descriptions
Endpoint
https://api.velokey.ai/v1/chat/completionsAuthentication
Bearer YOUR_API_KEYRequest Example
curl https://api.velokey.ai/v1/chat/completions \
-X POST \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ernie-5.1",
"messages": [{"role": "user", "content": "Hello!"}],
"temperature": 0.7
}'Response Example
{
"id": "req_abc123",
"model": "ernie-5.1",
"created": 1234567890,
"data": { ... }
}ERNIE 5.1 API FAQ
What is ERNIE 5.1 and how does it relate to ERNIE 5.0?
ERNIE 5.1 is an efficient sub-network extracted from ERNIE 5.0, using about a third of its total parameters and half its active parameters while keeping leading performance. Its elastic-routing MoE design means significantly lower inference cost, with pre-training at only ~6% of comparable models.
How strong is its agentic ability?
It surpasses DeepSeek-V4-Pro on τ³-bench and SpreadsheetBench-Verified, running multi-tool workflows and spreadsheet tasks autonomously and reliably — making it well suited to agent pipelines.
How good is it at reasoning and math?
It scores 99.6 on AIME26 with tool use, second only to Gemini 3.1 Pro, and approaches leading closed-source models on GPQA and MMLU-Pro for world knowledge.
How was it trained?
ERNIE 5.1 was trained with a new disaggregated fully-asynchronous RL infrastructure and multi-stage post-training that uses Multi-Teacher On-Policy Distillation (MOPD), and it also enhances creative writing, approaching Gemini 3.1 Pro.
How is it billed on Velokey?
This page's pricing area shows the current Velokey price, billed by input and output tokens with a discount on list price. Thanks to the efficient sub-network, its inference cost is much lower than the full-size model.
Start building with ERNIE 5.1 today
Use one API key to access low-cost, stable AI models through Velokey.