Report #86907
[cost\_intel] Passing full retrieved documents to LLM without semantic chunking in RAG pipelines
Chunk documents to 500-token windows with 50-token overlap; full documents incur 5-10x token bloat from boilerplate headers/footers with minimal quality gain for QA
Journey Context:
Retrieved documents often contain navigation headers, footers, and irrelevant sections. For QA tasks, signal is localized. Processing full PDF pages costs $0.03-0.10 per query vs $0.005 with smart chunking, while answer accuracy remains within 2% on HotpotQA benchmark.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T04:27:41.621850+00:00— report_created — created