How Much To Run AI
Open weights

ERNIE 5.5 Flash Base: Weights, Memory and Deployment

ERNIE-5.5-Flash-Base is Baidu’s 280B-parameter text model released at the end of pre-training. It activates 14B parameters per token and was trained on 33.5T tokens, but the complete FP8 checkpoint occupies 288 GB on Hugging Face. That makes it a large multi-GPU or rented-server project, even though only part of its mixture-of-experts network is active for each token. Its custom license limits where and how it can be used.

Content reviewed:

ERNIE 5.5 Flash Base stores 280B parameters in a 288 GB FP8 repository while activating 14B per token, with SGLang recipes tested on two B300 or GB300 GPUs for FP8 and four B300 GPUs for BF16.
Original diagram of the published checkpoint size, architecture and serving recipes; no run was measured here.

Use this model

Official model repository

Local tools and guides

Who should start with this base checkpoint?

  • Continue pre-training or adapt a large model to a domain-specific corpus.
  • Run controlled fine-tuning or reinforcement-learning experiments from the same pre-training checkpoint.
  • Evaluate raw next-token completion on text, code or long-context tasks before instruction tuning.
  • Serve the checkpoint with SGLang or vLLM on a provisioned multi-GPU system.

Use the post-trained Preview for an API workflow

ERNIE 5.5 Flash Preview is Baidu’s post-trained API model built on Base. Choose it for ready-to-prompt coding and agent tasks; keep this Base guide for adapting and serving the pre-training checkpoint. Preview has its own Qianfan prices and a separate OpenRouter free route.

What the ERNIE 5.5 Flash Base checkpoint contains

This release is the checkpoint after pre-training and before mid-training or post-training. It is intended as a starting point for domain adaptation, instruction tuning and reinforcement-learning research. Baidu now offers the separately post-trained ERNIE 5.5 Flash Preview through Qianfan. Choose that hosted assistant for ready-to-use chat; choose Base for adaptation and training. Preview’s announced future Apache 2.0 weight release does not change Base’s custom license. For scale, NVIDIA’s Megatron Bridge full-model SFT example uses 16 nodes with four GB300 GPUs per node; that is a documented training recipe, not a minimum for every fine-tune.

Baidu reports 280B total parameters, 14B activated per token and 33.5T pre-training tokens. The text-only model has 43 layers: one dense feed-forward layer and 42 MoE layers, each with 512 routed experts and top-10 routing. Its hybrid attention uses 37 Heavily Compressed Attention layers and six Multi-head Latent Attention layers with sparse attention.

The model card reports a 128K maximum training context and supports up to 1M tokens for fine-tuning and inference. A maximum context setting is not a promise that a particular machine can serve that many tokens at a useful rate; runtime allocation and concurrent requests still matter.

Checkpoint detailPublished value
Training stagePre-training; no mid-training or post-training
Total / activated parameters280B / 14B per token
Pre-training data33.5T tokens
Context128K training; up to 1M fine-tuning and inference
Official weight formatsFP8 and BF16 safetensors
ModalityText input and text output

Plan for the full weights and runtime memory

The official FP8 repository lists 288 GB of files split across 128 safetensors shards. The vLLM plugin estimates roughly 280 GB of FP8 weights and 560 GB of BF16 weights; those are weight estimates, while the repository’s actual size and the full serving footprint are separate questions. The 14B activated figure describes the parameters used for a token, not the amount of the expert pool that must be stored and made available to the server.

Treat 288 GB as the FP8 artifact size, not a GPU-memory minimum. Serving also needs room for runtime buffers, the KV cache, context length and other requests. Baidu’s card gives parallel serving recipes but does not specify a minimum GPU model or a complete peak-memory measurement. Choose hardware only after matching the exact checkpoint, engine and context to a tested configuration.

Baidu’s sample SGLang and vLLM launches use parallelism across devices and set a 131,072-token context. SGLang’s verified examples include two B300 or GB300 GPUs for FP8 and four B300 GPUs for BF16; these are tested recipes, not theoretical minimums. Its cookbook and the model card describe support up to 1,048,576 tokens, which raises the context and cache budget. Keep your chosen context and concurrency in the rental estimate instead of pricing the one-million-token headline by itself.

Planning itemWhat to count
Checkpoint storage288 GB for the listed FP8 repository; verify BF16 separately
Device memoryWeights plus runtime, cache, context and concurrent requests
Server timeFull allocated GPU hours, including load and idle time
Long contextActual input length and cache use, not only the advertised maximum

Serve the base model through completions

Baidu documents vLLM with its ERNIE plugin and SGLang with an ERNIE-specific image. The vLLM plugin supports this checkpoint on NVIDIA GPUs and pins vLLM 0.32.0. Its FP8 recipe uses the Humming MoE backend on Blackwell GPUs; on Hopper, Baidu says to omit that flag and keep vLLM’s default backend. The example sets 131,072 tokens as the model length. Use the SGLang cookbook for its matching image and launch flags.

The release uses a completion endpoint. Send a continuation prompt and inspect the generated text before adding an instruction wrapper or connecting the model to an agent. Base checkpoints are trained to continue text; they do not automatically follow chat instructions or emit the same structured tool calls as an instruction-tuned model.

Baidu’s vLLM FP8 launch settings for Blackwell GPUs
export VLLM_ENGINE_READY_TIMEOUT_S=3600
uv venv --python 3.12 ernie55-env
source ernie55-env/bin/activate
uv pip install vllm==0.32.0
uv pip install git+https://github.com/baidu/vLLM-ERNIE.git

vllm serve baidu/ERNIE-5.5-Flash-Base \
  --kv-cache-dtype fp8 \
  --enable-expert-parallel \
  --data-parallel-size 4 \
  --max-model-len 131072 \
  --host 127.0.0.1 \
  --port 30000 \
  --moe-backend humming

Hosted access and the cost of a run

A Baidu-affiliated commenter wrote in the model-card discussion that there was no official API service planned for this pre-training checkpoint, and directed developers to vLLM or SGLang. Hugging Face also showed no inference-provider deployment when checked on November 6, 2026. Treat this as the release-time access picture; the announcement publishes no per-token inference price.

Estimate a rented run from the full GPU allocation time and hourly price, then add storage and any data-transfer charge. Divide the session total by the number of outputs that meet your task’s quality bar. The FP8 artifact size and 14B active count do not provide a portable tokens-per-second or cost-per-task estimate; measure a representative prompt and context on the exact server you plan to use.

For a hosted trial of the post-trained model, OpenRouter lists baidu/ernie-5.5-flash-preview:free with free-tier rate limits.

Send a short continuation to Baidu’s OpenAI-compatible completion endpoint
curl http://127.0.0.1:30000/v1/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "baidu/ERNIE-5.5-Flash-Base",
    "prompt": "The hybrid attention architecture of ERNIE 5.5 Flash",
    "max_tokens": 128,
    "temperature": 0
  }'

Read the ERNIE 5.5 Flash Base license first

The weights use Baidu’s ERNIE 5.5 Flash Base Model License Agreement v1.0, not Apache 2.0 or MIT. Its license grant excludes the European Union, the United Kingdom and South Korea. Outside those territories, non-commercial use is allowed subject to the agreement and acceptable-use policy.

The license measures related-product and service revenue over the rolling prior 12 months and aggregates entities under common control. At or below US$50 million, commercial use requires a one-time notice to Baidu and the “Powered by ERNIE” attribution; above that threshold, prior written authorization is required. The territory restriction also applies to outputs, and the same commercial conditions cover derivatives. Read the agreement for distribution, safeguards and acceptable-use terms before adapting or serving the weights.

Section 5.5 restricts using the licensed materials, Derivative Models or their outputs to improve other AI models or machine-learning systems, with an express exception for ERNIE 5.5 Flash Base itself and its Derivative Models. Read Section 1.5’s derivative definition when planning cross-model training: it includes models formed through distillation, knowledge transfer or training on outputs, subject to the agreement.

Before you use it

  • The released checkpoint is pre-trained only; chat behavior and tool use require suitable post-training or an application layer.
  • The official FP8 files occupy 288 GB, and the model card does not publish a minimum GPU-memory recipe or measured peak memory.
  • The custom license excludes the EU, UK and South Korea and sets conditions for commercial use and derivatives.

How to get started

Check the license and checkpoint size first. If your workload fits the terms and hardware budget, start with Baidu’s vLLM or SGLang recipe, keep the context short, and measure a complete representative run.

Sources

Sources (10)

Calculators