July 15, 2026
Why RAG Breaks at Scale (and How to See It Coming)
ragembeddingsllm
Retrieval-augmented generation looks great in a demo with 200 documents. It looks very different at 200,000.
As the corpus grows, three things degrade quietly: embedding neighborhoods get noisier, top-k retrieval starts returning near-duplicates instead of diverse evidence, and your context budget gets squeezed by chunks that shouldn’t have made the cut.
That last one is easiest to feel in your wallet. Try adjusting the numbers below for a sense of how retrieval depth and model choice move your per-request cost:
$0.0465 per request
A few practical mitigations that actually move the needle:
- Re-rank, don’t just retrieve. A cheap cross-encoder pass over the top 50 candidates fixes most of the near-duplicate problem before it reaches the prompt.
- Cap chunks by information density, not just token count. Two short, high-signal chunks beat one padded one.
- Re-embed on a schedule, not never. Embedding models drift in relevance as your domain vocabulary shifts.
None of this is exotic — it’s just easy to skip when the demo already works.