DeepInfra API pricing and models
DeepInfra publishes per-token prices for 92 text models, as of October 20, 2026. The lowest output rate is $0.03 per million tokens, on Mistral-Nemo-Instruct-2407, and the highest-scoring model it serves is Claude Opus 5, at 88 on our 100-point score.
DeepInfra runs a serverless, OpenAI-compatible API for open-weight models and bills per token.
Every model DeepInfra prices, with its score
Prices are US dollars per million tokens, read from DeepInfra pricing page on the date above. The score is our 100-point rating of the model, the same on every host. “vs maker” compares this host’s output rate with the model maker’s own API.
| Model | Score | Input /1M | Output /1M | Cached /1M | Context | vs maker |
|---|---|---|---|---|---|---|
| claude-opus-5anthropic/claude-opus-5 | 88 | $5.00 | $25.00 | — | 1M | Same |
| claude-sonnet-5-5anthropic/claude-sonnet-5-5 | 83 | $2.00 | $10.00 | — | 1M | Same |
| claude-fable-5anthropic/claude-fable-5 | 83 | $10.00 | $50.00 | — | 1M | Same |
| claude-opus-5-5anthropic/claude-opus-5-5 | 82 | $4.00 | $20.00 | $0.20 | 1M | Same |
| Qwen3.8-MaxQwen/Qwen3.8-Max | 81 | $1.65 | $4.95 | $0.21 | 256K | — |
| Kimi-K3moonshotai/Kimi-K3 | 79 | $2.85 | $14.25 | $0.28 | 1.05M | −5% |
| Step-5-PreviewPreviewstepfun-ai/Step-5-Preview | 77 | $1.00 | $2.70 | $0.10 | 1.05M | Same |
| gemini-3.7-flashgoogle/gemini-3.7-flash | 77 | $0.75 | $3.75 | — | 1M | Same |
| claude-opus-4-8anthropic/claude-opus-4-8 | 77 | $5.00 | $25.00 | — | 1M | Same |
| Qwen3.7-MaxQwen/Qwen3.7-Max | 76 | $2.50 | $7.50 | $0.50 | 256K | — |
| claude-sonnet-5anthropic/claude-sonnet-5 | 76 | $3.00 | $15.00 | — | 1M | +50% |
| Ling-3.1-flashinclusionAI/Ling-3.1-flash | 74 | $0.075 | $0.23 | $0.015 | 262K | — |
| DeepSeek-V4.1-Flash-1017deepseek-ai/DeepSeek-V4.1-Flash-1017 | 73 | $0.098 | $0.29 | $0.003 | 1.05M | −75% |
| DeepSeek-V4.1-Flashdeepseek-ai/DeepSeek-V4.1-Flash | 73 | $0.14 | $0.42 | $0.004 | 1.05M | −65% |
| MiMo-V2.6-ProXiaomiMiMo/MiMo-V2.6-Pro | 73 | $0.39 | $0.78 | $0.003 | 1.05M | −10% |
| Qwen3.8-27BQwen/Qwen3.8-27B | 73 | $0.15 | $1.88 | $0.037 | 262K | — |
| Hy4-previewPreviewtencent/Hy4-preview | 72 | $0.83 | $2.50 | $0.042 | 1.05M | — |
| gemini-3.1-progoogle/gemini-3.1-pro | 71 | $2.00 | $12.00 | — | 1M | Same |
| gemini-3.5-flashgoogle/gemini-3.5-flash | 70 | $1.50 | $9.00 | — | 1M | Same |
| MiMo-V2.6-FlashXiaomiMiMo/MiMo-V2.6-Flash | 69 | $0.13 | $0.27 | $0.003 | 1.05M | −5% |
| GLM-5.3-Flashzai-org/GLM-5.3-Flash | 69 | $0.15 | $0.50 | $0.03 | 1.05M | — |
| DeepSeek-V4-Pro-0813deepseek-ai/DeepSeek-V4-Pro-0813 | 69 | $1.30 | $2.60 | $0.10 | 1.05M | −34% |
| GLM-5.3zai-org/GLM-5.3 | 68 | $0.56 | $2.50 | $0.13 | 1.05M | — |
| Kimi-K2.6moonshotai/Kimi-K2.6 | 67 | $0.75 | $3.50 | $0.15 | 262K | −12% |
| Ling-3.0-flash-VLinclusionAI/Ling-3.0-flash-VL | 66 | $0.06 | $0.18 | $0.012 | 131K | — |
| MiniMax-M3MiniMaxAI/MiniMax-M3 | 65 | $0.28 | $1.10 | $0.056 | 524K | −8% |
| GLM-5.2zai-org/GLM-5.2 | 65 | $0.56 | $1.80 | $0.10 | 1.05M | −59% |
| Inkling-Smallthinkingmachines/Inkling-Small | 64 | $0.45 | $1.20 | $0.10 | 524K | −17% |
| claude-sonnet-4-6anthropic/claude-sonnet-4-6 | 63 | $3.00 | $15.00 | — | 1M | Same |
| DeepSeek-V4-Flash-0731deepseek-ai/DeepSeek-V4-Flash-0731 | 62 | $0.06 | $0.18 | $0.015 | 1.05M | −36% |
| Qwen3.6-27BQwen/Qwen3.6-27B | 62 | $0.32 | $3.20 | — | 262K | — |
| Llama-3.3-70B-Instruct-Turbometa-llama/Llama-3.3-70B-Instruct-TurboServed build of Llama 3.3 70B | 61 | $0.10 | $0.32 | — | 131K | — |
| DeepSeek-V3.2deepseek-ai/DeepSeek-V3.2 | 61 | $0.26 | $0.38 | $0.13 | — | −10% |
| Muse-Glimmer-30Bmeta-models/Muse-Glimmer-30B | 61 | $0.30 | $1.20 | $0.04 | 131K | — |
| Ling-3.0-flashinclusionAI/Ling-3.0-flash | 60 | $0.06 | $0.18 | $0.012 | 131K | — |
| DeepSeek-R1-0528deepseek-ai/DeepSeek-R1-0528 | 60 | $0.50 | $2.15 | $0.35 | 164K | — |
| Qwen3.5-27BQwen/Qwen3.5-27B | 59 | $0.26 | $2.60 | — | 262K | — |
| gemma-4-26B-A4B-itgoogle/gemma-4-26B-A4B-itServed build of Gemma 4 26B A4B | 58 | $0.07 | $0.34 | — | 262K | — |
| gemini-2.5-progoogle/gemini-2.5-pro | 58 | $1.25 | $10.00 | — | 1M | Same |
| Qwen3-32BQwen/Qwen3-32B | 57 | $0.08 | $0.28 | — | 41K | — |
| gemini-3.1-flash-litegoogle/gemini-3.1-flash-lite | 57 | $0.25 | $1.50 | — | 1M | Same |
| gemini-2.5-flashgoogle/gemini-2.5-flash | 57 | $0.30 | $2.50 | — | 1M | Same |
| claude-opus-4-7anthropic/claude-opus-4-7 | 57 | $5.00 | $25.00 | — | 1M | Same |
| gemma-4-31B-it-turbogoogle/gemma-4-31B-it-turboServed build of Gemma 4 31B | 56 | $0.09 | $0.34 | $0.05 | 262K | — |
| gemma-4-31B-itgoogle/gemma-4-31B-itServed build of Gemma 4 31B | 56 | $0.20 | $0.40 | — | 262K | — |
| gpt-oss-120bopenai/gpt-oss-120b | 55 | $0.037 | $0.17 | — | 131K | — |
| Qwen3.6-35B-A3BQwen/Qwen3.6-35B-A3B | 55 | $0.10 | $0.95 | $0.10 | 262K | — |
| Qwen3.5-35B-A3BQwen/Qwen3.5-35B-A3B | 55 | $0.14 | $1.00 | $0.05 | 262K | — |
| Qwen3-Coder-480B-A35B-Instruct-TurboQwen/Qwen3-Coder-480B-A35B-Instruct-TurboServed build of Qwen3-Coder 480B-A35B | 54 | $0.30 | $1.00 | $0.10 | 262K | — |
| DeepSeek-V3.1deepseek-ai/DeepSeek-V3.1 | 53 | $0.25 | $0.95 | $0.13 | 164K | — |
| GLM-4.7zai-org/GLM-4.7 | 53 | $0.40 | $1.75 | $0.08 | 203K | — |
| GLM-4.6zai-org/GLM-4.6 | 53 | $0.50 | $2.00 | $0.10 | 203K | — |
| gpt-oss-20bopenai/gpt-oss-20b | 50 | $0.03 | $0.14 | — | 131K | — |
| granite-4.2-8bibm-granite/granite-4.2-8b | 50 | $0.06 | $0.25 | $0.015 | 131K | — |
| claude-haiku-4-5anthropic/claude-haiku-4-5 | 47 | $1.00 | $5.00 | — | 200K | Same |
| DeepSeek-V3deepseek-ai/DeepSeek-V3 | 43 | $0.32 | $0.89 | — | 164K | −19% |
| gemma-3-27b-itgoogle/gemma-3-27b-itServed build of Gemma 3 27B | 41 | $0.08 | $0.16 | — | 131K | — |
| phi-4microsoft/phi-4 | 37 | $0.07 | $0.14 | — | 16K | — |
| Qwen2.5-72B-InstructQwen/Qwen2.5-72B-InstructServed build of Qwen2.5-72B | 0 | $0.36 | $0.40 | — | 33K | — |
| Seed-2.0-miniByteDance/Seed-2.0-mini | 0 | $0.10 | $0.40 | $0.02 | 256K | — |
32 more models DeepInfra prices that we don’t score
| Model | Input /1M | Output /1M | Cached /1M | Context |
|---|---|---|---|---|
| Mistral-Nemo-Instruct-2407mistralai/Mistral-Nemo-Instruct-2407 | $0.029 | $0.03 | — | 131K |
| Meta-Llama-3.1-8B-Instruct-Turbometa-llama/Meta-Llama-3.1-8B-Instruct-Turbo | $0.02 | $0.04 | — | 131K |
| L3-8B-Lunaris-v1-TurboSao10K/L3-8B-Lunaris-v1-Turbo | $0.04 | $0.05 | — | 8K |
| Mistral-Small-24B-Instruct-2501mistralai/Mistral-Small-24B-Instruct-2501 | $0.05 | $0.08 | — | 33K |
| gemma-3-4b-itgoogle/gemma-3-4b-it | $0.05 | $0.10 | — | 131K |
| gemma-3-12b-itgoogle/gemma-3-12b-it | $0.05 | $0.15 | — | 131K |
| Qwen3.5-9BQwen/Qwen3.5-9B | $0.10 | $0.15 | — | 262K |
| NVIDIA-Nemotron-3.5-Lightningnvidia/NVIDIA-Nemotron-3.5-Lightning | $0.06 | $0.16 | $0.03 | 262K |
| DeepSeek-V4-Flashdeepseek-ai/DeepSeek-V4-Flash | $0.09 | $0.18 | $0.018 | 1.05M |
| Mistral-Small-3.2-24B-Instruct-2506mistralai/Mistral-Small-3.2-24B-Instruct-2506 | $0.075 | $0.20 | — | 128K |
| Qwen3-14BQwen/Qwen3-14B | $0.12 | $0.24 | — | 41K |
| Llama-4-Scout-17B-16E-Instructmeta-llama/Llama-4-Scout-17B-16E-Instruct | $0.10 | $0.30 | — | 328K |
| Qwen3.8-FlashQwen/Qwen3.8-Flash | $0.11 | $0.38 | $0.014 | 1M |
| Meta-Llama-3.1-70B-Instruct-Turbometa-llama/Meta-Llama-3.1-70B-Instruct-Turbo | $0.40 | $0.40 | — | 131K |
| MythoMax-L2-13bGryphe/MythoMax-L2-13b | $0.40 | $0.40 | — | 4K |
| NVIDIA-Nemotron-3-Super-120B-A12Bnvidia/NVIDIA-Nemotron-3-Super-120B-A12B | $0.085 | $0.40 | — | 262K |
| NVIDIA-Nemotron-3.5-Super-VLnvidia/NVIDIA-Nemotron-3.5-Super-VL | $0.15 | $0.50 | $0.02 | 262K |
| Qwen3-30B-A3BQwen/Qwen3-30B-A3B | $0.12 | $0.50 | — | 41K |
| Qwen3-235B-A22B-Instruct-2507Qwen/Qwen3-235B-A22B-Instruct-2507 | $0.09 | $0.55 | — | 262K |
| Qwen3-VL-30B-A3B-InstructQwen/Qwen3-VL-30B-A3B-Instruct | $0.15 | $0.60 | — | 262K |
| DeepSeek-V4-Flash-Vision-ExpPreviewdeepseek-ai/DeepSeek-V4-Flash-Vision-Exp | $0.22 | $0.65 | $0.007 | 1.05M |
| gemma-4-31B-it-Ultragoogle/gemma-4-31B-it-Ultra | $0.27 | $0.76 | — | 131K |
| L3.1-70B-Euryale-v2.2Sao10K/L3.1-70B-Euryale-v2.2 | $0.85 | $0.85 | — | 131K |
| Qwen3-VL-235B-A22B-InstructQwen/Qwen3-VL-235B-A22B-Instruct | $0.20 | $0.88 | $0.11 | 262K |
| gpt-oss-120b-Ultraopenai/gpt-oss-120b-Ultra | $0.20 | $0.95 | — | 131K |
| Qwen3-Next-80B-A3B-InstructQwen/Qwen3-Next-80B-A3B-Instruct | $0.09 | $1.10 | — | 262K |
| Seed-1.8ByteDance/Seed-1.8 | $0.25 | $2.00 | $0.05 | 256K |
| NVIDIA-Nemotron-3-Ultra-550B-A55Bnvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B | $0.50 | $2.20 | $0.10 | 262K |
| DeepSeek-V4-Prodeepseek-ai/DeepSeek-V4-Pro | $1.30 | $2.60 | $0.10 | 1.05M |
| Qwen3.5-397B-A17BQwen/Qwen3.5-397B-A17B | $0.45 | $3.00 | $0.22 | 262K |
| Seed-2.0-codeByteDance/Seed-2.0-code | $0.50 | $3.00 | $0.10 | 256K |
| Seed-2.0-proByteDance/Seed-2.0-pro | $0.50 | $3.00 | $0.10 | 256K |
We paid for 900 requests on DeepInfra
DeepInfra billed the lowest cost per GLM-5.2 token in the run, $0.38 per million blended, because it cached 53% of our Flash input and about half of our GLM input at roughly 80% off with no caching parameter in the request. Median latency was 2.4 to 5.3 seconds, the slowest of the five scored platforms on GLM-5.2. All 900 requests succeeded. It scored 71 of 100, second of 5 platforms we scored.
| Model run | Invoiced /1M blended | Median latency | p95 latency | Succeeded |
|---|---|---|---|---|
| DeepSeek V4 Flash | $0.058 | 2.42 s | 6.93 s | 100.0% |
| GLM-5.2 | $0.38 | 5.29 s | 13.82 s | 100.0% |
Run on September 1, 2026 with 450 requests per model: short prompts, 20,000-token documents and tool calls. Method and every invoice are on the OpenRouter alternatives audit.
Hosts that sell the same models
Each row counts the scored models both hosts price, and how many of those cost less per output token there than on DeepInfra.
Questions
How much does the DeepInfra API cost?
DeepInfra bills per million tokens, with separate input and output rates for each model. On October 20, 2026 its output rates ran from $0.03 on Mistral-Nemo-Instruct-2407 to $50.00 across 92 paid models. Input is usually cheaper than output, so a long prompt with a short reply costs less than the output rate suggests.
Which models can you run on DeepInfra?
92 text models are listed, and 58 of them match a model we score. The highest-scoring is Claude Opus 5 at 88. The table on this page has every model with its input, output and cached-input rate, the context window, and the date we read the price.
Is DeepInfra fast?
In our paid September 1, 2026 run, DeepInfra returned a median of 2.42 seconds on DeepSeek V4 Flash and 5.29 seconds on GLM-5.2, over 450 requests per model. That is one workload on one date, so check your own prompts before you rely on it.
What are the alternatives to DeepInfra?
OpenRouter lists 57 of the same models and charges less output per token on 15 of them. Novita AI and Together AI also overlap. Price is only part of the choice: speed, rate limits and which model snapshot a host serves differ too.