ERNIE 5.5 Flash Preview: 280B MoE Specs, Qianfan Access, and Pricing
ERNIE 5.5 Flash Preview is Baidu's first post-trained ERNIE 5.5 checkpoint: 280B total parameters, 14B active per token, 1M context, 200+ tokens/s, text-only, and available on Qianfan. It takes first place on MCP-Atlas (84.6), AutomationBench (61.9), and SpreadsheetBench V2 (36.4) but trails on Terminal-Bench 4.0 (46.5). The official release is not out, Preview weights were not open-sourced at time of writing, and no public third-party Chinese-ability score exists.
View 16 referencesAllow the functional cookie to save your likes. Privacy details
ERNIE 5.5 Flash Preview: what Baidu actually shipped
The product behind the name "ERNIE 5.5 Flash" is ERNIE 5.5 Flash Preview, the first post-trained checkpoint of Baidu's ERNIE 5.5 family, published on November 11, 2026 — the day before Baidu World — on the official release page.
It is not a GA model. Baidu calls it "an intermediate version produced during post-training" and warns that "capability defects caused by insufficient training may still exist." No final version has shipped, Preview stays in the official model ID, and no non-preview endpoint exists.
Lineage: ERNIE 4.x (4.0 / 4.5 Turbo) → ERNIE 5.0 (February 2026; a 2.4-trillion-parameter unified multimodal base model) → ERNIE 5.1 (GA on May 9; 1,223 points, fourth worldwide and first in China on the Arena search leaderboard) → ERNIE 5.5 Flash Base (November 5; open-sourced pre-training endpoint weights) → ERNIE 5.5 Flash Preview (November 11; API live on Qianfan).
5.5 is a fork, not a sequel: 5.0 was a 2.4T unified multimodal model, 5.1 compressed it while keeping flagship intelligence, and 5.5 Flash goes the other way — 280B total parameters, 14B activated per token, a small-activation, heavy-engineering bet.
Specifications
| Item | ERNIE 5.5 Flash Preview |
|---|---|
| Total / active parameters | 280B / 14B activated per token (sparse MoE) |
| Context length | 1M tokens (the Qianfan product page lists 64K default output) |
| Modality | Text in, text out. The release notes state that "as a text-only model, it cannot see images" |
| Generation speed | 200+ tokens/s official (FP4 expert weights plus a draft head) |
| Status | Preview; an intermediate post-training checkpoint |
| Architecture | 43-layer Transformer, hidden size 4096, 64 heads; MLA + HCA hybrid sparse attention; 512 routed experts with top-10 selection plus 1 shared expert; ECHO in place of MTP |
| API access | Baidu Qianfan (ernie-5.5-flash-preview), OpenRouter (baidu/ernie-5.5-flash-preview:free) |
| Open weights | Apache 2.0 promised before November 25; at the time of writing the Hugging Face Preview repo is not accessible, and only Base weights have shipped |
The Base model was pretrained from scratch on 33.5T tokens with a maximum training context of 128K; fine-tuning and inference extend that to 1M. The Preview on Qianfan is post-trained on those weights.
Benchmarks: strong on tooling, weak on long-horizon coding
Baidu's table is self-reported: several competitor scores carry an asterisk marking them vendor-run, and no independent party has reproduced them. The comparison set is Claude Opus 5.5, GPT-6.1 Sol, Tencent Hy4, DeepSeek-V4.1-Flash-1017, and GLM-5.3, transcribed from the official release appendix, Neural Daily, and NetEase Tech.
| Benchmark | ERNIE 5.5 Flash Preview | DeepSeek-V4.1-Flash | GPT-6.1 Sol | Claude Opus 5.5 |
|---|---|---|---|---|
| Terminal-Bench 4.0 | 46.5 | 40.9–42.3 | 56.1 | 63.6–66.4 |
| DeepSWE v1.1 | 71.2 | 77.0 | 75.2 | 74.2 |
| AutomationBench | 61.9 (first) | 60.5 | 49.3 | 58.0 |
| MCP-Atlas (tool calls) | 84.6 (first) | 77.8 | 81.0 | 84.2 |
| SpreadsheetBench V2 | 36.4 (first) | — | — | 35.1 |
| BrowseComp | 87.4 | 80.3 | 87.5 | 90.8 |
| HLE (no tools, text-only subset) | 46.4 | — | — | 61.4 |
Some cells are ranges because the appendix is an image table that outlets transcribed differently: Opus 5.5 reads both 63.6 and 66.4 on Terminal-Bench 4.0, DeepSeek 40.9 and 42.3. NetEase adds 67.9 on OfficeQA-Pro V2, second only to GPT-6.1 Sol.
The split is clean: tool calling and orchestration lead (first on MCP-Atlas, AutomationBench, SpreadsheetBench V2), while long-horizon terminal coding lags — 46.5 on Terminal-Bench 4.0 trails Opus 5.5 by a tier, 71.2 on DeepSWE v1.1 sits below DeepSeek-V4.1-Flash.
Chinese-language ability has no public independent score. The SuperCLUE November 2026 general Chinese leaderboard covers 19 models and excludes this one; Baidu published no SuperCLUE result either. Treat Chinese-quality claims as unverified until a third party runs it.
Demos lean on end-to-end delivery: 11 hours writing a third-person game in C++ in UE 5.8, two agents building an airport and an aircraft via the Blender Python API, and a 116-second 2D short in pure Python. Baidu also cites 14 million executable code tasks and 300,000 finance and legal workspaces.
The Qianfan function-calling docs already list ernie-5.5-flash-preview as supported, with tools plus tool_choice in both forcing modes (required and named function), and note the built-in prompt template adds roughly 300 tokens to prompt_tokens. On OpenRouter the measured tool-call error rate is about 0.79%, but the structured-output error rate is 21.06% — add schema validation and retries if you depend on strict JSON.
Running it on Qianfan
Qianfan ModelBuilder speaks the OpenAI protocol, so the OpenAI SDK works once you change base_url. The official quickstart pairs the Qianfan v2 endpoint with a Bearer bce-v3/ALTAK-xxx/xxx key.
pip install openai
export QIANFAN_API_KEY="bce-v3/ALTAK-yourAccessKey/yourSecretKey"
Minimal request:
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["QIANFAN_API_KEY"], # Qianfan bearer token
base_url="https://qianfan.baidubce.com/v2", # OpenAI-compatible Qianfan endpoint
)
resp = client.chat.completions.create(
model="ernie-5.5-flash-preview",
messages=[
{"role": "system", "content": "You are a senior technical editor."},
{"role": "user", "content": "Explain active parameters in a sparse MoE, in three sentences."},
],
max_tokens=1024,
)
print(resp.choices[0].message.content)
print(resp.usage)
Streaming with the separate reasoning channel:
stream = client.chat.completions.create(
model="ernie-5.5-flash-preview",
messages=[{"role": "user", "content": "Write a Python quicksort."}],
stream=True,
stream_options={"include_usage": True},
)
for chunk in stream:
if chunk.choices:
delta = chunk.choices[0].delta
if getattr(delta, "reasoning_content", None):
print(f"[thinking] {delta.reasoning_content}", end="", flush=True)
if delta.content:
print(delta.content, end="", flush=True)
Tool calling, end to end:
import json
from openai import OpenAI
client = OpenAI(
api_key=os.environ["QIANFAN_API_KEY"],
base_url="https://qianfan.baidubce.com/v2",
)
tools = [{
"type": "function",
"function": {
"name": "get_weather",
"description": "Current weather for a city",
"parameters": {
"type": "object",
"properties": {
"location": {"type": "string", "description": "City name, down to district level"},
},
"required": ["location"],
},
},
}]
messages = [{"role": "user", "content": "What is the weather in Shanghai right now?"}]
resp = client.chat.completions.create(
model="ernie-5.5-flash-preview",
messages=messages,
tools=tools,
tool_choice="auto",
)
msg = resp.choices[0].message
if msg.tool_calls:
for tc in msg.tool_calls:
args = json.loads(tc.function.arguments)
result = {"location": args["location"], "temperature": "25", "unit": "celsius"}
messages.append({
"role": "assistant",
"content": msg.content or "",
"tool_calls": [{
"id": tc.id,
"type": "function",
"function": {"name": tc.function.name, "arguments": tc.function.arguments},
}],
})
messages.append({
"role": "tool",
"tool_call_id": tc.id,
"name": tc.function.name,
"content": json.dumps(result, ensure_ascii=False),
})
final = client.chat.completions.create(
model="ernie-5.5-flash-preview",
messages=messages,
tools=tools,
)
print(final.choices[0].message.content)
else:
print(msg.content)
No Baidu Cloud account? OpenRouter serves it free: point base_url at openrouter.ai/api/v1 and set model to baidu/ernie-5.5-flash-preview:free. The free tier is throttled hard — 20 requests per minute, 50 per day — with P50 throughput around 83 tokens/s and ~2.5 s latency, well short of the official 200+ tokens/s. Benchmark against Qianfan, not the free endpoint.
Pricing in CNY
Per the Qianfan product page's promotional table, every tier is 50% off until November 30 at 23:59:59, with a further halving in idle hours:
| Billing item | 50% off, peak 08:00–22:00 | 50% off, idle 22:00–08:00 | List price (peak / idle) |
|---|---|---|---|
| Input | ¥1 per million tokens | ¥0.5 per million tokens | ¥2 / ¥1 |
| Cached input | ¥0.1 per million tokens | ¥0.05 per million tokens | ¥0.2 / ¥0.1 |
| Output | ¥4 per million tokens | ¥2 per million tokens | ¥8 / ¥4 |
Idle input bottoms out at ¥0.5, idle output at ¥2 per million tokens; list prices return when the discount expires. The international Qianfan price sheet is in USD without the cut: $0.28 input, $0.028 cached input, $1.13 output per million tokens — matching the list peak tier.
For reference, ERNIE 5.1 lists $0.56 input (≤32K) and $0.84 above 32K, with output at $2.53 / $3.10. DeepSeek-V4.1-Flash-1017 lists $0.28 input and $1.13 output. ERNIE 5.5 Flash Preview's prices align almost exactly with DeepSeek-V4.1-Flash-1017.
When to use it, and when to route elsewhere
Use it when:
- You run high-volume agent tool calls and orchestration: three first-place finishes and roughly 0.79% tool-call errors, ahead of closed flagships here.
- You need a whole repository or document set inside 1M tokens, with history surviving multi-turn tool loops.
- Cost dominates at volume: pricing tracks DeepSeek-V4.1-Flash, and idle hours halve it again.
- You need private deployment. Apache 2.0 is promised, and the official examples cover vLLM and SGLang.
Route elsewhere when:
- The hardest long-horizon terminal coding matters. Terminal-Bench 4.0 and DeepSWE both trail same-class DeepSeek and the closed flagships; critical-path refactors still belong to Opus- or GPT-class models.
- You need multimodality. Images, audio, and video never enter the context. Use ERNIE 5.0 or Qianfan's vision services.
- Deep research or creative writing. ERNIE 5.1 is the flagship long-form option; 5.5 Flash spends its skill tree on coding.
- The workload is lightweight and cost-sensitive. The ERNIE-Speed / Lite / Tiny presets stay free for real-name-verified users, and 8K–128K of context covers plenty.
- You want general reasoning with explicit thinking. ERNIE-Light-DT-1.0 uses a proprietary BSA sparse attention to cut context cost, supports up to 128K output with a toggleable thinking mode, and lists at ¥8 input / ¥28 output per million tokens.
Known limitations
- It is not GA. Baidu calls it an intermediate checkpoint and warns of defects from insufficient training. Do not hard-code the model version in production.
- No independent reproduction. Scores are Baidu's own, competitor numbers are largely vendor-run and asterisked, and SuperCLUE omits the model.
- Text only, blind to images. Visual bugs can be fixed only indirectly, through measurable code tests, and anything they miss stays invisible.
- High structured-output error rate. About 21.06% in OpenRouter's measurement; add validation and retries for strict schemas.
- Weights have not landed. Apache 2.0 is promised before November 25, but the Preview repository was inaccessible at the time of writing; the Base weights carry a custom license, so check terms before commercial use.
- Real-name verification, positive balance. Qianfan accounts must pass identity verification before activation, and a negative balance returns 403.
- Regional limits. OpenRouter flags that in-region EU routing is not supported.
- Three conflicting speed figures. 200+ tokens/s official, close to 350 tokens/s peak in third-party tests, and 83 tokens/s P50 on shared endpoints. Do not size capacity off the official number.
Bottom line
ERNIE 5.5 Flash Preview is Baidu's cheap, fast, capable workhorse: 280B total parameters, 14B active, 1M context, 200+ tokens/s. Tool calling and orchestration are already top tier; long-horizon terminal coding still trails peers. Discounted Qianfan input runs as low as ¥0.5 per million tokens, and integration is one base_url swap. For production, wait for GA — or make the model name configurable.
References
- ERNIE 5.5 Flash Preview 发布 · 文心大模型(百度官方发布页)ernie.baidu.com
- ERNIE 5.5 Flash Preview 发布 · 文心大模型(英文版官方发布页)ernie.baidu.com
- ERNIE 5.5 Flash Base · 文心大模型(百度官方发布页,含模型结构与许可)ernie.baidu.com
- 文心三款新模型上架百度千帆,覆盖全模态生产力(百度智能云产品页,含定价)cloud.baidu.com
- 快速开始 - ModelBuilder(百度 AI 开放平台,含 OpenAI 兼容调用示例)ai.baidu.com
- Function calling 用法说明(千帆文档,含 ernie-5.5-flash-preview 支持列表)cloud.baidu.com
- Price - QianfanBaidu(千帆国际站价格文档)intl.cloud.baidu.com
- ERNIE 5.1 正式发布!多榜登顶,模型“写得好更懂你”(百度官方)ernie.baidu.com
- 百度文心大模型博客(ERNIE 版本发布时间线)ernie.baidu.com
- 八项测试拿两项第一,文心一周连出三张牌(网易科技 / 灰度测试中)www.163.com
- 纯代码造《后室》,116秒切20种画风!文心新模型玩嗨了(量子位)www.qbitai.com
- SuperCLUE 通用中文大模型测评榜单(2026 年 11 月)www.superclueai.com
- Baidu: ERNIE-5.5-Flash-Preview (free) — OpenRouter 模型页(性能与可用性数据)openrouter.ai
- 千帆 ModelBuilder 部分 ERNIE 系列模型免费开放公告(ERNIE-Speed/Lite/Tiny)ai.baidu.com
- ERNIE 5.5 Flash Preview: 14B active, 1M context(Neural Daily 评测转录)www.neuraldaily.news
- Hugging Face · baidu/ERNIE-5.5-Flash-Preview(发稿时仓库尚未开放)huggingface.co