Affordable Models
Affordable LLM APIs: Quality Models Under $5 per Million Tokens
Not the cheapest, not the most expensive. These affordable LLMs sit in the sweet spot under $5 per million input tokens while delivering genuinely strong performance on coding, reasoning, and writing tasks. The right choice for production workloads where you need quality without premium pricing.
Top Picks
Most Capable
Llama 3.1 405b
Meta
$4.00/1M input
Largest Context
Grok 4.20 Beta
xAI
2Mcontext
Related Categories
Coding Models
Top models for code generation, debugging, and software engineering — ranked by LiveBench coding scores and API price.
Writing Models
Models with the highest language and writing scores for content creation, copywriting, marketing, and creative tasks.
Reasoning Models
Models with extended thinking for complex math, logic, and multi-step problem solving — ranked by benchmarks.
Models for AI Agents
Models built for autonomous AI agents — with function calling, large context windows, and competitive pricing for agentic workflows.
Cost per 1M Tokens / Flagship Models
All Affordable Models
| Provider | Model | Input $/1M | Output $/1M | Context | Quality |
|---|---|---|---|---|---|
| Gemini 3.1 Flash Image Preview | $0.5000 | $3.00 | 65.5K | N/A | |
| Gemini 3 Flash Preview | $0.5000 | $3.00 | 1.0M | 73.6Frontier | |
| Mistral | Mistral Large 2512 | $0.5000 | $1.50 | 262.1K | 64.9Strong |
| Arcee-ai | Coder Large | $0.5000 | $0.8000 | 32.8K | N/A |
| OpenAI | GPT 3.5 Turbo | $0.5000 | $1.50 | 16.4K | 48.8Good |
| Meta | Llama 3 70b Instruct | $0.5100 | $0.7400 | 8.2K | 58.1Strong |
| Qwen | Qwen Vl Max | $0.5200 | $2.08 | 131.1K | N/A |
| Mistral | Mixtral 8x7b Instruct | $0.5400 | $0.5400 | 32.8K | 44.0Good |
| Moonshot | Kimi K2 | $0.5500 | $2.20 | 131K | 63.4Strong |
| Thedrummer | Skyfall 36b V2 | $0.5500 | $0.8000 | 32.8K | N/A |
| Writer | Palmyra X5 | $0.6000 | $6.00 | 1.0M | N/A |
| OpenAI | GPT Audio Mini | $0.6000 | $2.40 | 128K | N/A |
| xAI | Glm 4.5v | $0.6000 | $1.80 | 65.5K | 82.3Frontier |
| xAI | Glm 4.5 | $0.6000 | $2.20 | 131.1K | 72.0Frontier |
| NVIDIA | Llama 3.1 Nemotron Ultra 253b V1 | $0.6000 | $1.80 | 131.1K | 70.9Frontier |
| Microsoft | Wizardlm 2 8x22b | $0.6200 | $0.6200 | 65.5K | N/A |
| Qwen | Qwen3 Coder Plus | $0.6500 | $3.25 | 1M | N/A |
| Sao10k | L3.3 Euryale 70b | $0.6500 | $0.7500 | 131.1K | N/A |
| Gemma 2 27b It | $0.6500 | $0.6500 | 8.2K | 60.3Strong | |
| Qwen | Qwen 2.5 Coder 32b Instruct | $0.6600 | $1.00 | 32.8K | 57.2Strong |
| Aion-labs | Aion 1.0 Mini | $0.7000 | $1.40 | 131.1K | N/A |
| DeepSeek | Deepseek R1 Distill Llama 70b | $0.7000 | $0.8000 | 131.1K | N/A |
| DeepSeek | Deepseek R1 | $0.7000 | $2.50 | 64K | 64.6Strong |
| xAI | Glm 5 | $0.7200 | $2.30 | 80K | 69.7Frontier |
| OpenAI | GPT 5.4 Mini | $0.7500 | $4.50 | 400K | 68.9Frontier |
| Arcee-ai | Virtuoso Large | $0.7500 | $1.20 | 131.1K | N/A |
| Mancer | Weaver | $0.7500 | $1.00 | 8K | N/A |
| Qwen | Qwen3 Max Thinking | $0.7800 | $3.90 | 262.1K | 86.6Frontier |
| Qwen | Qwen3 Max | $0.7800 | $3.90 | 262.1K | 84.7Frontier |
| Aion-labs | Aion 2.0 | $0.8000 | $1.60 | 131.1K | N/A |
| Morph | Morph V3 Fast | $0.8000 | $1.20 | 81.9K | N/A |
| Eleutherai | Llemma_7b | $0.8000 | $1.20 | 4.1K | N/A |
| Alfredpros | Codellama 7b Instruct Solidity | $0.8000 | $1.20 | 4.1K | N/A |
| Aion-labs | Aion Rp Llama 3.1 8b | $0.8000 | $1.60 | 32.8K | N/A |
| Qwen | Qwen2.5 Vl 72b Instruct | $0.8000 | $0.8000 | 32.8K | N/A |
| Amazon | Nova Pro V1 | $0.8000 | $3.20 | 300K | N/A |
| Anthropic | Claude 3.5 Haiku | $0.8000 | $4.00 | 200K | 66.6Frontier |
| Relace | Relace Apply 3 | $0.8500 | $1.25 | 256K | N/A |
| Switchpoint | Router | $0.8500 | $3.40 | 131.1K | N/A |
| Sao10k | L3.1 Euryale 70b | $0.8500 | $0.8500 | 131.1K | N/A |
| Morph | Morph V3 Large | $0.9000 | $1.90 | 262.1K | N/A |
| Arcee-ai | Maestro Reasoning | $0.9000 | $3.30 | 131.1K | N/A |
| Xiaomi | Mimo V2 Pro | $1.00 | $3.00 | 1.0M | 88.3Frontier |
| Relace | Relace Search | $1.00 | $3.00 | 256K | N/A |
| Anthropic | Claude Haiku 4.5 | $1.00 | $5.00 | 200K | 62.4Strong |
| Nousresearch | Hermes 4 405b | $1.00 | $3.00 | 131.1K | N/A |
| Perplexity | Sonar | $1.00 | $1.00 | 127.1K | N/A |
| Nousresearch | Hermes 3 Llama 3.1 405b | $1.00 | $1.00 | 131.1K | N/A |
| OpenAI | GPT 3.5 Turbo 0613 | $1.00 | $2.00 | 4.1K | 48.8Good |
| Qwen | Qwen Max | $1.04 | $4.16 | 32.8K | 65.7Frontier |
Page 1 of 3
Deploy your AI agent for $33/mo flat.
Managed Telegram bot hosting. We handle the infrastructure.
Any model. Any channel. Zero infrastructure.