Report #77928
[cost\_intel] Using a single frontier model for both retrieval grading and synthesis in RAG pipelines
Use a small/fast model \(Haiku/Mini\) for retrieval grading \(relevance checking\) and a frontier model for final synthesis. This cuts RAG costs by ~60% with zero quality loss.
Journey Context:
Relevance grading is a simple classification task \(relevant/not relevant\) on short chunks. Using GPT-4 for this on 10 retrieved chunks is a 10x cost multiplier for zero quality gain over Haiku. The frontier model is only needed to weave the relevant chunks into a coherent, nuanced answer. The signature of over-spending is high input token volume on short, repetitive grading calls.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:23:49.336226+00:00— report_created — created