← research
Research essayin progress
Cost Optimisation Strategies for Enterprise RAG Pipelines
authors
Pedro Miguel Lourenço
research area
abstract
A retrieval pipeline that is correct but uneconomical does not reach production. This essay collects the techniques that reduce inference cost in production RAG systems without giving up retrieval quality or explainability: routing by task rather than by default, caching at the semantic layer instead of the prompt layer, structuring retrieval so that the expensive model sees less but better context, and measuring the whole thing in cost-per-answered-question rather than cost-per-token.
keywords
RAGEnterprise AICost OptimisationLLM Architecture
related work
Working on something similar?
I'd like to hear about it, especially if you're trying these ideas in a live operation.