For more details on how to deploy and use the model - see the Quick Start Guide below!
Ling-3.1-flash-base
inclusionAI·Base model·released 25 Oct 2026
vllm serve inclusionAI/Ling-3.1-flash-baseWe introduce Ling-3.1-flash-base, the base checkpoint of Ling-3.1-flash, released to support research and community-driven innovation.
How much VRAM does Ling-3.1-flash-base need?
At Q4_K_M Ling-3.1-flash-base needs about 358 GB with an 8K context (358 GB at Q4, 1137 GB at full precision). Pick your GPU to see what fits and how fast it runs.
Needs: ≈358 GB · Q4_K_M · 8K context — Pick a GPU to check the fit.
Advanced: context 8K · KV cache 16-bit
Smallest GPU for each quant and context (KV cache 16-bit)
| Quantisation | 8K | 16K | 32K | 64K | 128K | 256K |
|---|---|---|---|---|---|---|
| Q3_K_M | ||||||
| Q4_K_M | ||||||
| Q5_K_M | ||||||
| Q6_K | ||||||
| Q8_0 | ||||||
| FP16 |
≤16 GB card24–32 GB48–96 GBmore
| Quantisation | Total |
|---|---|
| Q2_KHeavy lossSmallest, noticeably worse quality | ≈202 GB |
| Q3_K_MNoticeable lossSmall, some quality loss | ≈292 GB |
| Q4_K_MrecommendedSmall lossRecommended default for local use | ≈358 GB |
| Q5_K_MNear-losslessNear-lossless for most tasks | ≈416 GB |
| Q6_KNear-losslessPractically lossless | ≈479 GB |
| Q8_0LosslessLossless in practice, twice the size of Q4 | ≈613 GB |
| FP16 / BF16LosslessFull precision, as released | ≈1137 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?
At 8K context, Q4_K_M needs ≈358 GB(323 GB weights + 18 GB KV cache + 17 GB overhead). Pick a GPU above to see how much context fits.
Weights + overheadKV cache
Can the Apple M3 Ultra (512 GB) run Ling-3.1-flash-base? →
Speed vs quality per quant
Smaller quants run faster and fit in less memory, but lose quality.
Fits in VRAMTight fitCPU offload✕ won't runQuality is typical KL divergence vs FP16, not measured for this model.
Real-world speed of Ling-3.1-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 Ling-3.1-flash-base locally
These commands load the original weights from Hugging Face.
vllm serve inclusionAI/Ling-3.1-flash-baseservices:
vllm:
image: vllm/vllm-openai:latest
command: inclusionAI/Ling-3.1-flash-base
ports:
- "8000:8000"
ipc: host
volumes:
- ~/.cache/huggingface:/root/.cache/huggingface
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]API on port 8000.
sglang serve inclusionAI/Ling-3.1-flash-base --host 0.0.0.0 --port 30000services:
sglang:
image: lmsysorg/sglang:latest
command: sglang serve inclusionAI/Ling-3.1-flash-base --host 0.0.0.0 --port 30000
ports:
- "30000:30000"
ipc: host
volumes:
- ~/.cache/huggingface:/root/.cache/huggingface
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]API on port 30000.
About Ling-3.1-flash-base
We introduce Ling-3.1-flash-base, the base checkpoint of Ling-3.1-flash, released to support research and community-driven innovation. With 560B total parameters and 25B active parameters per token, the model provides a foundation for continued pretraining, domain adaptation, and post-training research. Ling-3.1-flash-base shares the same hybrid-linear Mixture-of-Experts (MoE) architecture as Ling-3.1-flash, combining KDA with Gated MLA. As a base checkpoint, it is intended for further training and adaptation. The model was trained using FP8. This release provides the BF16 base checkpoint produced after Warmup-Stable and Merge (WSM) checkpoint merging. BF16 refers to the precision of the released weights, while FP8 refers to the precision used during training. • Sparse MoE architecture: 512 routed experts, with 8 routed experts and 1 shared expert activated per token, for a total of 25B active parameters per token. • Hybrid linear attention: 63 KDA layers and 9 Gated MLA layers combine linear attention with Gated MLA at a 7:1 ratio.
Full model card on Hugging Face →Alternatives to Ling-3.1-flash-base
All alternatives →We introduce DeepSeek-V3.2, a model that harmonizes high computational efficiency with superior reasoning and agent performance. Our approach is built upon three key technical breakthroughs:
GLM-5.3 uses the same base model as GLM-5.2 — every gain comes from post-training. Compared with GLM-5.2, it is much better at complex coding and long-horizon tasks:
👋 Join our WeChat or Discord community. 📖 Check out the GLM-5.2 blog and GLM-5 Technical report . 📍 Use GLM-5.2 API services on Z.ai API Platform. 🔜 Try GLM-5.2 here .
👋 Join our WeChat or Discord community. 📖 Check out the GLM-5 technical blog . 📍 Use GLM-5 API services on Z.ai API Platform. 👉 One click to GLM-5 .
👋 Join our WeChat or Discord community. 📖 Check out the GLM-5.1 blog and GLM-5 Technical report . 📍 Use GLM-5.1 API services on Z.ai API Platform. 🔜 GLM-5.1 will be available on chat.z.ai in the coming days.
Ling-3.1-flash-base FAQ
- How much VRAM does Ling-3.1-flash-base need?
- About 358 GB at Q4_K_M with an 8K context. Q8_0 needs about 613 GB and full precision about 1137 GB. Longer contexts need more memory for the KV cache.
- Can Ling-3.1-flash-base run on the Apple M3 Ultra (512 GB)?
- Yes. It fits at Q4_K_M (about 358 GB), at an estimated 30 tokens/s.
- Can I use Ling-3.1-flash-base commercially?
- Yes. It is released under MIT. Permissive: do almost anything as long as you keep the copyright notice.
- What is the context length of Ling-3.1-flash-base?
- 262,144 tokens (256K). The full window needs far more memory than an 8K context.
- How do I run Ling-3.1-flash-base locally?
- With vLLM: vllm serve inclusionAI/Ling-3.1-flash-base.
Rate this model
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.
0 comments