Cheapest LLM API for an enterprise RAG pipeline

Workload: 50M input and 5M output tokens a month, 60% cached. Only models with a published benchmark result (Artificial Analysis index, LMArena or SWE-bench) and a quality score of 70+ are listed. Scores marked (est.) are our estimate.

ModelProviderQualityCost / month
GPT-5.6 Luna ProOpenAI82/100 (est.)$10.60
Mistral Large 3 2512Mistral AI82/100 (est.)$19.00
GPT-6.1 TerraOpenAI87/100$46.50
Kimi K3.1 ProMoonshot83/100$52.82
Qwen3.7 MaxAlibaba Qwen82/100 (est.)$60.48
Gemini 4 HydrogenGoogle89/100$69.75
GPT-5.1-Codex-MaxOpenAI82/100 (est.)$78.75
Gemini 2.5 ProGoogle82/100 (est.)$78.75
Gemini 2.5 Pro Preview 06-05Google82/100 (est.)$78.75
Gemini 4 CarbonGoogle94/100$93.00
GPT-6.2 SolOpenAI92/100$93.00
GPT-6.1 SolOpenAI90/100$93.00

Other workloads: Chatbot · Coding agent · RAG pipeline · Document OCR

Prices updated 2026-11-23 from live OpenRouter data. Costs assume the workloads shown, with prompt caching applied at each provider's published cache-read rate (75% discount where none is published). Use your own numbers in the Spend Simulator →