llmrun
Inclusion AILingBailingMoeV3ForCausalLM

Ling 3.1 Flash — Hardware Requirements & GPU Compatibility

ChatFunctions

Ling-3.1-flash is a hybrid reasoning model from inclusionAI, the Ant Group research team, and an upgrade over Ling-3.0-flash. It is a sparse mixture-of-experts model with about 560 billion total parameters and 25 billion active per token, using a hybrid-linear design with mostly linear-attention layers and a few gated latent-attention layers. The card targets general agents, search, office tasks, and software engineering, and reports results on Terminal-Bench, SWE-bench Pro, and MCP-Atlas. The reference deployment uses eight H200 GPUs, so local use means a server or a very large unified-memory machine even at 4-bit. The card states a 1 million token context window. It is released under the MIT license, which permits commercial use. The model supports hybrid reasoning, switching between longer thinking and direct answers, and works with agent harnesses including Claude Code, Qwen Code, and Kilo Code. SGLang is the recommended serving stack, with multi-token prediction for faster decoding.

572.1B params · MoE25B active262K contextMIT5.8K downloads185 likes3.1K quant downloads

Ling 3.1 Flash runs on a 512 GB+ Mac or a multi-GPU server

Best local pick → Mac Studio M5 Ultra (512 GB) · Q4_K_M · 344.9 GB · ~38 tok/s

Macs from192 GB IQ2_S · ~42 tok/s

MIT

Not set up for it?

Reference GPU · RTX 4090 24 GB

Estimates, ±20% · how we estimate

Run Ling 3.1 Flash

One recommended way. Every other method, OS and quant is in the step-by-step guide.Each way opens a step-by-step guide for your OS and quant.

Recommended

vLLM on a multi-GPU server
tensor + pipeline parallel · needs vLLM on every node
$vllm serve inclusionAI/Ling-3.1-flash --max-model-len 16384 --tensor-parallel-size 8

Size the nodes from the table above

Download: Ling-3.1-flash-Q4_K_M/Ling-3.1-flash-Q4_K_M-00001-of-00010.gguf357.97 GB + 9 partsbartowski

install, other ways

Ways to runOther ways

each opens step-by-step

Run in cloud

Rent 5× H100 SXM · Q4_K_M

Estimated hourly price
~$13.45/hr
est., whole server
GPUs
5 GPUs
400 GB of VRAM

How Much VRAM Does Ling 3.1 Flash Need?

Select a quantization level; the listed hardware adheres to it.

QuantizationVRAM+32KRuns on
245.9 GB246.2 GB2-bit · K-quant — 2-bit quantization with K-quant improvementsRuns on Instinct MI325X 256 GB
253.0 GB253.3 GB3-bit small — 3-bit small quantizationRuns on Instinct MI325X 256 GB
281.6 GB281.9 GB3-bit medium — 3-bit medium quantizationRuns on Instinct MI350X 288 GB
288.8 GB289.1 GB4-bit · legacy — 4-bit legacy quantizationRuns on Instinct MI350X 288 GB
346.0 GB346.3 GB4-bit medium — 4-bit medium quantization — most popular sweet spotRuns on 5× H100 SXM 80 GB
410.4 GB410.7 GB5-bit medium — 5-bit medium quantization — good quality/size tradeoffRuns on 6× H100 SXM 80 GB
474.7 GB475 GB6-bit, very good — 6-bit quantization, very good qualityRuns on 7× H100 SXM 80 GB
574.8 GB575.1 GB8-bit, near-lossless — 8-bit quantization, near-losslessRuns on 8× H100 SXM 80 GB
est.calculated, no published file yet

Selected Q4_K_M

4-bit medium quantization

344.9GBat 16K context

Weights
343.3 GB
KV cache
1.4 GB
Overhead
0.3 GB

Server-class: ~344.9 GB at 16K context · about 5× H100 SXM 80 GB

Which Hardware Can Run Ling 3.1 Flash?

Q4_K_M · 346.0 GB

Ling 3.1 Flash (Q4_K_M) requires 346.0 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 450+ GB is recommended. Using the full 262K context window can add up to 19.3 GB, bringing total usage to 365.3 GB. No consumer GPU has enough memory. 2 devices with unified memory can run Ling 3.1 Flash, including Mac Studio M5 Ultra (512 GB).

By VRAM tier · typical GPUs and Macs at Q4_K_M

Consumer GPUs (up to 32 GB) and Macs up to 128 GB: too small for this model (needs ≥ 159 GB)8 GB tier →12 GB tier →16 GB tier →24 GB tier →Macs →

Alternatives to Ling 3.1 Flash

Ling family · 5 models →

Similar models

5
ModelScoreVRAMWhy it is similar
Inkling 2 SmallThinking Machines134.1359.1 GBsame size
Step 5 PreviewStepFun128.0407.5 GBsame size
NVIDIA Nemotron 3 Ultra 550B A55B BF16NVIDIA109.1378.4 GBsame size
LongCat Flash ChatMeituan—1244.5 GBsame size
LingSante 3.1 FlashInclusion AI—344.9 GBsame size

Specifications

Publisher
Inclusion AI
Family
Ling
Parameters
572.1B
Active parameters
25.1B per token
Architecture
BailingMoeV3ForCausalLM
Context Length
262,144 tokens
Vocabulary Size
157,184
Release Date
2026-10-13
License
MIT

Frequently Asked Questions

How much VRAM does Ling 3.1 Flash need?

Ling 3.1 Flash requires 346.0 GB of VRAM at Q4_K_M, or 1147.0 GB at BF16. Full 262K context adds up to 19.3 GB (365.3 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 572.1B × 4.8 bits ÷ 8 = 343.3 GB

KV Cache + Overhead ≈ 2.7 GB (at 2K context + ~0.3 GB framework)

Fit ratings and hardware model lists check this model with room for a 16K-token context, which needs a little more memory.

KV Cache + Overhead ≈ 22 GB (at full 262K context)

VRAM usage by quantization

346.0 GB
365.3 GB

Learn more about VRAM estimation →

Can NVIDIA GeForce RTX 5090 run Ling 3.1 Flash?

No — Ling 3.1 Flash requires at least 160.1 GB at IQ2_XXS, which exceeds the NVIDIA GeForce RTX 5090's 32 GB of VRAM.

What's the best quantization for Ling 3.1 Flash?

For Ling 3.1 Flash, Q4_K_M (346.0 GB) offers the best balance of quality and VRAM usage. Q5_K_S (396.1 GB) provides better quality if you have the VRAM. The smallest option is IQ2_XXS at 160.1 GB.

VRAM requirement by quantization

IQ2_XXS
160.1 GB
Q2_K
245.9 GB
Q4_0
288.8 GB
Q4_K_M ★
346.0 GB
Q5_K_S
396.1 GB
BF16
1147.0 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

Can I run Ling 3.1 Flash on a Mac?

Yes — Mac Pro M2 Ultra (192 GB) and 5 other Macs can run Ling 3.1 Flash, the smallest at IQ2_S. Apple Silicon uses unified memory, so the model shares RAM with the system. At Q4_K_M you need at least 346.0 GB of usable unified memory (RAM minus macOS overhead), from Mac Studio M5 Ultra (512 GB).

Can I run Ling 3.1 Flash locally?

Yes — Ling 3.1 Flash can run locally on consumer hardware. Popular tools include Ollama, LM Studio, and llama.cpp.

What's the download size of Ling 3.1 Flash?

At Q4_K_M, the download is about 343.27 GB. The full-precision BF16 version is 1144.24 GB. The smallest option (IQ2_XXS) is 157.33 GB.

Which GPUs can run Ling 3.1 Flash?

No single consumer GPU has enough VRAM to run Ling 3.1 Flash at Q4_K_M (346.0 GB). Multi-GPU or professional hardware is required.

Which devices can run Ling 3.1 Flash?

2 devices with unified memory can run Ling 3.1 Flash at Q4_K_M (346.0 GB), including Mac Studio (M3 Ultra, 512GB), Mac Studio M5 Ultra (512 GB). Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.