selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

baidu logo

ERNIE-5.5-Flash-Base

baidu·Base model·released 21 Oct 2026

ernie-5.5-flash-base-model-license-v1.0286BMoE1M ctx ≈171 GB
Your GPU
hf download baidu/ERNIE-5.5-Flash-Base
Setup ↓

ERNIE 5.5 Flash is an efficient sparse Mixture-of-Experts (MoE) language model with 280B total parameters and 14B activated per token, pre-trained from scratch on 33.5T tokens with a training context of up to 128K; fine-tuning and inference support a 1M-token context.

Notify me when

How much VRAM does ERNIE-5.5-Flash-Base need?

At Q4_K_M ERNIE-5.5-Flash-Base needs about 171 GB with an 8K context (171 GB at Q4, 561 GB at full precision). Pick your GPU to see what fits and how fast it runs.

--vram
any
--gpus
--quant

Needs: ≈171 GB · Q4_K_M · 8K context — Pick a GPU to check the fit.

Change quant, context or KV cache to compare
Advanced: context 8K · KV cache 16-bit
Context
KV cache

Smallest GPU for each quant and context (KV cache 16-bit)

Quantisation8K16K32K64K128K1M
Q3_K_M
Q4_K_M
Q5_K_M
Q6_K
Q8_0
FP16

≤16 GB card24–32 GB48–96 GBmore

QuantisationQualityWeightsKV cacheTotal
Q2_KHeavy lossSmallest, noticeably worse qualityHeavy loss88 GB 0.7 GB≈93 GB
Q3_K_MNoticeable lossSmall, some quality lossNoticeable loss130 GB 0.7 GB≈138 GB
Q4_K_MrecommendedSmall lossRecommended default for local useSmall loss162 GB 0.7 GB≈171 GB
Q5_K_MNear-losslessNear-lossless for most tasksNear-lossless190 GB 0.7 GB≈200 GB
Q6_KNear-losslessPractically losslessNear-lossless220 GB 0.7 GB≈232 GB
Q8_0LosslessLossless in practice, twice the size of Q4Lossless283 GB 0.7 GB≈299 GB
FP16 / BF16LosslessFull precision, as releasedLossless533 GB 0.7 GB≈561 GB

Estimates for 8K tokens of context: weights + KV cache + runtime overhead. All experts stay in memory, but only the active ones are read per token. Speed assumes memory-bound decoding at your GPU’s bandwidth. Pick a GPU above and the fit column checks every row against it.

How to pick a quant

Take the biggest quant that fits with room left for context. Q4_K_M is the usual sweet spot. Below Q4 quality drops fast, above Q6 you mostly pay memory for nothing. Big models (70B+, large MoE) tolerate low quants better than small ones.

  • LosslessF16, Q8_0
  • Near-losslessQ6_K, Q5_K_M
  • Small lossQ5_K_S, Q4_K_M, IQ4_NL, IQ4_XS, Q4_K_S
  • Noticeable lossQ4_0, Q3_K_L, Q3_K_M, IQ3_M
  • Heavy lossIQ3_XXS, Q3_K_S, IQ2_M, Q2_K

Typical quality loss, not measured per model. Tiers come from KL divergence against FP16 on Llama 3 8B: llama.cpp perplexity README: LLaMA 3 8B scoreboard (KLD and ΔPPL vs FP16, Wikitext-2); llama.cpp quantize tool: ΔPPL per quant type @ Llama-3-8B

How much context fits?

Model quant
KV cache

At 8K context, Q4_K_M needs ≈171 GB(162 GB weights + 0.7 GB KV cache + 8.6 GB overhead). Pick a GPU above to see how much context fits.

01002003001K2K4K8K16K32K64K128K256K512K1MGB

Weights + overheadKV cache

Can the Apple M3 Ultra (512 GB) run ERNIE-5.5-Flash-Base? →

Speed vs quality per quant

Smaller quants run faster and fit in less memory, but lose quality.

Q2_KQ3_K_MQ4_K_MQ5_K_MQ6_KQ8_0F16

Fits in VRAMTight fitCPU offload✕ won't runQuality is typical KL divergence vs FP16, not measured for this model.

Real-world speed of ERNIE-5.5-Flash-Base

Tokens per second measured by people running it at home. A GPU shows a median once 3 reports agree on the same setup. Reports far from our estimate wait for a review. Measure yours with llama-bench →

No medians yet. Be one of the first 3 to report a setup.

All reports

Run ERNIE-5.5-Flash-Base locally

These commands load the original weights from Hugging Face.

Chat with the pipeline APIdocs
python
from transformers import pipeline

pipe = pipeline("text-generation", model="baidu/ERNIE-5.5-Flash-Base", dtype="auto", device_map="auto")
messages = [{"role": "user", "content": "Explain self-hosting in one paragraph."}]
out = pipe(messages, max_new_tokens=512)
print(out[0]["generated_text"][-1]["content"])

Install Transformers

About ERNIE-5.5-Flash-Base

ERNIE 5.5 Flash is an efficient sparse Mixture-of-Experts (MoE) language model with 280B total parameters and 14B activated per token, pre-trained from scratch on 33.5T tokens with a training context of up to 128K; fine-tuning and inference support a 1M-token context. Different domains, reasoning tasks and agentic applications call for different data, training objectives and behavioral policies; by releasing the weights at the end of pre-training, we let developers build on the model's general capabilities and choose for themselves where to take it next. Because further training and agentic use keep adding to compute and memory cost, we made efficiency a key design goal from the start, revisiting each component, from attention and residual connections to the MoE layers and the output head, and treating activated compute, KV cache and long-context cost as part of one overall design. The same long-term view shaped the data and the training system: pre-training data emphasizes capabilities that are hard to build in afterwards, such as repository-scale code and long-context understanding, and the training system was co-designed with the architecture so that its efficiency choices also train efficiently at scale.

Full model card on Hugging Face →

Other ERNIE 5.5 models

Whole family →
baidu logo286BCheck licence≈171 GB↓ 2K

Alternatives to ERNIE-5.5-Flash-Base

All alternatives →
deepseek-ai logo

DeepSeek-V4-Flash-0731

deepseek-ai·Chat

≈182 GB

DeepSeek-V4-Flash-0731 is the official release of DeepSeek-V4-Flash, superseding the preview version, with substantially enhanced agentic capabilities. It has the same model structure as DeepSeek-V4-Flash-DSpark, i.e. it comes with a speculative decoding module attached.

304BA27.4B1M ctx MIT
1.4MJul 2026gguf
deepseek-ai logo

DeepSeek-V4-Flash

deepseek-ai·Chat

≈174 GB

We present a preview version of DeepSeek-V4 series, including two strong Mixture-of-Experts (MoE) language models — DeepSeek-V4-Pro with 1.6T parameters (49B activated) and DeepSeek-V4-Flash with 284B parameters (13B activated) — both supporting a context length of one million tokens.

291BA14.1B1M ctx MIT
1.1MApr 2026gguf
tencent logo

Hy3

tencent·Chat

≈180 GB

Hy3 is a 295B-parameter Mixture-of-Experts (MoE) model with 21B active parameters and 3.8B MTP layer parameters, developed by the Tencent Hy Team. Following the Hy3 Preview launch in late April, we gathered feedback from 50+ products and scaled up post-training with higher quality data.

299BA21B256K ctx Apache 2.0
828.4KJul 2026gguf
poolside logo

Laguna-M.1

poolside·Chat

≈137 GB

Laguna M.1 is a 225B total parameter Mixture-of-Experts model with 23B activated parameters per token designed for agentic coding and long-horizon work.

226BA14.4B256K ctx Apache 2.0
555.3KJun 2026gguf
MiniMaxAI logo

MiniMax-M2.5

MiniMaxAI·Chat

≈138 GB

Extensively trained with reinforcement learning in hundreds of thousands of complex real-world environments, M2.5 is SOTA in coding, agentic tool use and search, office work, and a range of other economically valuable tasks, boasting scores of 80.2% in SWE-Bench Verified, 51.3% in Multi-SWE-Bench…

229BA11B192K ctx modified-mit
855.2KFeb 2026gguf
tencent logo

Hy3-preview

tencent·Chat

≈180 GB

Hy3 preview is a 295B-parameter Mixture-of-Experts (MoE) model with 21B active parameters and 3.8B MTP layer parameters, developed by the Tencent Hy Team. Hy3 preview is the first model trained on our rebuilt infrastructure, and the strongest we've shipped so far.

299BA21B256K ctx Custom licence
111.5KApr 2026

ERNIE-5.5-Flash-Base FAQ

How much VRAM does ERNIE-5.5-Flash-Base need?
About 171 GB at Q4_K_M with an 8K context. Q8_0 needs about 299 GB and full precision about 561 GB. Longer contexts need more memory for the KV cache.
Can ERNIE-5.5-Flash-Base run on the Apple M3 Ultra (512 GB)?
Yes. It fits at Q8_0 (about 299 GB), at an estimated 1.5 tokens/s.
Can I use ERNIE-5.5-Flash-Base commercially?
Unclear. It is released under ernie-5.5-flash-base-model-license-v1.0. Custom licence: read the model card before using it commercially. Check the licence on the model card before using it in a product.
What is the context length of ERNIE-5.5-Flash-Base?
1,048,576 tokens (1M). The full window needs far more memory than an 8K context.
How do I run ERNIE-5.5-Flash-Base locally?
It runs with Transformers. Each has copy-paste examples in its docs.

Data from Hugging Face, the model card and public leaderboards. Memory and speed figures are estimates; real numbers depend on the runtime, context length and drivers. Always check the licence yourself before commercial use.