TL;DR
- Ling-3.2-air is an MIT-licensed, 124B-parameter mixture-of-experts vision-language model with 5.5B active parameters per token, published on Hugging Face on November 23, 2026 as an FP8 checkpoint.
- Of its 42 layers, 35 use KDA (a linear-attention variant with fixed-size state) and 7 use gated MLA. Only those 7 layers grow a cache with context.
- By my arithmetic from
config.json, and assuming the runtime stores the compressed MLA latent, the cache is about 7.9 KiB per token in BF16: 2.11 GB at 262,144 tokens and 8.06 GB at 1,000,000. Stored as plain multi-head attention, the same 7 layers would need 37.6 GB at 262K. - The weights are the real cost: about 129.2 GB in the published FP8 format. The model card's own recipe uses 4 GPUs of 141 GB class, or 8 GPUs of 80 GB.
Contents
- What is inside Ling-3.2-air?
- How big is the KV cache?
- What does the memory budget look like?
- What does the model card claim?
- How should you serve it?
- FAQ
What is inside Ling-3.2-air?
The model card for inclusionAI/Ling-3.2-air describes an open-weight model that shares the native multimodal architecture of its predecessor, Ling-3.0-flash-VL. The repository was created on November 23, 2026 and the license field reads MIT. The card's summary table gives the following.
| Item | Value |
|---|---|
| Architecture | Hybrid-linear MoE |
| Parameters | 124B total, 5.5B activated |
| Layers | 35 KDA + 7 gated MLA (5:1 ratio), 2 of them dense |
| Routed experts | 512, with 8 activated per token, plus 1 shared expert |
| Attention heads | 32 |
| Hidden size | 2560 |
| Expert intermediate size | 768 |
| Vocabulary | 157,184 |
The safetensors metadata adds a precise count: 127,920,654,544 parameters in total, of which 126.6B are stored as FP8 (E4M3) and 1.31B as BF16. The gap between the 124B on the card and the 127.9B in the metadata is plausibly the vision tower and embeddings, which the quantization config leaves out of FP8 conversion (model.visual, lm_head, model.word_embeddings). I treat the card's "124B" as the language-model figure and the metadata figure as the file you actually download.
The config.json confirms the shape. It sets num_hidden_layers to 42, layer_group_size to 6, num_experts to 512, num_experts_per_tok to 8 and max_position_embeddings to 262,144. A group size of 6 with a 5:1 ratio means every sixth layer is a full-context attention layer. In the quantization exclusion list, layers 5, 11, 17, 23, 29, 35 and 41 carry a g_proj, the gate of the gated MLA block, which is where the 7 comes from. The other layers carry a b_proj, which I read as the KDA marker. There is also one multi-token-prediction layer (num_nextn_predict_layers: 1) that the card's serving recipe uses for speculative decoding.
Why does the attention split matter?
In a standard transformer, every layer keeps keys and values for every token, so the cache grows linearly with context times layer count. A linear-attention layer such as KDA instead keeps a fixed-size recurrent state per sequence, whatever the context length. A hybrid keeps a handful of full-attention layers for precise long-range lookup and lets the rest run on constant state. The serving consequence is simple: the number of full-attention layers sets how fast memory grows with context.
How big is the KV cache?
MLA (multi-head latent attention) compresses keys and values into a low-rank latent. The config gives kv_lora_rank 512 and qk_rope_head_dim 64. A runtime that caches the latent plus the rotary key part stores 512 + 64 = 576 values per token per MLA layer.
kv_lora_rank, rope_dim = 512, 64
mla_layers = 7
bytes_per_value = 2 # BF16
per_layer = (kv_lora_rank + rope_dim) * bytes_per_value # 1,152 bytes
per_token = per_layer * mla_layers # 8,064 bytes
print(per_token / 1024) # 7.875 KiB
for ctx in (131_072, 262_144, 1_000_000):
print(ctx, per_token * ctx / 1e9, "GB")
# 131072 1.057 GB
# 262144 2.114 GB
# 1000000 8.064 GB
That is the best case, and it rests on an assumption I cannot verify from the config alone: that the serving stack keeps the compressed latent rather than expanding it. The card does not state the cache layout, and the model uses custom code, so check what your runtime allocates. For comparison, here are two other readings of the same config.
| Reading | Bytes per token | GB at 262,144 tokens |
|---|---|---|
| 7 MLA layers, latent cache | 8,064 | 2.11 |
| All 42 layers as latent MLA (no hybrid) | 48,384 | 12.68 |
| 7 layers as uncompressed MHA (32 heads, K dim 192, V dim 128) | 143,360 | 37.58 |
The first row is the hybrid-plus-latent design working as intended. The second isolates what the 5:1 hybrid ratio buys on its own: a factor of 6 less cache than running MLA in every layer. The third shows what the latent compression buys on its own: a factor of about 17.8 against caching full per-head keys and values in those same 7 layers. The two savings multiply, which is why a 124B model can talk about a million-token path at all.
What about the KDA state?
KDA layers do not grow with context, but they are not free. The config does not list the KDA head layout, so I assume 32 heads with a 128 by 128 state per layer. Under that assumption the 35 layers hold 18.35M values per sequence: about 73 MB in fp32 or 37 MB in BF16. Even if my assumption is off by a factor of several, it stays small next to the weights. It does scale with the number of concurrent sequences, though, so it matters for batch planning more than for single-user planning.
What does the memory budget look like?
Weights first. From the safetensors metadata: 126,609,211,392 FP8 values at one byte each, 1,311,277,680 BF16 values at two bytes, and 165,472 F32 values at four. That sums to roughly 129.2 GB.
For a single sequence at the native 262,144-token limit, my estimate is:
| Component | GB |
|---|---|
| FP8 weights and BF16 extras | 129.23 |
| KV cache (latent assumption) | 2.11 |
| KDA state (fp32, assumed layout) | 0.07 |
| Total before activations and graphs | about 131.4 |
Two conclusions follow. First, no single 80 GB GPU can hold this model, and a single 141 GB GPU would have almost nothing left after the weights, which is why the card recommends tensor parallelism. Second, because the cache is small, extra GPUs mostly buy headroom for batch size and activations, not for context length. On the card's recipe of 4 GPUs at 141 GB, you have 564 GB of raw memory against 129 GB of weights, so on paper the cache could hold on the order of 50 concurrent 262K sequences in the latent reading, before runtime overhead. Treat that as an upper bound, not a plan.
The usual rule applies: reserve 10 to 20 percent for activations, CUDA graphs and paging, then compare against what the runtime reports at startup.
What does the model card claim?
The card reports the following, all from the vendor and none independent:
| Benchmark | Reported result |
|---|---|
| AutomationBench-AA | 15.7% to 61% (predecessor to this model) |
| GDP.pdf all-pass rate | 8.4% to 16% |
| AA-Briefcase v1.1 Elo | 987 to 1340 (+353) |
| Terminal-Bench 4.0 pass rate | 0% to 27% |
| Artificial Analysis Intelligence Index v5.0.1 | 23 |
| Harvey LAB-AA v1.1 criterion pass rate | 87.7% |
The pattern is that the gains are concentrated in workflow automation and professional-document reasoning, which fits the card's own framing. One detail on the legal benchmark is worth reading closely: the card states the all-pass rate is 8.3% before the material-hallucination check and 0.8% after it. That is a useful reminder that a criterion pass rate and an all-pass rate measure very different things, and that a hallucination filter can change a headline number by an order of magnitude. If you are evaluating the model for legal or document work, ask which of those two numbers your use case resembles.
I did not re-run any of these. The scores come from the vendor's table, the benchmarks come from several different authors, and I could not confirm the settings of the versioned suites. Reproduce the rows that match your workload on your own harness before committing hardware.
How should you serve it?
The card gives an SGLang recipe as the recommended path, with a day-0 image, MTP speculative decoding (--speculative-algorithm NEXTN) and Hopper decode optimizations:
python3 -m sglang.launch_server \
--model-path inclusionAI/Ling-3.2-air \
--tp 4 \
--context-length 262144 \
--speculative-algorithm NEXTN \
--trust-remote-code \
--reasoning-parser auto \
--tool-call-parser auto
It lists 4 GPUs of 141 GB class (H20-3e, H200) or 4-GPU Blackwell nodes (B300, GB300), and says to use --tp 8 on 80 GB cards such as H100 and H800. A vLLM path is also provided through a separate fork repository. Recommended sampling is temperature 1.0, top-p 0.95, top-k 20, with enable_thinking set to true. Both launch paths use custom code, so pin a commit and read the modeling file before running it on shared infrastructure.
A sizing checklist:
- Start from weights. About 129 GB in FP8. Anything that cannot hold that across your tensor-parallel group is out.
- Pick context and concurrency. In the latent reading, multiply 8,064 bytes by tokens in flight. Verify the runtime's actual cache layout first.
- Add KDA state per sequence. Small, but it scales with concurrency.
- Reserve overhead, then measure startup allocation.
- Measure tokens per completed task with thinking enabled, since reasoning output is usually the larger cost on agent workloads.
Community quantizations (GGUF, NVFP4, MLX and pruned variants) appeared within a day of release. I have not tested any of them, and quality at lower bit widths on a hybrid linear-attention model is something to measure, not assume.
FAQ
What is Ling-3.2-air?
An open-weight, MIT-licensed multimodal mixture-of-experts model with 124B total and 5.5B active parameters, 42 layers (35 KDA and 7 gated MLA), 512 routed experts and a 262,144-token context, published November 23, 2026.
How much KV cache does Ling-3.2-air need?
By my arithmetic, about 7.9 KiB per token in BF16 if the runtime caches the compressed MLA latent: 2.11 GB at 262,144 tokens and 8.06 GB at 1,000,000. This depends on the runtime's cache layout, which the card does not specify.
How much memory do the weights take?
About 129.2 GB in the published FP8 checkpoint, computed from the safetensors parameter counts by dtype.
Can it run on one GPU?
Not in the published format. The card's recipe uses 4 GPUs of 141 GB class or 8 GPUs of 80 GB.
What does the 5:1 KDA to MLA ratio mean?
For every 5 linear-attention (KDA) layers there is 1 full-context gated MLA layer. Only the MLA layers keep a cache that grows with context.
Are the benchmark numbers independent?
No. They are the vendor's reported figures. Reproduce the ones that matter to your workload.
Links
- Model: inclusionAI/Ling-3.2-air
- Config used for the layer pattern and dimensions: config.json
- Predecessor architecture: Ling-3.0-flash-VL
Top comments (0)