Ling-3.1-flash: Ant Group's 560B Open-Source MoE
Ant Group’s InclusionAI lab open-sourced Ling-3.1-flash on October 16, 2026, and the numbers are worth sitting with: roughly 560 billion total parameters, only about 25 billion activated per token, and a one-million-token context window. It is the kind of release that reshuffles the LLM benchmarks 2026 leaderboards — a sparse mixture-of-experts model with frontier-class coding and agentic scores that an individual lab or startup can actually afford to self-host.
The release is notable less for any single benchmark than for the deployment story attached to it. Through a mixed-precision scheme, InclusionAI cut the model’s weight memory from roughly 534GB to 292GB, which drops the hardware requirement on their Hopper reference config from eight GPUs to four. A 560B model you can run on four cards changes who gets to participate in the frontier.
What Ling-3.1-flash is
Ling-3.1-flash is a hybrid-linear mixture-of-experts model and a direct upgrade to Ling-3.0-flash. The architecture is dense in some layers and sparse in others: 63 layers use KDA (a linear-attention-style key-data attention) plus 9 gated MLA layers in a 7:1 ratio, with 4 fully dense layers mixed in.
| Property | Value |
|---|---|
| Architecture | Hybrid-linear MoE |
| Parameter scale | Total 560B, activated 25B |
| Transformer layers | 63 KDA + 9 gated MLA (7:1) |
| Dense layers | 4 |
| Routed experts | 512 |
| Shared experts | 1 |
| Activated experts | 8 |
| Attention heads | 64 |
| Hidden size | 4096 |
| Expert intermediate size | 1280 |
| Dense intermediate size | 10240 |
| Vocabulary size | 157,184 |
The sparse design is the whole point. Because only 25 billion of the 560 billion parameters fire for any given token, the model gets the breadth of a very large model at a fraction of the per-token compute cost. That is the same bet behind GPT-class MoE models, but here it is combined with linear-attention layers that keep long-context inference tractable — which is what makes the one-million-token window realistic rather than a marketing ceiling.
Benchmark results that actually matter
InclusionAI ran the model across a broad set of coding and agentic benchmarks, and the results are strong across the board, with several claimed first-place finishes when run through its LingCode harness.
| Benchmark | Ling-3.1-flash score |
|---|---|
| SWE-bench Pro | 68.74 |
| SWE-bench Multilingual (resolved) | 88.5 |
| Terminal-Bench 2.1 | 81.18 |
| Terminal-Bench 4.0 | 46.03 |
| DeepSWE | 59.7 |
| SkillsBench v1.1 | 68.7 |
| HLE | 37.44 |
The pattern to notice is consistency across the two benchmark families that matter most for agents right now: software-engineering benchmarks (SWE-bench Pro, DeepSWE, Terminal-Bench) and long-horizon knowledge-work benchmarks (GDPVal-AA V2.1, MCP-Atlas, AutomationBench). A model that scores well on one but not the other is often over-tuned to a specific harness; Ling-3.1-flash holds up across both, which is the more credible signal for real-world agentic work. Third-party aggregators like BenchmarkList place it around the 87th percentile on agentic evals, with a GDPval-AA score in the 95th percentile — consistent with InclusionAI’s own claims rather than inflated beyond them.
Why this is a big deal for open source AI models
The open source AI models conversation has been stuck on a tension for two years. The most capable open-weight models either require data-center-scale hardware to serve, or they are small enough to run locally but a clear tier below the frontier. Ling-3.1-flash is an attempt to split that difference: frontier-ish capability at a hardware footprint that a mid-size team can justify.
The mixed-precision deployment is the concrete engineering that makes the pitch work. By serializing block-FP8 weights with BF16 compute, the team shrank the on-disk and in-memory footprint enough that a four-GPU node can hold the full model. That is the difference between “open weights you can download but not realistically run” and “open weights you can deploy on your own infrastructure,” which is the entire point of open sourcing a model rather than publishing a paper about it.
The license reinforces the intent. Ling-3.1-flash is released under MIT, which is about as permissive as it gets — no click-through, no revenue clause, no “you must display this notice in your product” friction of the kind that now accompanies some other high-profile open-weight releases.
Running it yourself
SGLang is the recommended serving path, and the day-zero image ships with built-in Ling-3.1-flash support plus MTP (NEXTN) speculative decoding. The reference server config uses 8× H200 with tensor-parallel 8 and expert-parallel 8:
docker pull lmsysorg/sglang:dev-ling-3.1-flash
docker run --gpus all --network host --ipc=host --rm \
lmsysorg/sglang:dev-ling-3.1-flash \
python3 -m sglang.launch_server \
--model-path inclusionAI/Ling-3.1-flash \
--tp 8 --ep 8 \
--speculative-algorithm NEXTN \
--host 0.0.0.0 --port 30000
On a four-GPU Blackwell node (4× GB300), you drop to --tp 4 --ep 4. Optional Hopper decode optimizations — roughly 10% faster batch-1 decode — can be enabled with SGLANG_ENABLE_FP8_BLOCK_GEMV=1 and SGLANG_ENABLE_FUSED_KDA_OUTPUT_QUANT=1.
vLLM is fully supported too, with --enable-expert-parallel, --mamba-cache-mode align, and a Ling-specific tool-call and reasoning parser. The vLLM recipe notes roughly 689GB of aggregate VRAM as a loading estimate for the FP8 weights, with additional headroom for KV cache — so the “four cards” figure assumes modern high-memory GPUs, not four consumer cards.
The model works out of the box with the agent harnesses developers actually use: Claude Code, Kilo Code, Qwen Code, Hermes Agent, and OpenClaw are all called out as supported. InclusionAI also built LingCode, a harness on top of the open-source Pi coding agent tuned for long-horizon tasks that run for hours with hundreds of tool-call rounds and repeated context compaction; the lab says it is considering open-sourcing it.
Where Ling-3.1-flash fits in the field
At the moment of release, Ling-3.1-flash competes directly with a crowded field of open-weight MoE models — Qwen3.8-class models, GLM 5.3, Kimi K3, and the newly released Meta Muse Spark Open. The comparison that matters for most buyers is not raw benchmark rank but capability-per-deployed-GPU, and on that axis the four-GPU deployment story is Ling-3.1-flash’s sharpest edge.
Against the largest US open-weight release, Muse Spark Open (816B total, 42B active), Ling-3.1-flash is smaller in total parameters but activates fewer per token and, critically, is MIT-licensed versus Meta’s more restrictive Muse Model License. For a team that wants to ship a product without a legal review, that distinction alone can decide the evaluation.
The honest counterpoint is that “four GPUs” is still not “my laptop.” A 560B model, even sparsely activated, does not run on consumer hardware the way a 7B or 30B model does. Ling-3.1-flash is for teams with access to at least one or two high-memory accelerators, not for enthusiasts on a single RTX card.
From Ling-3.0-flash to 3.1: what changed
Ling-3.1-flash is a step change from Ling-3.0-flash, which was already notable for recommending a four-GPU low-latency recipe on 141GB-class GPUs. The 3.1 release keeps the hybrid-linear MoE architecture but improves real-world task performance — the lab specifically calls out gains in general-purpose agents, search, office productivity, software engineering, finance, and materials science. The headline benchmark improvements are on GDPVal-AA V2.1, HealthBench Professional, FrontierSWE, and Terminal-Bench 4.0, which collectively point at the same thing: stronger performance on the long-horizon knowledge work that agents are actually being asked to do, rather than only on toy coding tasks.
The deployment math is the other half of the story. The mixed-precision scheme that drops weight memory from roughly 534GB to 292GB is what makes the four-GPU Hopper config possible. That is a meaningful economic claim: a model that used to need an eight-GPU node now fits on four, cutting both hardware cost and, roughly, the serving floor for a team that wants to self-host. Hosting providers are already pricing it accordingly — FlexAI lists a dedicated endpoint at $2.10 per GPU-hour on a 16× H100 configuration, or $33.60 per hour for the endpoint, which is real money but within reach for a funded team compared to renting frontier closed models at a premium.
What the sparse architecture means for serving cost
The 25B active parameters are the number that determines your serving bill, not the 560B total. Because each token only touches the active experts, per-token latency and compute scale with the active count while the model’s capacity scales with the total. That is why a 560B model can be served on four GPUs at all.
There is a second cost lever in the architecture itself. The 63 KDA layers use linear-attention-style key-data attention, which keeps memory and compute from growing quadratically with context length. For the long-document and long-horizon agent workloads the model is aimed at, that is what makes a one-million-token window affordable to actually use rather than a spec to quote. The trade-off is that linear attention historically lags full attention on some recall-heavy tasks, which is part of why InclusionAI kept nine gated MLA layers in the mix — to claw back the fidelity that pure linear attention can lose.
Who should use it
Use Ling-3.1-flash if you build coding agents or long-horizon autonomous workflows and want a frontier-adjacent open model you can self-host under a permissive license. The combination of a 1M context window, strong SWE-bench and Terminal-Bench scores, and first-class SGLang/vLLM support makes it a drop-in candidate for agent harnesses already wired to OpenAI-compatible endpoints.
Use it specifically if data residency or cost is your constraint. At a four-GPU footprint, you can serve an internal agent team without routing sensitive code through a third-party API, and the MIT license keeps the path to a commercial product clear.
Who should not use it
Skip it if you need something that runs on a single consumer GPU or a laptop. There are excellent small models for that job; a 560B MoE is not one of them, even with 25B active parameters.
Skip it if your workload is dominated by a single task family that a smaller, more specialized model already handles well. The value of a 560B generalist is breadth; if you only ever run one narrow task, you are paying for parameters you do not use.
Limitations and caveats
Several of the standout benchmark scores are marked as run through InclusionAI’s own LingCode harness, which is a specialized setup — and the lab has not yet released that harness publicly. Until it does, reproducing the very top numbers may be hard, and third parties may land slightly lower with stock harnesses. Treat the LingCode-marked figures as upper bounds for now.
The “four GPU” deployment claim is tied to specific high-memory hardware in the reference config. On more common eight-GPU Hopper nodes or smaller cards, the real requirement is higher, and the vLLM recipe’s ~689GB aggregate VRAM estimate is the number to plan against, not the optimistic headline.
There is also an ecosystem maturity gap. Ling-3.1-flash is days old; the quantized community variants, fine-tunes, and battle-tested inference recipes that make a model cheap and boring to run will take weeks or months to accumulate. Early adopters should budget time for the rough edges.