Contents
Key concepts
Latency metrics, SLOs and goodput
TTFT is queueing plus prefill time until the first token streams; inter-token latency (ITL, also called TPOT) is the gap between later tokens; end-to-end ≈ TTFT + (output tokens − 1) × ITL. Throughput is tokens or requests per second across all users; goodput counts only requests that meet their SLO. Chat products set p95 TTFT (for example under 1 s) and ITL faster than reading speed (under about 50 ms); batch document jobs care about cost per million tokens and completion time, not TTFT.
Prefill versus decode
Prefill processes all prompt tokens in parallel, so it is large matrix multiplications and compute-bound; it dominates TTFT and scales with prompt length. Decode produces one token per sequence per step and must read every weight plus that sequence’s KV cache, so at small batch it is memory-bandwidth-bound: a step costs roughly (weight bytes + KV bytes) ÷ HBM bandwidth. The same logic applies on devices: a phone with roughly 50–70 GB/s of memory bandwidth running a 3B model in 4-bit (about 1.7 GB) cannot exceed a few dozen tokens per second.
Flow · 4 stepsRequest path from queue to streamed output
- Queue and admit Prompt waits in queue; admission control bounds queue length.
- Prefill All prompt tokens processed in parallel; compute-bound; writes KV cache; TTFT.
- Decode One token per sequence per step; reads weights and KV; memory-bandwidth-bound; ITL.
- Stream Tokens stream out; end-to-end ≈ TTFT + (output tokens − 1) × ITL.
Data
| Step | Title | What happens |
|---|---|---|
| 1 | Queue and admit | Prompt waits in queue; admission control bounds queue length. |
| 2 | Prefill | All prompt tokens processed in parallel; compute-bound; writes KV cache; TTFT. |
| 3 | Decode | One token per sequence per step; reads weights and KV; memory-bandwidth-bound; ITL. |
| 4 | Stream | Tokens stream out; end-to-end ≈ TTFT + (output tokens − 1) × ITL. |
Source: This page's text
| Box | Group | Detail |
|---|---|---|
| Prompt | Input | prompt tokens |
| Queue | Input | admission control |
| Prefill | Compute | compute-bound |
| Decode | Compute | memory-bandwidth-bound |
| KV cache | Memory | fixed-size blocks |
| Streamed output | Output | tokens |
Source: This page's text
Calculator8B decode ceiling on one H100
- Bytes per step
- 16 GB
- Milliseconds per token
- 4.78 ms
- Per-user tokens/s
- 209 tokens/s
- Aggregate tokens/s
- 209 tokens/s
Bytes per step = 16 + Batch size × Context tokens × 131072 ÷ 1e9 = 16 GB
Milliseconds per token = Bytes per step ÷ 3.35 = 4.78 ms
Per-user tokens/s = 1000 ÷ Milliseconds per token = 209 tokens/s
Aggregate tokens/s = Batch size × Per-user tokens/s = 209 tokens/s
| Case | Batch size | Context tokens (tokens) | Bytes per step | Milliseconds per token | Per-user tokens/s | Aggregate tokens/s |
|---|---|---|---|---|---|---|
| Batch 1 | 1 | 0 | 16 GB | 4.78 ms | 209 tokens/s | 209 tokens/s |
| Batch 32, 2k context | 32 | 2,000 | 24.4 GB | 7.28 ms | 137 tokens/s | 4,395 tokens/s |
Sequence · 3 stepsDisaggregated prefill and decode pools
- Route the request The client sends the request to the router, which sends the prompt to the prefill pool.
- Prefill and hand off KV The prefill pool processes the prompt and moves the KV cache to the decode pool over NVLink or RDMA.
- Decode and stream The decode pool generates tokens and streams them back to the client.
Data
| Step | From | To | Message |
|---|---|---|---|
| 1 | Client | Router | request |
| 1 | Router | Prefill pool | prompt |
| 2 | Prefill pool | Decode pool | KV cache |
| 3 | Decode pool | Client | tokens (reply) |
Source: This page's text
Continuous batching and its side effects
Static batching waits for the longest sequence in a batch, leaving slots idle as shorter ones finish. Continuous (iteration-level) batching admits and retires sequences every decode step, which raises utilisation several-fold. New problems: a long prefill joining the batch stalls everyone’s decode (fixed by chunked prefill, as in Sarathi-Serve), the KV cache can fill up and force preemption or recomputation, and scheduling becomes a fairness and priority question. vLLM V1 (2025) drops the prefill/decode distinction inside its scheduler altogether: each step hands out a token budget across requests, so chunked prefill is simply the default. Disaggregated serving (DistServe) instead puts prefill and decode on separate GPU pools so each can meet its own SLO; since 2025 it ships in production stacks (NVIDIA Dynamo, llm-d, the PD modes of vLLM and SGLang), at the price of moving each request’s KV cache between pools over NVLink or RDMA with libraries such as NIXL or Mooncake.
KV memory management
KV memory, not compute, usually caps concurrency. PagedAttention allocates the cache in fixed-size blocks through a block table, cutting fragmentation waste to almost nothing and enabling block sharing for common prefixes, parallel samples and beams. Prefix caching reuses blocks for shared system prompts and multi-turn history; vLLM V1 enables it by default because its cost at a 0% hit rate is under 1% of throughput. The cache now also outlives one GPU: layers such as LMCache offload blocks to CPU memory, disk or remote stores and share them across engines, and KV-aware routers send a request to the replica that already holds its prefix. Engine knobs such as maximum concurrent sequences, maximum model length and the fraction of GPU memory reserved trade concurrency against context length and preemption risk.
Parallelism choices
Data parallelism runs independent replicas and scales throughput linearly. Tensor parallelism splits each matmul across GPUs with an all-reduce per layer, which cuts per-token latency and pools memory but needs fast NVLink within a node. Pipeline parallelism splits layers across devices or nodes, adds bubbles, and suits models that do not fit on one node. For dense models, pick the smallest TP degree that fits weights plus enough KV, then add replicas. Large mixture-of-experts models such as DeepSeek-V3 are now served with wide expert parallelism: attention runs data-parallel (tensor parallelism would duplicate the compressed MLA KV on every shard), experts are spread over dozens to more than a hundred GPUs with all-to-all dispatch kernels such as DeepEP, two micro-batches overlap compute with communication, and hot experts are replicated for load balance (EPLB). DeepSeek’s own service used expert parallelism of 32 for prefill and 144 for decode.
Speed levers and what they cost
Weight-only INT4 (GPTQ, AWQ) shrinks bytes read per decode step, so it helps memory-bound decode; FP8 weights and activations also speed compute-bound prefill on Hopper and Blackwell, and Blackwell adds native NVFP4 (4-bit values with an FP8 scale per 16 elements, about 4.5 bits each); KV quantisation raises concurrency. Each needs an evaluation on your tasks, not just perplexity. Speculative decoding keeps the output distribution exact; learned draft heads (EAGLE-3) and a model’s own multi-token-prediction module (DeepSeek-V3 reports 85–90% acceptance of the second token and about 1.8× tokens per second) are common alternatives to a separate draft model. It helps most at low batch with a high acceptance rate, but adds little or even slows things down when the GPU is already saturated by large batches.
Overload, rate limits and autoscaling
Without admission control, queues grow until every request misses its SLO. Bound queue length, shed or downgrade low-priority traffic, enforce per-tenant RPM and TPM limits, and return 429 with Retry-After rather than timing out silently. Autoscale on queue depth, KV-cache utilisation or TTFT, not CPU, and remember that loading a large model can take minutes, so keep warm headroom and pre-download weights.
Observability and debugging
Track TTFT and ITL percentiles split into queue time and compute time, running and waiting request counts, KV-cache usage, preemptions, prefix-cache hit rate, prompt and output length distributions, and error codes per model version. A p99 jump with no deploy usually means a traffic-mix change (longer prompts, a new tenant), cache-hit collapse, preemption storms or a degraded node. Requests stuck at zero throughput while others finish point to an engine-level stall or deadlock; health checks should therefore generate tokens, not just return HTTP 200, and every request needs a deadline.
Worked examples
Decode throughput of an 8B model on one H100
Llama-3-8B has about 8.0B parameters, 32 layers, 8 KV heads and head dimension 128, served in bf16 on an H100 (3.35 TB/s HBM, about 989 TFLOP/s dense bf16). Estimate the ceiling on decode speed at batch 1, and at batch 32 with an average context of 2,000 tokens. Is decode compute-bound?
1. Bytes per decode step.
- Weights: 8.0e9 × 2 bytes = 16 GB, read once per step whatever the batch size.
- KV per token: 2 (K and V) × 32 layers × 8 heads × 128 dims × 2 bytes = 131,072 B = 128 KiB.
2. Batch 1. 16 GB ÷ 3.35 TB/s = 4.8 ms per token, so at most about 210 tokens/s. Real engines reach perhaps 70% of peak bandwidth, giving about 145 tokens/s.
3. Batch 32, 2,000-token contexts. KV read per step = 32 × 2,000 × 131,072 B = 8.4 GB. Bytes per step = 16 + 8.4 = 24.4 GB, so 24.4 / 3.35 TB/s = 7.3 ms.
- Per user: 1 / 7.3 ms ≈ 137 tokens/s (ceiling).
- Aggregate: 32 / 7.3 ms ≈ 4,400 tokens/s. Batching multiplies throughput about 21× while per-user speed drops only about 35%.
4. Compute check. About 2 FLOPs per parameter per token: 2 × 8e9 × 32 = 5.1e11 FLOPs per step, which takes 0.52 ms at 989 TFLOP/s, about 14× less than the 7.3 ms memory time. Decode is firmly memory-bound.
5. When would it become compute-bound? For the weight matmuls, arithmetic intensity is roughly the batch size in FLOPs per byte, and the H100’s ridge point is 989e12 / 3.35e12 ≈ 295. So only around 300 concurrent sequences would make weights compute-bound, and KV reads grow with batch × context, which keeps long-context decode memory-bound anyway. Hence the value of GQA, KV quantisation and weight quantisation.
Will a 70B model serve 32 users at 32k context on 2 × 80 GB GPUs?
Llama-3-70B: about 70B parameters, 80 layers, 8 KV heads, head dimension 128. Two 80 GB GPUs with tensor parallelism. Can it hold 32 concurrent users at a full 32k-token context? If not, what are the options?
1. Weights. bf16: 70e9 × 2 B ≈ 140 GB. FP8: ≈ 70 GB.
2. KV per token (bf16). 2 × 80 × 8 × 128 × 2 B = 327,680 B = 320 KiB. FP8 KV halves it to 160 KiB.
3. Demand. 32 users × 32,768 tokens = 1,048,576 tokens. bf16: 1,048,576 × 320 KiB = 320 GiB ≈ 344 GB. FP8: ≈ 172 GB.
4. Supply on 2 × 80 GB = 160 GB.
- bf16 weights leave about 20 GB; after about 6–8 GB for activations, CUDA graphs and fragmentation, roughly 12 GB of KV ≈ 37k tokens, about one user at full context. No.
- FP8 weights and FP8 KV: 160 − 70 − 8 ≈ 82 GB of KV ÷ 160 KiB ≈ 500k tokens, about 15 users at full 32k. Still no.
5. Options.
- 4 × 80 GB with FP8 weights and KV: 320 − 70 − 16 ≈ 234 GB → about 1.43M tokens → about 43 users.
- 8 × 80 GB in bf16: 640 − 140 − 32 ≈ 468 GB → about 1.43M tokens → about 43 users.
- Question the requirement: if the median context is 8k, the FP8 two-GPU set-up holds about 500k / 8k ≈ 60 average users, with admission control for the rare full-length request.
6. Parallelism notes. TP = 2 or 4 inside one NVLink node keeps the per-layer all-reduces cheap; for more throughput, add data-parallel replicas rather than raising TP further.
Size a GPU fleet for a chat product with Little's law
Peak load is 50 requests/s, averaging 1,000 prompt tokens and 300 output tokens. SLOs: p95 TTFT under 1 s and p95 ITL under 50 ms. A load test (an assumption for this exercise) shows one H100 serving the 8B model sustains 100 concurrent sequences at about 40 ms ITL and about 2,500 output tokens/s. How many GPUs do you need?
1. Time each request spends in the system. W ≈ TTFT + 300 × ITL ≈ 0.5 s + 300 × 0.04 s = 12.5 s.
2. Little’s law. Concurrent sequences L = λ × W = 50 × 12.5 = 625.
3. Replicas for concurrency. 625 / 100 = 6.25, so 7 replicas at 100% utilisation. Targeting 70% at peak to absorb bursts gives 625 / (100 × 0.7) ≈ 9 replicas.
4. Check decode throughput. Fleet output = 50 × 300 = 15,000 tokens/s, about 1,670 tokens/s per replica, under the 2,500 measured. ✓
5. Check prefill compute. 50 × 1,000 = 50,000 prompt tokens/s × 2 × 8e9 FLOPs = 8e14 FLOP/s. One H100 at 40% utilisation gives about 4e14, so prefill needs about 2 GPUs’ worth of compute, around 22% of a 9-GPU fleet. Chunked prefill spreads it so TTFT and ITL both hold. ✓
6. Production adjustments. Add N+1 for node failure, a second zone for resilience, and alert on queue time before TTFT breaches. Re-run the test whenever the prompt-length distribution changes, because doubling prompts doubles the prefill load.
What changed recently
DeepSeek open-sources DeepInfer and vLLM matches it at rack scale
DeepSeek released DeepInfer, its own inference engine for DeepSeek-V4.1-Flash, as an offline, single-model engine with published prefill and decode curves. The same week the vLLM team, noting that DeepInfer was originally built on vLLM, reported decode throughput on GB200 within 6% of DeepInfer’s published results across batch sizes 8 to 256, and served the model online on one GB300 NVL72 rack with P/D disaggregation and wide expert parallelism at a P90 of 196 tokens/s per user. The lesson interviewers draw out: matching a single engine’s kernels is now achievable quickly, and the harder production work is routing, KV movement and load balance across the cluster.
NVIDIA Dynamo 1.0 goes to production
Dynamo, open-sourced in March 2025 as an orchestration layer above vLLM, SGLang and TensorRT-LLM, reached a production 1.0 release in March 2026 with KV-aware routing, offload of KV blocks to cheaper memory and storage (KVBM), the NIXL GPU-to-GPU transfer library and Kubernetes scaling (Grove), and adoption by the major clouds. With llm-d (launched by Red Hat with Google Cloud, IBM Research, NVIDIA and CoreWeave in May 2025) it marks disaggregated, cache-aware serving becoming standard infrastructure, so designs are now expected to say how requests find the replica holding their prefix and how KV moves between pools.
NVFP4: 4-bit floating point on Blackwell
NVIDIA detailed NVFP4, a Blackwell tensor-core format that stores E2M1 4-bit values with an FP8 (E4M3) scale per 16-value block plus an FP32 scale per tensor, about 4.5 bits per value. Its smaller blocks and fractional scales cut quantisation error relative to MXFP4 (32-value blocks with power-of-two scales); NVIDIA reports 1% or less accuracy loss against FP8 on DeepSeek-R1-0528 and about 1.8× less weight memory than FP8. Interviewers ask what 4-bit buys for prefill versus decode, what the scales cost, and why you still evaluate on your own tasks.
Open-source wide expert parallelism with disaggregated prefill and decode
The SGLang team reproduced DeepSeek’s published serving design on 96 H100s: separate prefill and decode clusters, data-parallel attention, cross-node expert parallelism with DeepEP kernels (a throughput mode for prefill, a CUDA-graph-friendly low-latency mode for decode), two-batch overlap and the EPLB expert load balancer. It reached 52.3k input and 22.3k output tokens/s per node on 2,000-token inputs, an estimated $0.20 per million output tokens. It is the standard reference when interviewers ask why MoE serving needs very large effective batches and how hot experts are balanced.
EAGLE-3 makes learned draft heads scale with data
EAGLE-3 drops EAGLE’s feature-prediction objective, predicts tokens directly from a fusion of low-, mid- and high-level target-model features, and simulates multi-step drafting during training (‘training-time test’), so the drafter keeps improving with more data. It reports up to 6.5× speed-up (about 1.4× over EAGLE-2) and 1.38× throughput at batch 64 in SGLang. Expect questions on acceptance rates, why gains shrink at large batch, and how draft heads compare with native multi-token prediction.
Pitfalls
- Quoting tokens per second without saying whether it is per user or aggregate, or at what batch size and context length.
- Calling decode compute-bound, or assuming more FLOPs (a faster GPU tier) fixes slow decode when bandwidth is the limit.
- Sizing KV cache from parameter count instead of layers × KV heads × head dimension, or forgetting it scales with concurrency × context.
- Treating quantisation, speculative decoding or disaggregation as free: the first two need task-level evaluation, speculation can slow saturated servers, and splitting prefill from decode adds KV-transfer cost and operational complexity that a small deployment may never recoup.
- Autoscaling on CPU or GPU utilisation instead of queue depth, KV usage or TTFT, and ignoring minutes-long model load times.
- Health checks that return 200 while the engine is wedged, and requests with no deadline.
How interviewers probe it
- Define TTFT, ITL, end-to-end latency and throughput; how do SLOs differ between a chat product and a batch document job?
- Why does static batching waste GPU capacity, how does continuous batching fix it, what new problems appear, and when would you move prefill and decode onto separate pools?
- Capacity question: will model X serve N users at context C on these GPUs? Expect to explain TP, PP and DP along the way, and for a large MoE such as DeepSeek-V3, why wide expert parallelism with data-parallel attention beats tensor parallelism.
- Debugging: p99 jumped from 4 s to 20 s overnight with no deploy, or requests hang at zero throughput under concurrency.
- When would you self-host an open-weight model instead of using an API, for a UK bank or healthtech?
- Lead variant: here is a serving architecture; what breaks under load and what would you change first?
Quiz
Three questions from this guide. Answer each in your head or out loud, show the model answer, then rate yourself. The cards join your practice deck and come back when they are due.
Define TTFT, inter-token latency, end-to-end latency and throughput. How would SLOs differ for a chat product and for a batch document-processing job?
Model answer, written in a candidate's voice
- TTFT = queueing + prefill + first token; ITL = gap between tokens; e2e ~ TTFT + ITL x output tokens; throughput = tokens/sec or requests/sec per GPU
- Chat: low p95/p99 TTFT and ITL faster than reading speed, streaming, tight e2e for short turns
- Batch: maximise throughput per pound, tolerate long/hours, batch APIs, e2e less important than cost and completion
- Measure percentiles under realistic load and length distributions; report goodput = requests within SLO
- Throughput-latency curve: larger batches raise throughput then plateau/degrade while TTFT/ITL worsen; pick operating point
Why does static batching waste GPU capacity for LLMs, how does continuous batching fix it, and what new problems appear?
Model answer, written in a candidate's voice
- Static batches pad to the longest sequence and wait for all members to finish, wasting compute and blocking newcomers.
- Continuous batching schedules at iteration/step level, admitting and retiring sequences every step.
- This fills the GPU with active tokens and typically multiplies throughput at comparable latency.
- New problems: prefill can interrupt decodes, KV-cache pressure forces preemption/recompute/swap, and fairness/priorities/SLOs need explicit handling.
What problem does PagedAttention solve, and how does it enable prefix sharing?
Model answer, written in a candidate's voice
- Contiguous per-request KV reservations waste memory and fragment the cache, capping batch size.
- Fixed-size KV blocks plus a per-request block table allocate memory on demand, like virtual memory.
- Shared prefixes are referenced by multiple sequences; copy-on-write splits blocks only when they diverge.
- Block hashes enable automatic prefix caching and reuse across requests.
- Larger batches improve throughput; block size trades metadata/lookup overhead against internal fragmentation and sharing granularity.
You have finished this topic.
Reading
- LLM Inference Performance Engineering: Best PracticesDefines the serving metrics and works through bandwidth, batching and parallelism trade-offs.
- Efficient Memory Management for Large Language Model Serving with PagedAttentionThe vLLM paper: why KV fragmentation limits batch size and how paging fixes it.
- vLLM V1: A Major Upgrade to vLLM's Core ArchitectureHow a current engine schedules: one token budget instead of prefill and decode phases, prefix caching on by default and an isolated engine-core process to hide CPU overhead.
- Optimization and Tuning (vLLM documentation)The real knobs: memory utilisation, preemption, chunked prefill and parallelism strategies.
- Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-ServeChunked prefill and stall-free scheduling to protect inter-token latency.
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model ServingWhy separating prefill and decode onto different GPUs improves goodput under SLOs.
- Deploying DeepSeek with PD Disaggregation and Large-Scale Expert Parallelism on 96 H100 GPUsA reproducible, numbers-first account of serving a large MoE with disaggregated prefill and decode, wide expert parallelism and expert load balancing.
- All About Transformer Inference (How To Scale Your Model, part 7)Rigorous roofline-based treatment of inference latency, batching and sharding.
Practise this topic
- Define TTFT, inter-token latency, end-to-end latency and throughput. How would SLOs differ for a chat product and for a batch document-processing job?
- Why does static batching waste GPU capacity for LLMs, how does continuous batching fix it, and what new problems appear?
- What problem does PagedAttention solve, and how does it enable prefix sharing?
- Describe the prefill and decode phases of inference. Which is compute-bound and which is memory-bandwidth-bound, and how does that show up in time-to-first-token and inter-token latency?
- Will a 70B dense model serve 32 concurrent users at 32k context on two 80 GB GPUs? Explain tensor, pipeline and data parallelism along the way.
- When would you self-host an open-weight model instead of using a hosted API? Walk through the decision for a UK healthtech or bank.
- p99 latency of your LLM endpoint jumped from 4 s to 20 s overnight with no deploy. Debug it.
- Your self-hosted model server is fine for single requests, but under concurrent load some requests hang at zero throughput while others finish. How do you investigate?
- Take a typical LLM serving stack: an API gateway, a request queue, a pool of GPU inference servers running continuous batching, and a single region behind a load balancer. What breaks under load, and what would you change first?
- Payment authorisation gives your model a 50 ms p99 budget including feature fetches. How do you design for it?
- Compare multi-head, multi-query and grouped-query attention, and latent attention if you know it. Why did most recent open-weight models adopt GQA, and what does it change when you serve the model?
- What is stored in the KV cache and why does it exist? Estimate the cache memory for a model with 32 layers, 8 KV heads and head dimension 128, in bf16, serving 16 concurrent requests at 8k tokens each.
- What is a mixture-of-experts transformer, and what changes for training and serving compared with a dense model of similar quality?
- Explain LoRA: what is trained, how rank and alpha matter, where adapters go, and how QLoRA cuts memory further. How would you serve 50 customer-specific adapters?
- Compare weight-only INT4 (GPTQ/AWQ), FP8 weights-and-activations and KV-cache quantisation. How would you decide a quantised model is acceptable for production?
- How does speculative decoding speed up generation without changing the output distribution, and when does it not help?
- Design, and partly code, a single-GPU inference service that batches incoming requests up to a maximum batch size while each caller waits synchronously for its own result. How do you trade latency against throughput?
- When would you serve predictions in batch vs online? What hybrid patterns exist?
- Your product serves a 70B model in FP8 on Hopper GPUs. Leadership asks whether moving to Blackwell with NVFP4 weights will halve the serving cost. Explain what NVFP4 is and how you would answer.
- Explain how EAGLE-3 differs from classic draft-model speculative decoding and from reusing a model’s own multi-token-prediction module, as DeepSeek-V3 does. When would you switch speculation off in production?
- After DeepSeek-R1 (MIT licence, January 2025) and OpenAI’s gpt-oss (Apache 2.0, August 2025), your CFO asks why you still pay a frontier API for an internal assistant handling 2 billion tokens a day. The 2026 AI Index says the best closed model leads the best open one by only about 3%. Make the recommendation.
- As head of an AI platform team, you learn that in February 2026 every Gemini model on Vertex AI failed together because of a shared safety-filtering service, and that late-2025 AWS us-east-1 and Cloudflare outages took out many dependent products. Your assistant currently fails over between two models from the same provider. How do you assess and reduce this concentration risk, and how do you justify the cost?
- You are moving about 3,000 concurrent coding agents from a managed API to a self-hosted open model served with vLLM on Kubernetes. Why does a standard Kubernetes Service balance this traffic badly, and what would your routing, scheduling and model-upgrade design look like?
- You must serve a DeepSeek-style mixture-of-experts model (hundreds of billions of parameters, 256 routed experts, MLA attention) for an agentic coding product. Explain why the large public deployments since 2025 use disaggregated prefill and decode with wide expert parallelism and data-parallel attention rather than tensor parallelism, and what new failure modes this design introduces.
- Anthropic’s September 2025 postmortem described routing, configuration and compiler bugs that degraded answer quality for weeks without raising error rates. Design the monitoring that would catch a model that is up but subtly wrong in your own serving stack.
- Qwen3.5-397B-A17B activates 10 of 512 routed experts plus one shared expert per token. Compared with Mixtral-style 2-of-8 routing, what do fine-grained and shared experts buy you, what do they cost in training and serving, and how does DeepSeek-V3’s auxiliary-loss-free load balancing work?