Estimating Compute and Memory Requirements for LLM Training and Inference📅 May 27, 2026 · 📝 May 28, 2026 · ☕ 14 min read · ✍️ k4iA back-of-the-envelope framework for estimating LLM training FLOPs, inference FLOPs, weight memory, KV cache, and training memory.