Mixture of experts: how MoE works and what it costs
Mixture of experts LLMs load every expert but run only a few per token. Compare total and active parameters, and see what memory, batching, and routing cost.
11 min readModel releases
What happens between a request and the last token. Engines, batching, the KV cache, quantization, and decoding tricks that change latency and cost.
Mixture of experts LLMs load every expert but run only a few per token. Compare total and active parameters, and see what memory, batching, and routing cost.
11 min readModel releases
A KV cache holds attention keys and values during LLM decode. Size one from config.json, see what concurrency costs, and how prompt caching reuses it.
11 min readInference and serving
Speculative decoding has a cheap draft propose tokens the target model verifies in one pass. See the math, the costs, and what vLLM and SGLang support.
9 min readInference and serving
vLLM vs SGLang compared on prefix caching, hardware, and constrained decoding, plus Ollama and llama.cpp. Every default checked November 8, 2026.
12 min readInference and serving