Interview practice question
RAG costs growing with usage
Machine Learning · RAG · Intermediate
Your RAG assistant's LLM costs are growing quickly. How do you reduce them?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Send fewer, more relevant chunks (reranking).
- Smaller model for simple questions (routing).
- Prompt caching for static instructions.
- Semantic caching for repeated questions.
- Shorter answers; avoid unnecessary query rewriting calls.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.