1 essay on this topic.
How AI models read hundreds of thousands of tokens at once: why attention gets expensive, what the KV cache is, and when long context beats RAG.