A 560 billion parameter medical model is downloadable today under the MIT license, and its architecture card is worth more of your time than its benchmark table.

Ant Group's healthcare team shipped LingSante-3.1-flash on November 19 with 560B total parameters, 25B active per token, and a 1M token context window. The number that should stop you is the layer budget. The config declares 72 transformer blocks. The first 4 carry dense feed forward blocks, the remaining 68 use mixture of experts, and across all 72 blocks the split is 63 KDA linear attention layers to 9 gated MLA layers. Seven to one.

The open weight frontier is moving from one dense generalist to hybrid stacks tuned per vertical. The architecture card is the spec sheet to read first.

WHAT THE RATIO BUYS

Linear attention keeps a fixed size recurrent state per layer, so its cost per token does not grow with context. Quadratic attention keeps a key and value entry for every token it has ever seen.

At 1M tokens that difference is not a micro-optimization. It is the serving bill.

KDA is a gated linear attention variant. The 9 gated MLA layers are the recall layer, where the model still looks at the whole window at full fidelity. The 4 dense blocks change the feed forward path only, so they add no attention cache line of their own.

The serving recipe shows how real that split is. vLLM ships --mamba-cache-mode align here because a hybrid stack holds two caches per request: KV blocks for the 9 MLA layers, recurrent state for the 63. Neither appears in the parameter count you keep quoting.

Here is the arithmetic, runnable, from published config values.

# Cache growth for one sequence at a full 1M token window. # kv_lora_rank and qk_rope_head_dim are published in config.json. KV_LATENT = 512 # compressed latent per MLA layer, per token ROPE_DIM = 64 # decoupled rotary slice, cached with the latent MLA_LAYERS = 9 TOTAL_LAYERS = 72 # 63 KDA + 9 gated MLA, first 4 blocks dense FFN BYTES = 1 # fp8; pass 2 for bf16 WINDOW = 1_000_000 def cache_gb(seq_len, layers, width=KV_LATENT + ROPE_DIM, nbytes=BYTES): if seq_len <= 0 or layers <= 0 or width <= 0: return None # refuse a malformed plan, never return a fake zero return layers * seq_len * width * nbytes / 1024 ** 3 hybrid = cache_gb(WINDOW, MLA_LAYERS) dense = cache_gb(WINDOW, TOTAL_LAYERS) print(f"hybrid, 9 MLA layers : {hybrid:6.2f} GiB per sequence at 1M") print(f"all 72 full attention : {dense:6.2f} GiB per sequence at 1M") print(f"dense divided by hybrid: {dense / hybrid:5.2f}x") 

That prints 4.83 GiB against 38.62 GiB, an 8x ratio. Set BYTES = 2 and the full attention number becomes 77.25 GiB per sequence, which is the difference between a container that fits on 8 H200 and one that does not.

The width deserves one clause. MLA caches a 512 dimension compressed latent plus the 64 dimension rotary slice, not a full key and value per head. That is 576 values per layer per token instead of the 16,384 a plain attention layer with 64 heads at 128 dimensions would cache. The 63 KDA layers add a fixed recurrent state that does not scale with the window, which is why the snippet leaves them out.

THE SPEC SHEET, DECODED

512 routed experts plus 1 shared expert, 8 active per token. Hidden size 4096. 64 attention heads. A 157,184 token vocabulary. FP8 block quantization at 128 by 128. MIT license, weights on the Hub.

Eight of 512 means about 1.6 percent of the expert bank fires per token, which is why 560B still bills like 25B active. Your GPU count tracks the active set plus the cache. The card's answer is 8 H200 at tensor parallel 8 with expert parallel 8, or 4 GB300 at 4 and 4.

Then the half the team chose to print, where the scope of each row matters more than the score.

Coding and CLI: 65.25 on SWE-bench Pro against 89.90 for Claude Opus 5.5, 26.5 on Terminal-Bench 4.0 against 67.2 for Kimi-K3.1-Pro, 21.90 on ALE-CLI against 32.38.

Clinical reasoning: InclusionMed puts it at 45.064 overall, fifth of 23 configurations, on the performance and cost Pareto frontier. The 65.72 on HealthBench Professional is top of its row, ahead of Claude Opus 5.5, GPT-6 Astra and Gemini 4 Argon, and that is the row clinical buyers read.

All of it comes from one table on the card, scoring nine models at their highest reasoning effort.

SERVING TRADEOFF AT A GLANCE

KV and recurrent cache. Nine MLA layers grow with the window while 63 KDA layers hold fixed state, and both get budgeted per request. The risk is a scheduler that sizes one cache and silently overcommits memory on the other.

Batch size one. Eight of 512 experts are active while all 560B stays resident. The risk is cheap per token becoming brutal per idle GPU when the batch never fills.

Long context recall. Full fidelity on 9 layers, compressed state on 63. The risk is rare tokens getting mangled exactly where clinical text is densest.

Quantization and MXFP4. An MXFP4 checkpoint ships alongside FP8 and BF16. The risk is that the benchmark deltas land on the rare edge cases you care about.

Zero pipe characters left in the file, 1,526 words, YAML still valid, snippet still parses. Nothing sent, file is updated and waiting.

THE 7 TO 1 RULE

Name the thing so you can argue about it. In a hybrid stack, the ratio of linear to full attention layers is the dial that trades recall fidelity against context economics. Three questions decide where your ratio belongs.

  1. What fraction of your tasks need true global attention, meaning an answer that depends on one line 400K tokens back? Evidence synthesis does. Support chat does not.
  2. What does the routed expert count imply for your batch sizes? Eight of 512 is cheap per token and brutal at batch size one: the weights stay resident while the active slice moves.
  3. Which of your tasks tolerate linear attention's recall ceiling? Rare token retrieval breaks first, and medical records are full of rare tokens.

The ordering rule, quotable in a design review: pick the ratio from the failure you can measure, not from the card you can copy. If your eval cannot tell a miss at 400K from a miss at 4K, leave the layer mix alone.

WHAT BREAKS FIRST

Rare token recall at depth. A compressed state is a summary of everything it has seen, and summaries round. A drug name that appears once in a 300K token chart, a dosage of 0.5 where the note said 5, a lab unit that flips between mg and mcg, all three are the tokens the 63 linear layers are least likely to hand back intact. The card says it plainly: a 1M window is capacity, not a guarantee that every relevant fact is retrieved.

Agentic coding and CLI loops. 26.5 on Terminal-Bench 4.0 against 67.2 for the best model on that row. In production your build and repair loop stalls on the tool call sequence, not on the reasoning, and a stalled loop burns the same GPU hours as a wrong answer.

Benchmark contamination. MedQA has sat in the training mix of every serious model for three years, and a top row on it tells you less than the card admits. When a benchmark score is the only evidence in your model selection document, you have a marketing document.

WHAT TO DO TODAY

  1. Open config.json, not the card. Confirm kv_lora_rank is 512 and num_hidden_layers is 72, and note that max_position_embeddings reads 262,144 while the card claims 1M. Test the number your stack actually honors.
  2. Run a needle in a haystack test at your real window length, then a multi-hop variant where the answer needs two facts that sit 200K tokens apart. On your records, not the vendor's examples.
  3. Measure time to first token and time per output token under realistic concurrency with the cache alignment flags on, then again with them off. A hybrid stack's second cache shows up as a memory ceiling long before it shows up as latency.
  4. Benchmark MXFP4 against FP8 and BF16 on your own edge cases: rare drugs, conflicting lab values, unit conversions. A 4-bit medical model is a different model.

THE UNCOMFORTABLE QUESTION

If a medical vertical just got a 560B open weight model under an MIT license and your industry got another API wrapper, what exactly is your moat?

That ratio is the input. The cache policy is the decision.

The next read is how the 1M context mirage actually gets paid for. Note #102 takes GLM-5.2 at 1M tokens, where IndexShare cuts per-token FLOPs by 2.9 times, and an MTP change lifts speculative decoding acceptance by up to 20 percent. Same problem, solved with a shared indexer instead of a layer budget.