DeepInfra offers 237 models in our daily price check (237 text). Below: the cheapest models, the best-rated models in the Arena leaderboard and how to connect DeepInfra.
| Company and location | Deep Infra Inc. · Palo Alto (California), USA |
|---|---|
| Payment methods | Card or prepayment; invoice |
| Minimum top-up | Not stated |
| Fees | Not stated |
| Stores prompts | No (per provider) |
| Training on your data | No (with exceptions) |
| Data handling | According to the provider, requests are not stored (only metadata such as cost); exceptions: image outputs briefly, batch jobs. No training – except for Google and Anthropic models, where their policies apply. |
| Sources | deepinfra.com/terms · deepinfra.com/pricing · docs.deepinfra.com/account/data-privacy |
Based on the provider’s own information, checked on 2026-11-23 – without guarantee. Terms may change; the provider’s pages prevail. Report an error
| Model | Input / output per 1M | |
|---|---|---|
| Llama 3.2 1B Instruct meta-llama/Llama-3.2-1B-Instruct | $0.0050 / $0.010 | Go to provider ↗ |
| Qwen3.5 0.8B Qwen/Qwen3.5-0.8B | $0.010 / $0.050 | Go to provider ↗ |
| Llama 3.2 3B Instruct meta-llama/Llama-3.2-3B-Instruct | $0.020 / $0.020 | Go to provider ↗ |
| Meta Llama 3.1 8B Instruct meta-llama/Meta-Llama-3.1-8B-Instruct | $0.020 / $0.050 | Go to provider ↗ |
| Meta Llama 3.1 8B Instruct Turbo meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo | $0.020 / $0.040 | Go to provider ↗ |
| Qwen3.5 2B Qwen/Qwen3.5-2B | $0.020 / $0.100 | Go to provider ↗ |
| gemma 4 E4B it google/gemma-4-E4B-it | $0.020 / $0.100 | Go to provider ↗ |
| Qwen2.5 Coder 7B Qwen/Qwen2.5-Coder-7B | $0.025 / $0.050 | Go to provider ↗ |
| Mistral 7B Instruct v0.3 mistralai/Mistral-7B-Instruct-v0.3 | $0.028 / $0.054 | Go to provider ↗ |
| Mistral Nemo Instruct 2407 mistralai/Mistral-Nemo-Instruct-2407 | $0.029 / $0.030 | Go to provider ↗ |
| DeepSeek OCR deepseek-ai/DeepSeek-OCR | $0.030 / $0.100 | Go to provider ↗ |
| L3 8B Lunaris v1 Sao10K/L3-8B-Lunaris-v1 | $0.030 / $0.060 | Go to provider ↗ |
| Meta Llama 3 8B Instruct meta-llama/Meta-Llama-3-8B-Instruct | $0.030 / $0.040 | Go to provider ↗ |
| Qwen3.5 4B Qwen/Qwen3.5-4B | $0.030 / $0.150 | Go to provider ↗ |
| gemma 2 9b it google/gemma-2-9b-it | $0.030 / $0.060 | Go to provider ↗ |
| Model | Input / output per 1M | Arena (overall) | |
|---|---|---|---|
| claude opus 5 5 anthropic/claude-opus-5-5 | $4.00 / $20.00 | #5 | Go to provider ↗ |
| claude fable 5 anthropic/claude-fable-5 | $10.00 / $50.00 | #6 | Go to provider ↗ |
| claude opus 4 7 anthropic/claude-opus-4-7 | $5.00 / $25.00 | #10 | Go to provider ↗ |
| gemini 3.7 flash google/gemini-3.7-flash | $0.750 / $3.75 | #16 | Go to provider ↗ |
| claude opus 5 anthropic/claude-opus-5 | $5.00 / $25.00 | #17 | Go to provider ↗ |
| Kimi K3 moonshotai/Kimi-K3 | $2.85 / $14.25 | #19 | Go to provider ↗ |
| gemini 3.1 pro google/gemini-3.1-pro | $2.00 / $12.00 | #20 | Go to provider ↗ |
| Qwen3.8 Max Qwen/Qwen3.8-Max | $1.65 / $4.95 | #23 | Go to provider ↗ |
| Kimi K3.1 Pro moonshotai/Kimi-K3.1-Pro | $2.00 / $10.00 | #24 | Go to provider ↗ |
| claude opus 4 8 anthropic/claude-opus-4-8 | $5.00 / $25.00 | #27 | Go to provider ↗ |
| MiMo V2.6 Pro XiaomiMiMo/MiMo-V2.6-Pro | $0.430 / $0.870 | #28 | Go to provider ↗ |
| GLM 5.3 zai-org/GLM-5.3 | $0.900 / $4.00 | #30 | Go to provider ↗ |
| gemini 3.5 flash google/gemini-3.5-flash | $1.50 / $9.00 | #31 | Go to provider ↗ |
| GLM 5.3 Flash zai-org/GLM-5.3-Flash | $0.150 / $0.500 | #32 | Go to provider ↗ |
| GLM 5.2 zai-org/GLM-5.2 | $0.750 / $2.40 | #35 | Go to provider ↗ |
Rankings: Arena (arena.ai, formerly LMArena), dataset lmarena-ai/leaderboard-dataset, licensed under CC BY 4.0, as of 2026-11-23. Excerpt; variants with different reasoning effort merged and matched to our prices by aiapicompare. Not affiliated with Arena and not a recommendation.
OpenAI-compatible: use the base URL below with your DeepInfra API key. Step-by-step guides for VS Code, Cline, Cursor, Hermes and more: Setup guide →
from openai import OpenAI import os client = OpenAI(base_url="https://api.deepinfra.com/v1/openai", api_key=os.environ["DEEPINFRA_API_KEY"])
Facts from our own daily price check. Prices without guarantee – the provider’s website is authoritative. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.