All workloads

What RAG search over your docs costs a month in API fees

Cheapest listed price for this workload

$14.25 a month

DeepSeek V4 Flash (0731) at DeepInfra. $0.29 per 1,000 requests.

You're answering questions over your own documents: retrieve the relevant chunks, then ask a model. At our example volume, the cheapest open model we track costs $14.25 a month in API fees, from the API prices we checked on 2026-11-02. Your bill scales with your volume, so the cost per 1,000 requests is the number to carry over.

Every model we track, cheapest first

Monthly API cost at the example volume, USD. Sorted by price only: we don't rank quality, so test the cheap ones on your own prompts.

ModelCheapest atMonthlyPer 1,000 requestsPriciest listingProviders
DeepSeek V4 Flash (0731)DeepInfra$14.25$0.29$29.252
gpt-oss-20bGroq$18.75$0.38$18.751
Llama 3.3 70BDeepInfra$24.00$0.48$221.002
Qwen3 235B A22B Instruct 2507DeepInfra$24.88$0.50$47.502
gpt-oss-120bBaseten$26.25$0.53$37.504
GLM-5.3 FlashBaseten$36.25$0.73$36.253
DeepSeek V4.1 FlashBaseten$75.00$1.50$75.002
Nemotron 3 UltraDeepInfra$127.50$2.55$150.003
GLM-5.3Baseten$335.00$6.70$335.003
Kimi K3DeepInfra$748.13$14.96$787.504

The example volume: 50,000 questions a month, each sending about 4,000 input tokens (the question plus retrieved chunks) and getting about 250 output tokens back. Embedding costs aren't included. That is 200 M input and 12.5 M output tokens a month. Each model links to its page with every provider's input and output price and a link to that provider's own pricing page.

Self-hosting starts with $2,109.70 a month of rent

The cheapest NVIDIA H100 cloud VM we list is $2.89 per hour at RunPod, or $2,109.70 for 730 hours. The rent alone is about 148 times the cheapest API bill, so at this volume the API is cheaper; your traffic would have to grow by that much before one GPU's rent matched the API bill. That's rent only: it leaves out engineering time and idle hours, and whether one GPU can serve your traffic depends on the model, its size and your serving engine. Bigger models need several GPUs. Put your own throughput into the break-even calculator before you decide.