RAG cost calculator: LLM generation cost per month (2026-11-30)
Monthly generation cost of a retrieval-augmented (RAG) Q&A app with 20,000 questions, across every major model.
Last updated 2026-11-30
Bottom line: cheapest is Mistral: Mistral Nemo at about $1.36/month; the median model costs $64.84/month; the most expensive, Anthropic: Claude Fable 5, costs $678.30/month. That is a 500× spread for the same workload.
Scenario: RAG app: 20,000 questions/month, 5 retrieved chunks × 300 words + 50-word question in / 200 words out (generation only; embedding and vector-DB costs excluded).
| Vendor | Model | In $/1M | Out $/1M | Est. monthly cost | Source / check |
|---|---|---|---|---|---|
| Mistral | Mistral: Mistral Nemo | $0.029 | $0.03 | $1.36 | source 2026-11-30 ⚠ differs from lab price ($0.15/$0.15) |
| Meta (Llama) | Meta: Llama 3.1 8B Instruct | $0.05 | $0.08 | $2.49 | source 2026-11-30 ✔ matches |
| DeepSeek | DeepSeek: DeepSeek V4 Flash 0731 | $0.0456 | $0.27 | $3.32 | source 2026-11-30 ℹ vs market median ($0.14/$0.3) |
| Meta (Llama) | Meta: Llama 3.2 3B Instruct | $0.05 | $0.33 | $3.82 | source 2026-11-30 ✔ matches |
| OpenAI | OpenAI: GPT-5 Nano | $0.05 | $0.4 | $4.19 | source 2026-11-30 ✔ matches |
| DeepSeek | DeepSeek: DeepSeek V4 Flash 0423 | $0.09 | $0.18 | $4.67 | source 2026-11-30 ℹ vs market median ($0.14/$0.28) |
| DeepSeek | DeepSeek: DeepSeek V4.1 Flash | $0.051 | $0.567 | $5.12 | source 2026-11-30 ⚠ differs from lab price ($0.14/$0.28) |
| Meta (Llama) | Meta: Llama 4 Scout | $0.1 | $0.3 | $5.72 | source 2026-11-30 ✔ matches |
| Google: Gemini 2.5 Flash Lite | $0.1 | $0.4 | $6.25 | source 2026-11-30 ✔ matches | |
| Anthropic | Anthropic: Claude Haiku 5.5 | $0.1 | $0.5 | $6.78 | source 2026-11-30 ✔ matches |
| OpenAI | OpenAI: GPT-6 Luna | $0.1 | $0.5 | $6.78 | source 2026-11-30 ✔ matches |
| Mistral | Mistral: Ministral 3 8B 2512 | $0.15 | $0.15 | $6.98 | source 2026-11-30 ✔ matches |
| Meta (Llama) | Meta: Llama Guard 4 12B | $0.18 | $0.18 | $8.38 | source 2026-11-30 ✔ matches |
| Mistral | Mistral: Ministral 3 14B 2512 | $0.2 | $0.2 | $9.31 | source 2026-11-30 ✔ matches |
| DeepSeek | DeepSeek: DeepSeek V4.1 Flash 1017 | $0.15 | $0.6 | $9.38 | source 2026-11-30 ✔ matches |
| Mistral | Mistral: Mistral Small 4 | $0.15 | $0.6 | $9.38 | source 2026-11-30 ✔ matches |
| DeepSeek | DeepSeek: DeepSeek V4 Flash Vision Exp | $0.2156 | $0.6468 | $12.33 | source 2026-11-30 ℹ vs market median ($0.2255/$0.6764) |
| DeepSeek | DeepSeek: DeepSeek V3.2 | $0.26 | $0.38 | $12.74 | source 2026-11-30 ⚠ differs from lab price ($0.28/$0.42) |
| Meta (Llama) | Meta: Llama 4 Maverick | $0.35 | $1.0 | $19.75 | source 2026-11-30 ✔ matches |
| Mistral | Mistral: Devstral 2 2512 | $0.4 | $2.0 | $27.13 | source 2026-11-30 ✔ matches |
| Meta (Llama) | Meta: Llama 3.3 70B Instruct | $0.59 | $0.79 | $28.53 | source 2026-11-30 ℹ vs market median ($0.59/$0.7122) |
| DeepSeek | DeepSeek: DeepSeek V4 Pro 0813 | $0.0999 | $5.0 | $30.72 | source 2026-11-30 ⚠ differs from lab price ($0.66/$1.98) |
| Meta (Llama) | Meta: Llama 3.1 70B Instruct | $0.72 | $0.72 | $33.52 | source 2026-11-30 ✔ matches |
| Mistral | Mistral: Mistral Large 4 | $0.7 | $2.1 | $40.03 | source 2026-11-30 ⚠ differs from lab price ($0.68/$2.09) |
| DeepSeek | DeepSeek: DeepSeek V4 Pro 0423 | $0.7859 | $1.5687 | $40.75 | source 2026-11-30 ℹ vs market median ($1.416/$3.2) |
| Google: Gemini 3.8 Flash | $0.825 | $4.125 | $55.96 | source 2026-11-30 ⚠ differs from lab price ($0.75/$3.75) | |
| xAI | SpaceXSI: Grok 4.20 Multi-Agent | $1.25 | $2.5 | $64.84 | source 2026-11-30 ✔ matches |
| xAI | SpaceXSI: Grok 4.20 | $1.25 | $2.5 | $64.84 | source 2026-11-30 ✔ matches |
| xAI | SpaceXSI: Grok 4.3 | $1.25 | $2.5 | $64.84 | source 2026-11-30 ✔ matches |
| OpenAI | OpenAI: GPT-6.1 Terra | $1.0 | $5.0 | $67.83 | source 2026-11-30 ✔ matches |
| OpenAI | OpenAI: GPT-6.1 Terra Pro | $1.0 | $5.0 | $67.83 | source 2026-11-30 ✔ matches |
| Mistral | Mistral: Mistral Medium 3.5 | $1.5 | $7.5 | $101.75 | source 2026-11-30 ✔ matches |
| Google: Gemini 4 Hydrogen | $1.5 | $7.5 | $101.75 | source 2026-11-30 ✔ matches | |
| Google: Gemini Omni 1.2 Flash | $1.5 | $9.0 | $109.72 | source 2026-11-30 no 2nd source | |
| Google: Gemini Omni 1.1 Flash | $1.5 | $9.0 | $109.72 | source 2026-11-30 no 2nd source | |
| Mistral | Mistral: Pixtral Large 2502 | $2.0 | $6.0 | $114.38 | source 2026-11-30 ✔ matches |
| xAI | SpaceXSI: Grok 4.7 | $2.0 | $6.0 | $114.38 | source 2026-11-30 ✔ matches |
| xAI | SpaceXSI: Grok 4.6 | $2.0 | $6.0 | $114.38 | source 2026-11-30 ✔ matches |
| xAI | SpaceXSI: Grok 4.5 | $2.0 | $6.0 | $114.38 | source 2026-11-30 ✔ matches |
| Anthropic | Anthropic: Claude Sonnet 5.5 | $2.0 | $10.0 | $135.66 | source 2026-11-30 ✔ matches |
| Anthropic | Anthropic: Claude Sonnet 5 | $2.0 | $10.0 | $135.66 | source 2026-11-30 ✔ matches |
| Google: Gemini 4 Carbon | $2.0 | $10.0 | $135.66 | source 2026-11-30 ✔ matches | |
| Google: Gemini 4 Argon | $2.0 | $10.0 | $135.66 | source 2026-11-30 ✔ matches | |
| OpenAI | OpenAI: GPT-6.2 Sol | $2.0 | $10.0 | $135.66 | source 2026-11-30 ✔ matches |
| OpenAI | OpenAI: GPT-6.2 Sol Pro | $2.0 | $10.0 | $135.66 | source 2026-11-30 ✔ matches |
| Google: Gemini 4 Neon | $3.0 | $15.0 | $203.49 | source 2026-11-30 ✔ matches | |
| Anthropic | Anthropic: Claude Opus 5.5 | $4.0 | $20.0 | $271.32 | source 2026-11-30 ✔ matches |
| Anthropic | Anthropic: Claude Opus 5 | $5.0 | $25.0 | $339.15 | source 2026-11-30 ✔ matches |
| Anthropic | Anthropic: Claude Fable 5.2 | $8.0 | $40.0 | $542.64 | source 2026-11-30 ✔ matches |
| OpenAI | OpenAI: GPT-6.2 Astra | $8.0 | $40.0 | $542.64 | source 2026-11-30 ✔ matches |
| OpenAI | OpenAI: GPT-6.2 Astra Pro | $8.0 | $40.0 | $542.64 | source 2026-11-30 ✔ matches |
| Anthropic | Anthropic: Claude Fable 5.1 | $10.0 | $50.0 | $678.30 | source 2026-11-30 ✔ matches |
| Anthropic | Anthropic: Claude Fable 5 | $10.0 | $50.0 | $678.30 | source 2026-11-30 ✔ matches |
Quick answers
Last updated 2026-11-30 from live API prices.
What is the cheapest model for this workload?
As of 2026-11-30, Mistral: Mistral Nemo is cheapest at about $1.36/month ($0.029 input / $0.03 output per 1M tokens). Scenario: RAG app: 20,000 questions/month, 5 retrieved chunks × 300 words + 50-word question in / 200 words out (generation only; embedding and vector-DB costs excluded).
What are the next cheapest options?
Next cheapest: Meta: Llama 3.1 8B Instruct ($2.49), DeepSeek: DeepSeek V4 Flash 0731 ($3.32), Meta: Llama 3.2 3B Instruct ($3.82).
How much do 1,000 chats cost?
For 1,000 chats of 600 words in / 150 words out, the cheapest model here, Mistral: Mistral Nemo, costs about $0.03.
Where do these prices come from?
List prices from the OpenRouter public models API, refreshed daily and cross-checked against InferIndex; last updated 2026-11-30. Standard non-batch, non-cached rates, ~1.33 tokens per English word.
Try the interactive calculators with your own numbers → · Weekly price digest