Skip to main content
Back

Cyber Monday Deal: Get 20% off all AlphaSignal Pro subscriptions. Subscribe here. Use discount code LAUNCH2026. Ends soon.

Ant Group's Ling-3.1-flash Squeezes a 560B Model Into Four GPUs

Ant Group's InclusionAI opens weights for a 560B hybrid-linear MoE model with 25B active parameters, 1M context, and MIT licensing.

Pro

Model, Full Access
  • InclusionAI released Ling-3.1-flash, a 560B total / 25B active MoE under MIT license.
  • Hybrid-linear attention: 63 KDA layers plus 9 gated MLA layers in a 7:1 ratio across 72 total.
  • Supports up to 1M token context; 262K served on gateways with 32K max output.
  • MXFP4 experts plus block-FP8 dense layers shrink weights from 534GB to 292GB, enabling 4-GPU Hopper serving.
  • Scores 41 on Artificial Analysis Intelligence Index at ~210 output tokens/second.
  • Day-0 support in SGLang and vLLM with MTP speculative decoding.

Ant Group’s InclusionAI lab has released Ling-3.1-flash on Hugging Face under the MIT license. The mixture-of-experts model contains 560 billion parameters, activates 25 billion for each token, and supports sequences of up to 1 million tokens. It is among the largest openly licensed MoE releases and the first Ling 3.1 model with downloadable weights.

Routing only 25 billion parameters reduces the computation required for each token. Standard GPU serving still needs access to the full 560 billion parameter pool, so quantization, memory capacity, and cache growth determine whether the model is practical to deploy.

560B stored, 25B active

Component Specification
Total parameters 560 billion
Active parameters 25 billion per token
Layer mix 63 KDA layers and 9 gated MLA layers
Feed-forward design 4 dense layers, 512 routed experts, and 1 shared expert
Expert routing 8 routed experts activated per token
Model dimensions 4,096 hidden size and 64 attention heads
Vocabulary 157,184 tokens
Maximum context 1 million tokens
Published formats Official FP8 weights and a mixed MXFP4/block-FP8 deployment recipe

The architecture, called BailingMoeV3, combines sparse expert routing with a seven-to-one mix of linear and full attention. Four dense feed-forward layers handle shared computation. The sparse layers select eight of 512 routed experts for each token and also use one shared expert.

Kimi Delta Attention, or KDA, updates a fixed-size recurrent state as tokens arrive. Its diagonal gates control which information is retained or overwritten, allowing attention work to scale linearly with sequence length. Every eighth layer uses gated Multi-Head Latent Attention, which performs full attention over earlier positions through a compressed key-value cache.

Linear attention trims the cache

The 63 KDA layers maintain fixed-size state, leaving only nine MLA layers with a token-dependent cache. InclusionAI estimates approximately 0.5 GB of fixed state per conversation plus 10 KB for each token. A conversation at the advertised 1 million-token limit would therefore consume about 10.5 GB of cache before accounting for runtime workspaces and other serving overhead.

The 1 million figure specifies the model’s maximum sequence length. Hosted providers may expose shorter limits, and teams should test retrieval and recall at the document lengths their applications will use. Concurrent long-context requests also multiply cache requirements quickly.

Ling-3.0-flash contained 124 billion total parameters and activated 5.1 billion per token. The new model increases total capacity by about 4.5 times and active capacity by about 4.9 times. Both generations activate roughly 4% to 4.5% of their parameters for each token.

Four Hopper GPUs require the mixed format

The official FP8 weights occupy approximately 534 GB, according to the release figures. InclusionAI’s four-GPU recipe quantizes routed experts to MXFP4 and keeps dense layers in block-FP8, reducing the reported weight footprint to 292 GB.

Four 80 GB H100 GPUs provide 320 GB of aggregate memory, leaving about 28 GB after loading the mixed-format weights. Runtime buffers, CUDA graphs, and key-value caches consume the remaining capacity. Treat four H100s as a minimum-footprint configuration; higher concurrency and million-token sessions require additional headroom. Four H200 GPUs provide substantially more memory for those workloads.

Deployment Weight footprint Practical consideration
Official FP8 About 534 GB Requires at least eight 80 GB GPUs under the published recipe
MXFP4 experts with block-FP8 dense layers About 292 GB Fits within four 80 GB Hopper GPUs with limited runtime headroom

Serving support is wired in

SGLang is the recommended serving path. The release-time image, lmsysorg/sglang:dev-ling-3.1-flash, includes support for the architecture, multi-token prediction speculative decoding, and Hopper-specific decode optimizations. Multi-token prediction proposes several future tokens at once and verifies them during decoding, reducing generation latency when the proposals are accurate. vLLM also supports the model.

Two environment variables enable the published Hopper optimizations:

SGLANG_ENABLE_FP8_BLOCK_GEMV=1
SGLANG_ENABLE_FUSED_KDA_OUTPUT_QUANT=1

InclusionAI reports about 10% faster batch-one decoding on H100 and H200 GPUs with both options enabled. They have no effect on Blackwell GPUs.

The published latency test used requests averaging 25,470 input tokens and 224 output tokens, with a 76% prompt-cache hit rate on eight Hopper GPUs. Average time to first token was 604 milliseconds, and average inter-token latency was 3.28 milliseconds. Hardware model, concurrency, cache-hit rate, and sequence length can change those results substantially, so the figures serve as a sizing reference.

Agent benchmarks move sharply

Artificial Analysis lists Ling-3.1-flash at 41 on Intelligence Index v4.3, up from 20 for Ling-3.0-flash. Its tested endpoint generated approximately 210 output tokens per second. Agent-oriented evaluations account for much of the generational gain.

Evaluation Ling-3.0-flash Ling-3.1-flash Reported source
Intelligence Index v4.3 20 41 Artificial Analysis
Terminal-Bench 0% 33% Artificial Analysis
AutomationBench-AA 3% 62% Artificial Analysis
SWE-bench Pro Not cited 68.7% Release comparison

InclusionAI also reports results on GDPVal-AA V2.1, HealthBench Professional, FrontierSWE, and Terminal-Bench 4.0. Those evaluations cover office work, healthcare, software engineering, and terminal-based tool use. The release highlights additional gains in finance and materials science, plus top-five open-weight placements for React Native, 3D, SVG, and website generation in Design Arena.

Several limitations remain relevant when selecting the model:

  • Claude Opus retains higher scores on demanding terminal and software-engineering tasks.
  • Ling-3.1-flash scores 68.7% on SWE-bench Pro, 21.2 percentage points below the cited Claude Opus 5.5 result of 89.9%.
  • The release targets text workloads and lacks native vision support.
  • Benchmark results depend on prompts, agent scaffolds, tool permissions, and evaluation versions.
  • Applications requiring strict schemas should use constrained decoding and validate every response.

Hosted prices need unit checks

Hosted gateway listings cited in the release put median input pricing near $0.78 per million tokens, with approximately 210 output tokens per second and a served context limit of 262,000 tokens. Launch material also cites a blended price near $0.19 per million tokens. Those summaries may reflect different providers, token mixes, cache discounts, or measurement dates, so production budgets should use each provider’s current input, output, and cached-token rates.

The Hugging Face weights are free to download under the MIT license, which permits commercial use, modification, and redistribution subject to the license notice. Serving images and dependencies retain their own licenses. Community GGUF conversions are also available, although teams should verify their provenance, quantization settings, and evaluation quality before deployment.

Best fits and hard limits

Ling-3.1-flash is best suited to text-heavy systems that can use long context, agentic tool execution, and self-hosted inference:

  1. Coding agents: The hybrid attention design limits cache growth while processing large repositories and long execution traces.
  2. Document assistants: The model can ingest full reports, contracts, research collections, and internal knowledge bases within one sequence.
  3. Private deployments: MIT-licensed weights give teams control over data handling, model updates, and serving infrastructure.
  4. High-volume text services: Sparse routing reduces per-token computation relative to a dense 560B model.

Teams should plan additional infrastructure for high concurrency, sustained million-token sessions, or workloads that combine text with images and video. Four H100s can hold the mixed-format weights, but production capacity depends on cache size, batch policy, latency targets, and runtime overhead.

Ling-3.1-flash gives open-weight developers a 560B expert pool with a 25B active path, practical Hopper support, and strong gains on agent evaluations. Its hybrid attention stack and mixed-precision recipe make self-hosting feasible for teams with multi-GPU infrastructure, provided they size memory around real context lengths and concurrency.