Building the Foundation for High-Performance LLMs at Cloudflare
- Workers AI
- Kimi K2.5
- Mooncake Transfer Engine
- Mooncake Store
- LMCache
- SGLang HiCache
- EAGLE-3
- Infire
- vLLM
- Llama 4 Scout
AI Summary
Cloudflare details the engineering strategies used to optimize large language model hosting on Workers AI, focusing on open-source models like Kimi K2.5. The article explores hardware setups, disaggregated prefill and decode (PD) architecture, token-aware load balancing, prompt caching via session affinity headers, KV cache optimization across multiple GPUs using Mooncake and LMCache, speculative decoding with EAGLE-3, and improvements to their proprietary Rust-based inference engine, Infire.
Key Takeaways
- Covers disaggregated prefill and decode architecture for LLM inference.
- Details prompt caching and token-aware load balancing strategies.
- Highlights multi-GPU memory management and the custom Rust-based Infire engine.
Why it matters
Understanding how infrastructure providers optimize high-throughput, low-latency LLM serving provides valuable architectural patterns for engineers scaling generative AI systems, managing GPU memory constraints, and implementing disaggregated inference pipelines.
Conversation0
What would you add from your experience?
Checking your session…
Every good conversation starts with one perspective.