# Ling 3.1 Flash (560B)

> Hybrid MoE that extends Ling 3.0 Flash to 72 layers, with seven Kimi Delta Attention layers for every gated MLA layer.

| Property | Value |
| --- | --- |
| Lab | InclusionAI (China) |
| Released | 2026-10-13 |
| Decoder type | Sparse hybrid |
| Family | Hybrid MoE |
| Scale | 560B total, 25B active (4.5% active) |
| Context window | 1M reported; 262,144 in config tokens |
| Attention | 7:1 Kimi Delta Attention and gated MLA |
| Layer mix | 63 Kimi Delta Attention + 9 gated MLA + 1 MTP layer |
| KV cache / token (bf16) | 10.1 KiB (Very low) |
| License | MIT License |

**Key detail:** Uses four initial dense FFN layers, top-8 routing over 512 experts plus one shared expert, and MLA with a 1,536-dimensional query bottleneck and 512-dimensional KV latent.

## Architecture concepts

- [Multi-Head Latent Attention (MLA)](https://llm-atlas-7or.pages.dev/concepts/mla.md): Keys and values are compressed into a small latent vector that is cached instead of full K/V.
- [Gated Attention (Gated attention)](https://llm-atlas-7or.pages.dev/concepts/gated-attention.md): A learned sigmoid gate scales the attention output before it re-enters the residual stream.
- [Hybrid Attention (Hybrid attention)](https://llm-atlas-7or.pages.dev/concepts/hybrid-attention.md): Mixes cheap linear-attention or state-space layers with a few full-attention layers.
- [Short Convolution (ShortConv)](https://llm-atlas-7or.pages.dev/concepts/shortconv.md): A tiny causal depthwise convolution (kernel ≈ 4) that mixes each channel over the last few tokens.
- [Mixture of Experts (MoE)](https://llm-atlas-7or.pages.dev/concepts/moe.md): Many feed-forward experts, but a router sends each token to only a few of them.
- [Multi-Token Prediction (MTP)](https://llm-atlas-7or.pages.dev/concepts/mtp.md): Extra heads learn to predict several future tokens, and can draft tokens at inference.

## Links

- Architecture diagram: https://sebastianraschka.com/llm-architecture-gallery/images/architectures/ling-3-1-flash.webp
- config.json: https://huggingface.co/inclusionAI/Ling-3.1-flash/blob/main/config.json
- Tech report: https://huggingface.co/inclusionAI/Ling-3.1-flash
- Source card (source of truth): https://sebastianraschka.com/llm-architecture-gallery/#card-ling-3-1-flash
- Web page: https://llm-atlas-7or.pages.dev/models/ling-3-1-flash/
- JSON: https://llm-atlas-7or.pages.dev/api/models/ling-3-1-flash.json

_Data from Sebastian Raschka's LLM Architecture Gallery (https://sebastianraschka.com/llm-architecture-gallery/). Synced 2026-11-04._
