Baidu Opens ERNIE 5.5 Flash Preview Weights: 280B Parameters, 1M Context, Apache 2.0 License
Baidu has published the ERNIE 5.5 Flash Preview weights on Hugging Face under Apache 2.0, as an intermediate checkpoint still in training. This article covers specs, benchmarks, deployment and limits.
News date: About 7 min read
Contents
Baidu has published the model weights for ERNIE 5.5 Flash Preview on Hugging Face (the files produced by training, which you can download and run yourself). The weights use the Apache 2.0 license, which Decrypt reports permits commercial use, modification and redistribution. This release is a preview-stage intermediate checkpoint, meaning a version saved partway through training rather than the final release. For developers, it means a large model they can download and deploy themselves, aimed at long-running coding tasks and agent work (AI that plans and carries out multi-step tasks on its own). However, self-hosting needs substantial hardware, and all benchmark figures are vendor-run.
What was released, and how is it different from before?
According to Baidu's model card, ERNIE 5.5 Flash Preview is the first post-trained model built on ERNIE 5.5 Flash Base, meaning it was given further training on top of the base model to add new capabilities. It is a mixture-of-experts (MoE) language model; Decrypt explains that this architecture splits the neural network into multiple specialized sub-networks. It has 280B total parameters (the values learned during training), of which only 14B are active when processing each token (the basic unit of text a model handles). The context window is 1M tokens, the amount of text it can read at once. The model card says mid-training extended the training context length from 128K to 1M. Decrypt reports that Baidu had already launched the model on its cloud platform nearly two weeks earlier, and has only now opened the weights for download.
The model card lists these training focuses: programming and game development, 3D modeling, knowledge work (spreadsheets, documents, slides) and video creation. Baidu says that in one 11-hour coding task the model wrote a complete third-person wuxia game in C++ on Unreal Engine 5.8, and also built nearly 100 mobile mini-games from game design documents. The model takes text in and produces text out; Decrypt adds that it cannot natively process images.
The model card says thinking mode is on by default, meaning the model reasons before answering, and it can be turned off with enable_thinking: false. When on, reasoning_effort can be low, medium or high, with high as the default.
How open is it? Licenses and versions
The model card states that the Preview uses Apache License 2.0, but that license covers only the Preview weights; ERNIE 5.5 Flash Base remains under its own Base Model License Agreement v1.0. Decrypt notes the model is technically "open-weight" rather than fully open source, because what was released is not enough to reproduce the training. Baidu provides weights in three precisions: FP4, FP8 and BF16 denote the bit precision used to store values; fewer bits mean smaller files and lower memory use, but require hardware support (FP4 kernels are the low-level software routines a GPU needs to run the 4-bit format).
| Version | Weight precision | Context | Use case (per model card) |
|---|---|---|---|
| ERNIE-5.5-Flash-Preview (default) | FP8 (blockwise) + FP4 experts, with DSpark draft head | 1M | Default repository; needs hardware with FP4 kernel support |
| ERNIE-5.5-Flash-Preview-FP8 | FP8 (blockwise), with DSpark draft head | 1M | Hardware without FP4 kernels |
| ERNIE-5.5-Flash-Preview-BF16 | BF16, with DSpark draft head | 1M | Hardware without FP4 kernels; starting point for fine-tuning |
Decrypt reports that Baidu's international API is priced at $0.28 per million input tokens and $1.13 per million output tokens, with a free tier also available on OpenRouter. For actual prices and terms, refer to announcements from Baidu and the platforms.
Can the benchmarks be trusted? How does it compare?
Baidu says all ERNIE 5.5 Flash Preview scores come from its own evaluation, and that all models were tested at the highest available reasoning setting. Decrypt cautions that these are vendor-reported results, and that some competitors were evaluated in different software environments, so they should not be treated as independent verification.
| Benchmark | ERNIE 5.5 Flash Preview | GPT-6.1 Sol | Claude Opus 5.5 |
|---|---|---|---|
| Terminal-Bench 4.0 | 46.5 | 56.1 | 66.4 / 63.6* |
| AutomationBench | 61.9 | 49.3* | 58.0* |
| APEX-Agents 1.1 | 64.2 | 60.0 / 59.2* | 73.5 / 72.9* |
| Terminal-Bench-Science 0.1 | 21.0 | 57.0 | 63.3 |
By these numbers, ERNIE scores higher on AutomationBench than both GPT-6.1 Sol and Claude Opus 5.5 as listed. On APEX-Agents it is above GPT-6.1 Sol but below Claude Opus 5.5. On Terminal-Bench 4.0 and Terminal-Bench-Science it trails both. In other words, results vary by task.
What to know before deploying it yourself
The model card says the model can be served with SGLang or vLLM. The example commands set a 131,072-token context; for longer inputs, raise --context-length (SGLang) or --max-model-len (vLLM), both of which support up to 1,048,576 tokens. Decrypt cautions that running it yourself takes a lot of hardware, with the smallest official version at about 166 GB.
On efficiency design, the model card says routed experts are stored in MXFP4 and run with W4A8 (4-bit weights, 8-bit activations). The model also ships with a DSpark draft head for speculative decoding: the draft head proposes the next few tokens and the main model verifies them in one pass. The model card recommends draft blocks of up to 7 tokens at low concurrency (fewer simultaneous requests) and 2–3 at high concurrency. Baidu also says its indexer design yields a 40% speedup at 1M context. Decrypt quotes Baidu as saying the model can generate more than 200 tokens per second.
Getting started: steps listed in the model card
The following are only the installation steps listed in the model card's vLLM section; see the original page for full parameters.
uv venv --python 3.12 ernie5-venv
source ernie5-venv/bin/activate
uv pip install vllm==0.32.0
uv pip install git+https://github.com/baidu/vLLM-ERNIE.gitFrequently asked questions
Can ERNIE 5.5 Flash Preview be used commercially?
Decrypt reports that the Apache 2.0 license permits commercial use, modification and redistribution. The model card says the license covers only the Preview weights, and ERNIE 5.5 Flash Base falls under a separate license. Read the original license text before commercial use.
Is this the final release?
No. Baidu calls it an intermediate post-training checkpoint still in training; Decrypt reports Baidu has not announced a release date for the final ERNIE 5.5 Flash.
Can it process images?
The model card lists text input and text output as its modality; Decrypt also notes the model cannot natively process images.
How do I fine-tune it?
The model card recommends NVIDIA Megatron-Bridge, starting from the BF16 repository.
Is there another way for regular users who don't want to self-host?
Decrypt reports the model is available through Baidu's international API, and OpenRouter also has a free tier. Availability in your region and usage terms depend on each platform's announcements.
Found this guide helpful? Share it with someone who needs it
S&P May Cut Nvidia's Credit Rating From AA to AA- Over Governance and Key-Man Risk; Review Due Within 90 Days
TechCrunch reports S&P Global Ratings is considering downgrading Nvidia's credit rating over governance concerns and heavy reliance on CEO Jensen Huang. The review is expected within 90 days; no decision has been made.
GitHub Copilot Code Review Billing Defaults to the Organization from Dec. 30 (Business/Enterprise)
Anthropic CEO Amodei Calls 'Surrendering Human Control' Claim Absurd, Says 'We May Want Limits' on Recursive Self-Improvement; Anthropic Says Claude Wrote Over 80% of Its Merged Code
New York Bans Toys With Built-In AI Chatbots for Five Years; Law Takes Effect 90 Days After Signing
Sources
- baidu/ERNIE-5.5-Flash-Preview · Hugging FaceChecked:
- baidu/ERNIE-5.5-Flash-Preview · Hugging FaceChecked:
- baidu/ERNIE-5.5-Flash-Preview · Hugging FaceChecked:
- baidu/ERNIE-5.5-Flash-Preview · Hugging FaceChecked:
- China's Google Just Released Its Fast New AI Model for Free - DecryptChecked:
Compiled from the references and verification dates listed above; fares, schedules, product features, and terms can change, so please confirm the latest details on the relevant official website before travelling, booking, or purchasing.