Skip to content
AIBRAINWORX / OpenSourceCoder.comLOCAL-FIRST. BUILT IN THE OPEN.
Text & Coding LLMs / Inference & Quantization

Baidu Releases Apache-2.0 ERNIE-5.5-Flash-Preview 280B MoE Model with 1M Context

Baidu open-sources ERNIE-5.5-Flash-Preview under Apache-2.0, pairing a 280B MoE architecture (14B active), MXFP4/FP8 quantization, DSpark speculative decoding, and a 1M-token context window.

Listen to this articleBrowser Voice
Ready
Official company logo or product image for baidu-ernie-5-5-flash-preview-apache-2-0-moe-release
Official image or organization logo from huggingface.co; identification only, no endorsement.
Event / context: 2026-11-23. Source check: October 28, 2026.

Baidu has released ERNIE-5.5-Flash-Preview on Hugging Face under the Apache-2.0 license, publishing the first post-trained checkpoint built on its ERNIE 5.5 Flash Base foundation model. Designed as a sparse Mixture-of-Experts (MoE) text-generation model with 280 billion total parameters and 14 billion active parameters per token, the preview targets long-horizon agentic workflows across software development, 3D scripting, knowledge work, and automated video pipelines.

According to Baidu's model card, the checkpoint keeps the architecture and 201,216-token vocabulary of ERNIE 5.5 Flash Base while extending the training context window from 128K to 1,048,576 tokens during mid-training. Because post-training is still underway, Baidu describes the release as an intermediate checkpoint intended to gather community feedback before the official ERNIE 5.5 Flash release.

Architecture, Quantization, and Speculative Decoding Specs

ERNIE-5.5-Flash-Preview employs a 43-layer transformer stack comprising one dense layer and 42 MoE layers with a hidden size of 4096. Each MoE layer routes tokens across 512 experts using top-10 selection plus one shared expert, keeping per-token compute at 14 billion parameters. Its attention mechanism pairs 37 HCA layers (head dimension 512) with 6 MLA-DSA layers (head dimension 256) across 64 heads, supported by a lightweight FP4 DSA indexer.

To keep million-token inference viable on modern clusters, Baidu incorporates several serving optimizations directly into the checkpoint:

  • W4A8 Quantization-Aware Training: The default release ships blockwise FP8 weights with MXFP4 routed experts, an FP8 KV cache, and an FP4 DSA indexer.
  • DSpark Draft Head: An integrated speculative decoding head accelerates token generation during extended agent runs with minimal accuracy loss.
  • Configurable Reasoning Effort: Thinking mode is active by default at high effort and can be tuned via reasoning_effort (low, medium, or high) or disabled with enable_thinking: false.

Self-Reported Benchmarks and Agentic Scope

Baidu positions the preview for multi-hour autonomous tasks rather than short chat turns. The model card highlights coding capabilities across Unreal Engine 5.8, Unity, and Godot, reporting an internal 11-hour session that generated a C++ third-person wuxia game and nearly 100 mobile mini-games from design documents. Because the model is strictly text-in and text-out, its stated 3D design and video workflows operate by writing Blender and CAD scripts or orchestrating external assets, backed by training across 300,000 knowledge-work workspaces holding 10 million reference files and more than 150,000 video creation environments.

In Baidu's internal evaluations—conducted at maximum reasoning effort using official harnesses, Codex, DSH, or Claude Code depending on the baseline—ERNIE-5.5-Flash-Preview scored 46.5 on Terminal-Bench 4.0, 71.2 on DeepSWE v1.1, 29.5 on ProgramBench (Almost Solved), 64.8 on NL2Repo-Bench, 21.0 on Terminal-Bench-Science 0.1, 88.2 on CookieBench, and 79.0 on text-only BlenderWorld. On Terminal-Bench 4.0, Baidu's 46.5 score leads its internal runs of DeepSeek-V4.1-Flash-1017 (40.9) and Hy4 (42.4), while trailing reported results for GPT-6.1 Sol (56.1) and Claude Opus 5.5 (66.4).

Developer Integration and Deployment Options

For open-source developers, the release emphasizes immediate compatibility with mainstream serving frameworks. Retaining the ERNIE 5.5 Flash Base architecture allows existing tooling to transfer directly, with documented support for Hugging Face transformers, OpenAI-compatible /v1/completions serving in vllm and sglang (including the lmsysorg/sglang:latest Docker image), and Docker Model Runner. Community quantizations for llama.cpp, Ollama, and LM Studio are also linked from the repository.

Baidu distributes three weight variants on Hugging Face and ModelScope to match different hardware stacks: the default FP8-plus-FP4 repository for FP4-capable accelerators, ERNIE-5.5-Flash-Preview-FP8 for GPUs lacking FP4 kernels, and ERNIE-5.5-Flash-Preview-BF16 as both a hardware fallback and the recommended starting point for fine-tuning. Because all three repositories bundle the DSpark draft head and full 1M context support, teams moving from BF16 fine-tuning to quantized FP8 or FP4 serving keep identical tokenization and architecture.

Hardware Constraints and Preview Caveats

Despite the permissive Apache-2.0 license and 14B active parameter count, hosting a 280B-parameter MoE checkpoint with a 1M-token context window remains hardware-intensive. SGLang's reference container configuration assumes multi-GPU access with 32GB of shared memory (--shm-size 32g), keeping full-weight deployment anchored to enterprise GPU nodes unless developers rely on downsized local quantizations.

Teams evaluating the checkpoint should also account for two methodological limits. First, Baidu cautions that post-training is ongoing and certain capabilities remain unfinished in this preview. Second, the reported benchmark comparisons mix third-party leaderboard figures with Baidu's own test runs across different agent harnesses, so engineering teams should verify coding and scripting performance on their own workloads rather than treating preview benchmarks as independently audited results.

Automated Vertex AI (gemini-4-hydrogen) primary-source report; reviewed 2026-11-24.

Follow your curiosity.

Pass the signal.