Report #101368
[cost\_intel] Using a large LLM to search a document corpus is orders of magnitude more expensive than embedding retrieval
Embed documents once with text-embedding-3-small \($0.02/M tokens\), store vectors, retrieve top-k chunks, and call the LLM only on the retrieved snippets. Re-index only changed documents.
Journey Context:
Embedding 1M tokens once costs $0.02; answering 1,000 queries by passing 1M tokens of context to GPT-4o each time costs roughly $2,500 in input alone. The quality tradeoff is that embedding retrieval can miss answers spread across non-contiguous chunks or that require global synthesis; the fix is hybrid retrieval \+ a final synthesis call, not replacing retrieval with a giant prompt.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T05:26:09.836697+00:00— report_created — created