How this workload behaves
In a RAG workload, the bulk of input tokens come from retrieving and embedding large document chunks, while output tokens are driven by the model’s generated responses. Here, input costs dominate due to the 10M input tokens per month, but output costs are still significant at 2M tokens. The context window of 200K tokens suggests this workload handles long documents or multi-turn conversations, where retrieval depth and chunk size directly impact input token volume. Higher intelligence models may improve answer quality but at a steep cost premium, while cheaper models risk hallucinations or weaker reasoning.
Compare against 5 alternatives
| Model | Vendor | Monthly cost | vs primary | Δ |
|---|---|---|---|---|
| Claude Opus 4.7 | Anthropic | $300.00 | 15.00× | +$280.00 |
| Claude Sonnet 4.6 | Anthropic | $60.00 | 3.00× | +$40.00 |
| Mistral Small | Mistral | $3.20 | 0.16× | $16.80 |
| GPT-4o mini | OpenAI | $2.70 | 0.14× | $17.30 |
| Gemini 1.5 Flash | $1.35 | 0.07× | $18.65 |
Recommendation
Stick with Claude Haiku 4.5 for this RAG workload. It delivers the best cost-to-performance balance, saving $40/month versus Sonnet 4.6 and $280/month versus Opus 4.7 while maintaining sufficient intelligence for most retrieval tasks. The 5x output pricing is a non-issue here due to low output volume, and Haiku’s efficiency offsets its lower per-token price for input-heavy RAG.
Cost-saving tactics for this workload
- Use prompt caching for repeated retrieval queries to avoid re-sending the same context chunks.
- Batch API calls to amortize overhead and reduce per-request costs.
- Compress retrieved context by summarizing documents or using smaller chunk sizes.
- Route simple queries to a cheaper model (e.g., Mistral Small) and escalate only complex ones.
- Cache frequent query responses to avoid redundant LLM calls entirely.