# ERNIE 5.5 Flash Preview weights: FP4, FP8 or BF16 for vLLM?

Choose a Baidu ERNIE 5.5 Flash Preview checkpoint, size the inference hardware, and check reasoning, tool calls and context before self-hosting.

By Paras Madan | 2026-11-24


The weights for Baidu's ERNIE 5.5 Flash Preview are now available. That's a separate release from the [November 11 API preview](/blog/ernie-5-5-flash-preview-api-access-base-comparison). If you've already evaluated it through a hosted API, you can now decide whether it makes sense to run the post-trained model yourself.

Start with the checkpoint name. Flash Base is a different release with its own license and completion behavior. The [Preview announcement](https://ernie.baidu.com/release/ernie-5-5-flash-preview/) identifies Preview as the intermediate post-trained checkpoint and names Apache 2.0 for its weights. Baidu's [serving repository](https://github.com/baidu/vLLM-ERNIE) lists three Preview downloads. Match the license and the serving instructions to the one you actually use.

## Choose the checkpoint before renting GPUs

| Preview variant | Baidu's approximate weight size | What to check first |
| --- | ---: | --- |
| [Default mixed FP4/FP8](https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview) | 155 GB | Your GPUs and kernels support the low-precision path you plan to run. |
| [FP8](https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview-FP8) | 280 GB | You have memory for the larger weights and a kernel supported on your GPUs. |
| [BF16](https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview-BF16) | 560 GB | The full-precision weights fit your planned layout before you reserve room for serving. |

Those estimates are Baidu's weights-only sizing figures, not exact repository download sizes or a runtime memory budget. Check the files for the revision you intend to download. The model has 280B parameters in total and activates about 14B per token. The smaller number explains why each token doesn't need every expert, but the server still has to make the other experts available.

Baidu's table for 80 GB GPUs starts at four cards for FP4 and eight for FP8. These are sizing starting points, not a promise about context or concurrency. Add room for the key-value cache, serving overhead and temporary memory to process large prompts. If your main constraint is a single consumer GPU, the published configurations are the wrong starting point.

## Use the Preview serving recipe

The [Baidu and vLLM integration guide](https://vllm.ai/blog/2026-11-18-ernie-5-5-flash-preview) pairs vLLM 0.32.0 with the separate vLLM-ERNIE plugin. Install both in the same isolated environment. If startup reports that the ERNIE architecture is unsupported, check plugin discovery before changing the model or redownloading the weights.

The Preview recipe uses the `ernie5` reasoning and tool-call parsers. It requires the runtime to execute code from the model repository; review and pin the code you plan to run rather than granting that trust to a moving revision on a production host. Keep a first evaluation endpoint private.

Start with a plain Chat Completions request, then try one fixture with a harmless tool that returns a fixed value. Check the answer field and the structured tool call separately. A model that answers a short question correctly has not yet demonstrated compatibility with your app's parser or tool schema.

## Prove the working context before raising it

Baidu's four-GPU example sets `--max-model-len 131072`, even though the configuration allows up to 1,048,576 tokens. Start from that documented profile. Record time to first token and peak memory on one representative prompt, then try the concurrency you actually need.

For a longer test, put facts at the start, middle and end of a synthetic document. Check that the model uses the right facts, then repeat at your target request rate. A server that accepts one huge request may still be a poor fit if it can't serve two of them within your latency budget.

Baidu also documents DSpark speculative decoding. Compare with and without it at the same prompt length and concurrency rather than assuming a setting that helps an interactive test will also help a loaded server. Decide from completed requests, time to first token and memory headroom together.

---

I'm Paras. I work at the intersection of AI, engineering and distribution.

I help AI teams turn model releases into technical guides that developers can use to choose and test a deployment.

[Book a 30-minute call](https://cal.com/paras-madan/30min)
