Use case ยท checked October 12, 2026

Cheapest LLM API for RAG search

Claude Haiku 5.5 and GPT-6 Luna tie as the cheapest at $37.50 a month. Our assumption: 100,000 searches a month, each sending about 2,500 tokens of retrieved passages and getting a 250-token answer.

#ModelPer monthPer request
1Claude Haiku 5.5
Anthropic
$37.50$0.00038
2GPT-6 Luna
OpenAI
$37.50$0.00038
3DeepSeek V4.1 Flash
DeepSeek
$52.50$0.00052
4Gemini 3.1 Flash-Lite
Google
$100$0.00100
5Gemini 3.5 Flash-Lite
Google
$138$0.00137
6Mistral Large
Mistral
$162$0.00162
7DeepSeek V4 Pro
DeepSeek
$214$0.00215
8Gemini 3.8 Flash
Google
$281$0.00281
9Gemini 3.6 Flash
Google
$281$0.00281
10Grok Build 0.1
xAI
$300$0.00300
11Claude Haiku 4.5
Anthropic
$375$0.00375
12Grok 4.3
xAI
$375$0.00375
13Grok 4.7
xAI
$650$0.00650
14Claude Sonnet 5.5
Anthropic
$750$0.00750
15GPT-6.1 Sol
OpenAI
$750$0.00750
16GPT-5.3 Codex
OpenAI
$788$0.00788
17Gemini 3.1 Pro
Google
$800$0.00800
18Claude Opus 5.5
Anthropic
$1,500$0.01500
19Claude Fable 5.1
Anthropic
$3,750$0.03750
20GPT-6 Astra
OpenAI
$3,750$0.03750

Price only. Cheaper models are usually less capable, so test quality on your own data before switching.

Change the assumptions

Start from a use case

1,000 tokens is about 750 English words. Input includes your system prompt, chat history and any retrieved documents.

Claude Haiku 5.5
AnthropicCheapest
$37.50 /mo
GPT-6 Luna
OpenAICheapest
$37.50 /mo
$52.50 /mo
$100 /mo
$138 /mo
$162 /mo
$214 /mo
$281 /mo
$281 /mo
$300 /mo
$375 /mo
$375 /mo
$650 /mo
$750 /mo
$750 /mo
$788 /mo
$800 /mo
$1,500 /mo
$3,750 /mo
$3,750 /mo

Other use cases