ERNIE 5.5 Flash Preview: Baidu's 280B Open Agentic Model, Explained
Baidu's ERNIE 5.5 Flash Preview packs 280B MoE parameters, FP4 quantization, and a 1M context window. Here's how it stacks up against rivals.

What is ERNIE 5.5 Flash Preview?
ERNIE 5.5 Flash Preview is an open-weight Mixture-of-Experts language model from Baidu, built on top of ERNIE 5.5 Flash Base. It has 280 billion total parameters with only 14 billion active per token, a 1 million token context window, and weights released under Apache 2.0. Baidu positions it as an agentic model tuned for coding, 3D modeling, spreadsheet and document work, and long-running video creation tasks, with benchmark scores that sit close to DeepSeek-V4.1-Flash and GLM-5.3 on several agentic and knowledge-work tests.
TL;DR
- ERNIE 5.5 Flash Preview is a 280B-parameter MoE model with 14B active parameters per token, released by Baidu as an intermediate post-training checkpoint rather than a finished product.
- The model uses FP4 quantization for its routed experts (MXFP4, running as W4A8), trained with quantization-aware training so inference and training numerics match without a post-hoc calibration step.
- It ships with a 1M-token context window, extended during mid-training from a 128K base, and supports speculative decoding through a new draft head called DSpark.
- On benchmarks it trades blows with DeepSeek-V4.1-Flash-1017 and GLM-5.3, beating them on several agentic coding and knowledge-work tests while trailing larger models like Claude Opus 5.5 on raw reasoning benchmarks like HLE.
- Baidu built the architecture around cheap long-context serving, using Heavily Compressed Attention on most layers and sparse attention on a handful of others to keep the KV cache small.
- The weights are available in three formats (FP4 experts, full FP8, and BF16), and the model deploys through SGLang or vLLM with documented commands for both.
Remy AI Engineer Certification
Companies want to build their own software.
Few people can build it right.
Become the one they trust.
- Access
- Audit trails
- Security
- Compliance
How is ERNIE 5.5 Flash Preview architected?
The model has 43 transformer layers: one dense layer plus 42 Mixture-of-Experts layers. Each MoE layer routes tokens to 10 of 512 routed experts plus one shared expert, which is how the model keeps 280B total parameters while only activating 14B per token. Hidden size is 4096, vocabulary is just over 201,000 tokens, and attention is split between two mechanisms: 37 layers use Heavily Compressed Attention (HCA) with a head dimension of 512, and 6 layers use a sparse attention variant called MLA-DSA with a head dimension of 256.
The split matters for serving cost. HCA layers cache one entry per 128 tokens of history instead of one per token, which keeps the KV cache small as context grows. The six DSA layers keep token-level history but use a lightweight indexer to select only the highest-scoring 2,048 positions to attend to at each step, rather than scanning the full context. Baidu says this combination, plus a head-routing module that only computes indexer scores for a subset of heads per query, gives a 40% speedup at the full 1M-token context length compared to a naive implementation.
Thinking mode is on by default, with a reasoning_effort setting (low, medium, high) that can be adjusted, and can be disabled entirely for latency-sensitive use.
What does FP4 quantization actually mean here?
Most of ERNIE 5.5 Flash Preview’s parameters live in its routed experts, and those are stored in MXFP4 and run as W4A8: 4-bit weights, 8-bit activations. This isn’t a quantization applied after training finishes. Baidu trained the quantization into the model during post-training, using what it calls W4A8 quantization-aware training, where the “fake quantization” used during training matches the exact granularity, scaling, and rounding rules used at inference time.
The practical effect is that training and inference see the same numerics, so there’s no accuracy gap to patch after the fact, and the released weights can be deployed directly in W4A8 without a separate calibration pass. Everything outside the routed experts (attention weights, embeddings, and so on) stays in blockwise FP8, the KV cache runs in FP8, and the sparse attention indexer runs in FP4. Baidu publishes the weights in three repositories: a default FP4-expert version, a full FP8 version for hardware without FP4 kernels, and a BF16 version recommended as the starting point for fine-tuning.
How does speculative decoding work in this model?
Alongside quantization, ERNIE 5.5 Flash Preview’s speed comes from a draft head called DSpark. Speculative decoding works by having a small draft model propose several tokens ahead, which the main model then verifies in a single pass instead of generating token by token. DSpark proposes a whole block of tokens in parallel, rather than one at a time.
Live class · Wed, Dec 2
$40,000+/mo
in SaaS spend the Remy team cut by building its own apps with AI.
We'll show you how.
Bring an idea.
Build it live.
Leave certified.
Baidu trained DSpark alongside an earlier autoregressive drafting method called ECHO (multi-token prediction), noting that the two approaches do better on different kinds of output: autoregressive drafting tends to win on low-entropy text, parallel drafting on high-entropy text. The Preview release ships with DSpark only; a future release is expected to offer both. With seven draft steps, Baidu reports an average acceptance length above 5.5 tokens on real-world multi-turn conversations, and says online distillation after training raised DSpark’s production acceptance length by more than 10%. The practical recommendation is larger draft blocks (up to 7 tokens) at low concurrency and smaller blocks (2 to 3 tokens) at high concurrency, since the tradeoffs between draft size and GPU utilization shift as more requests queue up.
How does it compare to DeepSeek, GLM, and Claude on benchmarks?
Baidu’s own evaluation table covers 20 benchmarks across four categories: agentic coding, knowledge work, general agent tasks, and reasoning. The comparison set includes DeepSeek-V4.1-Flash-1017, GLM-5.3 and GLM-5.3-Flash, GPT-6.1 Sol, Claude Opus 5.5, and a model labeled Hy4.
In agentic coding, ERNIE 5.5 Flash Preview scores 46.5 on Terminal-Bench 4.0, ahead of DeepSeek-V4.1-Flash’s 42.3 and GLM-5.3’s 41.8, but well behind Claude Opus 5.5’s 66.4. On DeepSWE v1.1 it scores 71.2, trailing both DeepSeek (77.0) and Hy4 (74.9) but ahead of both GLM variants. In knowledge work, it leads the comparison set on AutomationBench (61.9 versus DeepSeek’s 60.5 and Claude’s 58.0) and on OfficeQA Pro V2 (67.9, ahead of every model except GPT-6.1 Sol). In general agent tasks it posts strong numbers on MCP-Atlas (84.6) and BrowseComp (87.4), close to or ahead of most peers but behind Hy4 on BrowseComp.
On pure reasoning benchmarks, the gaps widen. On HLE (Humanity’s Last Exam, text-only subset) it scores 46.4, roughly in line with DeepSeek and GLM-5.3 but well below Claude Opus 5.5’s 61.4 and GPT-6.1 Sol’s 52.9. The pattern across the table is consistent: ERNIE 5.5 Flash Preview is competitive with, and sometimes ahead of, similarly-sized open models like DeepSeek-V4.1-Flash and GLM-5.3, but the larger frontier models still hold a clear edge on raw reasoning and the hardest coding benchmarks.
Is ERNIE 5.5 Flash Preview worth deploying now?
That depends on what “now” means. Baidu is explicit that this release is an intermediate checkpoint from an unfinished post-training run, not a final model. The card states some capabilities may still fall short of what the finished ERNIE 5.5 Flash will deliver, and that Baidu is still collecting feedback before the official release.
For teams already running DeepSeek or GLM-class open models in agentic workflows, ERNIE 5.5 Flash Preview is worth benchmarking directly against those, since it’s comparably sized (280B total, 14B active) and licensed the same way (Apache 2.0). Its advantages show up most clearly in long-context and knowledge-work tasks, aided by the 1M-token window and training across hundreds of thousands of real workspace environments covering finance, legal, and office-document work. Teams that need top-tier reasoning performance, or coding scores closer to Claude Opus 5.5 or GPT-6.1 Sol, will still find a gap. The model supports production deployment today through SGLang or vLLM with documented configurations for both, including the DSpark speculative decoding setup, so the infrastructure path is not experimental even if the model itself is labeled a preview.
Frequently Asked Questions
What does “Flash” mean in ERNIE 5.5 Flash Preview?
Flash refers to the specific ERNIE 5.5 variant optimized for fast, cheap serving via its architecture (compressed attention, FP4 expert quantization, and speculative decoding), as distinct from larger, slower ERNIE 5.5 variants Baidu may release separately.
How many parameters does ERNIE 5.5 Flash Preview activate per token?
Built like a system. Not vibe-coded.
Remy manages the project — every layer architected, not stitched together at the last second.
It has 280 billion total parameters but activates only 14 billion per token, since it’s a Mixture-of-Experts model that routes each token to 10 of 512 experts plus one shared expert.
Can I fine-tune ERNIE 5.5 Flash Preview?
Yes. Baidu recommends starting from the BF16 weight repository for fine-tuning, since the default repository ships FP4 expert weights intended for direct inference deployment rather than further training.
How does FP4 quantization affect accuracy?
Baidu trained the FP4 quantization into the model directly through quantization-aware training during post-training, matching the training-time fake quantization to the exact rules used at inference. This is meant to avoid the accuracy drop that typically comes from quantizing a model after it’s already been trained in higher precision.
Is ERNIE 5.5 Flash Preview better than DeepSeek or GLM?
It depends on the task. Baidu’s own benchmarks show it ahead of DeepSeek-V4.1-Flash and GLM-5.3 on several knowledge-work and agentic benchmarks (like AutomationBench and OfficeQA Pro V2), but behind DeepSeek on others (like DeepSWE v1.1), and behind Claude Opus 5.5 on most reasoning-heavy tests across the board.