AI model rankings by price and context window
As of October 21, 2026, 19 lists of AI models sorted by price or context window, from LiteLLM's price file. Each list says how it's sorted and what it leaves out. None of them rank by quality.
All rankings
- Cheapest Chat API Models#1: Qwen2.5 Coder 3B Instruct
- Cheapest Vision API Models#1: Llama3.2 11B Vision Instruct
- Cheapest API Models with Tool Calling#1: Qwen2.5 Coder 7B
- Cheapest Reasoning API Models#1: GPT OSS 20B
- AI Models Under $1 per 1M Tokens#1: GPT OSS 120B
- AI Models Under $5 per 1M Tokens#1: GPT OSS 120B
- AI Models with the Largest Context Windows#1: GPT-5.4
- Cheapest Embedding API Models#1: PPLX Embed V1 0.6B
- Cheapest Claude Opus Models#1: Claude Opus 5.5
- Cheapest Claude Sonnet Models#1: Claude Sonnet 5
- Cheapest Gemini Flash Models#1: Gemini 2.5 Flash
- Cheapest Gemini Pro Models#1: Gemini 2.5 Pro
- Cheapest GLM Models#1: GLM 4.5
- Cheapest GPT Models#1: GPT-5
- Cheapest GPT Sol Models#1: GPT-6 Sol
- Cheapest Grok Models#1: Grok 4.20
- Cheapest Kimi Models#1: Kimi K2
- Cheapest MiniMax Models#1: MiniMax M2.7
- Cheapest Qwen Max Models#1: Qwen3 Max
