DeepInfra API pricing
Hosted142 language models
As of Oct 14, 2026, DeepInfra lists 142 language models through its API. Its cheapest language model is Llama 3.2 3B Instruct at $0.02 input / $0.02 output per million tokens.
Language models (142)
Prices per million tokens.
deepinfra/anthropic/claude-4-opus
- Input
- $16.50
- Output
- $82.50
- Context
- 200K
deepinfra/anthropic/claude-4-sonnet
- Input
- $3.30
- Output
- $16.50
- Context
- 200K
deepinfra/anthropic/claude-fable-5
- Input
- $10.00
- Output
- $50.00
- Context
- 1M
deepinfra/anthropic/claude-haiku-4-5
- Input
- $1.00
- Output
- $5.00
- Context
- 200K
deepinfra/anthropic/claude-opus-4-7
- Input
- $5.00
- Output
- $25.00
- Context
- 1M
deepinfra/anthropic/claude-opus-4-8
- Input
- $5.00
- Output
- $25.00
- Context
- 1M
deepinfra/anthropic/claude-opus-5
- Input
- $5.00
- Output
- $25.00
- Context
- 1M
deepinfra/anthropic/claude-sonnet-4-6
- Input
- $3.00
- Output
- $15.00
- Context
- 1M
deepinfra/anthropic/claude-sonnet-5
- Input
- $2.00
- Output
- $10.00
- Context
- 1M
deepinfra/deepseek-ai/DeepSeek-R1
- Input
- $0.70
- Output
- $2.40
- Context
- 164K
deepinfra/deepseek-ai/DeepSeek-R1-0528
- Input
- $0.50
- Output
- $2.15
- Context
- 164K
deepinfra/deepseek-ai/DeepSeek-R1-Distill-Llama-70B
- Input
- $0.20
- Output
- $0.60
- Context
- 131K
deepinfra/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B
- Input
- $0.27
- Output
- $0.27
- Context
- 131K
deepinfra/deepseek-ai/DeepSeek-V3
- Input
- $0.32
- Output
- $0.89
- Context
- 164K
deepinfra/deepseek-ai/DeepSeek-V3-0324
- Input
- $0.24
- Output
- $0.90
- Context
- 164K
deepinfra/deepseek-ai/DeepSeek-V3.1
- Input
- $0.25
- Output
- $0.95
- Context
- 164K
deepinfra/deepseek-ai/DeepSeek-V3.1-Terminus
- Input
- $0.27
- Output
- $1.00
- Context
- 164K
deepinfra/deepseek-ai/DeepSeek-V3.2
- Input
- $0.26
- Output
- $0.38
- Context
- 164K
deepinfra/deepseek-ai/DeepSeek-V4-Flash
- Input
- $0.09
- Output
- $0.18
- Context
- 1.05M
deepinfra/deepseek-ai/DeepSeek-V4-Flash-0731
- Input
- $0.08
- Output
- $0.18
- Context
- 1.05M
deepseek-ai/DeepSeek-V4-Flash-Vision-Exp
- Input
- $0.44
- Output
- $1.32
- Context
- 1.05M
deepinfra/deepseek-ai/DeepSeek-V4-Pro
- Input
- $1.30
- Output
- $2.60
- Context
- 1.05M
deepinfra/deepseek-ai/DeepSeek-V4-Pro-0813
- Input
- $1.30
- Output
- $2.60
- Context
- 1.05M
deepseek-ai/DeepSeek-V4.1-Flash
- Input
- $0.20
- Output
- $0.60
- Context
- 1.05M
deepinfra/google/gemini-2.5-flash
- Input
- $0.30
- Output
- $2.50
- Context
- 1M
deepinfra/google/gemini-2.5-pro
- Input
- $1.25
- Output
- $10.00
- Context
- 1M
deepinfra/google/gemini-3.1-flash-lite
- Input
- $0.25
- Output
- $1.50
- Context
- 1M
deepinfra/google/gemini-3.5-flash
- Input
- $1.50
- Output
- $9.00
- Context
- 1M
deepinfra/google/gemini-3.7-flash
- Input
- $0.75
- Output
- $3.75
- Context
- 1M
deepinfra/google/gemma-3-4b-it
- Input
- $0.05
- Output
- $0.10
- Context
- 131K
deepinfra/google/gemma-3-12b-it
- Input
- $0.05
- Output
- $0.15
- Context
- 131K
deepinfra/google/gemma-3-27b-it
- Input
- $0.08
- Output
- $0.16
- Context
- 131K
deepinfra/google/gemma-4-26B-A4B-it
- Input
- $0.07
- Output
- $0.34
- Context
- 262K
deepinfra/google/gemma-4-31B-it
- Input
- $0.13
- Output
- $0.38
- Context
- 262K
deepinfra/zai-org/GLM-4.5
- Input
- $0.40
- Output
- $1.60
- Context
- 131K
deepinfra/zai-org/GLM-4.6
- Input
- $0.50
- Output
- $2.00
- Context
- 203K
deepinfra/zai-org/GLM-4.7
- Input
- $0.40
- Output
- $1.75
- Context
- 203K
deepinfra/zai-org/GLM-4.7-Flash
- Input
- $0.06
- Output
- $0.40
- Context
- 203K
deepinfra/zai-org/GLM-5
- Input
- $0.60
- Output
- $2.08
- Context
- 203K
deepinfra/zai-org/GLM-5.1
- Input
- $1.05
- Output
- $3.50
- Context
- 203K
deepinfra/zai-org/GLM-5.2
- Input
- $0.75
- Output
- $2.40
- Context
- 1.05M
zai-org/GLM-5.3
- Input
- $0.90
- Output
- $4.00
- Context
- 1.05M
zai-org/GLM-5.3-Flash
- Input
- $0.15
- Output
- $0.50
- Context
- 1.05M
deepinfra/openai/gpt-oss-20b
- Input
- $0.03
- Output
- $0.14
- Context
- 131K
deepinfra/openai/gpt-oss-120b
- Input
- $0.037
- Output
- $0.17
- Context
- 131K
deepinfra/NousResearch/Hermes-3-Llama-3.1-70B
- Input
- $0.70
- Output
- $0.70
- Context
- 131K
deepinfra/NousResearch/Hermes-3-Llama-3.1-405B
- Input
- $1.00
- Output
- $1.00
- Context
- 131K
deepinfra/tencent/Hy3
- Input
- $0.14
- Output
- $0.58
- Context
- 262K
tencent/Hy4-preview
- Input
- $0.834
- Output
- $2.50
- Context
- 1.05M
deepinfra/thinkingmachines/Inkling
- Input
- $0.95
- Output
- $4.05
- Context
- 524K
deepinfra/thinkingmachines/Inkling-Small
- Input
- $0.45
- Output
- $1.20
- Context
- 524K
deepinfra/moonshotai/Kimi-K2-Instruct
- Input
- $0.50
- Output
- $2.00
- Context
- 131K
deepinfra/moonshotai/Kimi-K2-Instruct-0905
- Input
- $0.50
- Output
- $2.00
- Context
- 262K
deepinfra/moonshotai/Kimi-K2.5
- Input
- $0.45
- Output
- $2.25
- Context
- 262K
deepinfra/moonshotai/Kimi-K2.6
- Input
- $0.75
- Output
- $3.50
- Context
- 262K
deepinfra/moonshotai/Kimi-K2.7-Code
- Input
- $0.68
- Output
- $3.40
- Context
- 262K
deepinfra/moonshotai/Kimi-K3
- Input
- $2.85
- Output
- $14.25
- Context
- 1.05M
deepinfra/inclusionAI/Ling-3.0-flash
- Input
- $0.06
- Output
- $0.18
- Context
- 131K
deepinfra/meta-llama/Llama-3.2-3B-Instruct
- Input
- $0.02
- Output
- $0.02
- Context
- 131K
deepinfra/meta-llama/Llama-3.2-11B-Vision-Instruct
- Input
- $0.049
- Output
- $0.049
- Context
- 131K
deepinfra/meta-llama/Llama-3.3-70B-Instruct
- Input
- $0.23
- Output
- $0.40
- Context
- 131K
Llama 4 Maverick 17B 128e Instruct Fp8
deepinfra/meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8
- Input
- $0.20
- Output
- $0.80
- Context
- 1.05M
Llama 4 Scout 17B 16e Instruct
deepinfra/meta-llama/Llama-4-Scout-17B-16E-Instruct
- Input
- $0.10
- Output
- $0.30
- Context
- 328K
deepinfra/meta-llama/Llama-Guard-3-8B
- Input
- $0.055
- Output
- $0.055
- Context
- 131K
deepinfra/meta-llama/Meta-Llama-3.1-8B-Instruct
- Input
- $0.03
- Output
- $0.05
- Context
- 131K
deepinfra/meta-llama/Meta-Llama-3.1-70B-Instruct
- Input
- $0.40
- Output
- $0.40
- Context
- 131K
deepinfra/XiaomiMiMo/MiMo-V2.5
- Input
- $0.40
- Output
- $2.00
- Context
- 262K
deepinfra/XiaomiMiMo/MiMo-V2.5-Pro
- Input
- $1.00
- Output
- $3.00
- Context
- 1.05M
XiaomiMiMo/MiMo-V2.6-Flash
- Input
- $0.14
- Output
- $0.28
- Context
- 1.05M
XiaomiMiMo/MiMo-V2.6-Pro
- Input
- $0.43
- Output
- $0.87
- Context
- 1.05M
deepinfra/MiniMaxAI/MiniMax-M2.7
- Input
- $0.25
- Output
- $1.00
- Context
- 197K
deepinfra/MiniMaxAI/MiniMax-M3
- Input
- $0.28
- Output
- $1.10
- Context
- 524K
deepinfra/mistralai/Mistral-Nemo-Instruct-2407
- Input
- $0.019
- Output
- $0.03
- Context
- 131K
Mistral Small 3.2 24B Instruct 2506
deepinfra/mistralai/Mistral-Small-3.2-24B-Instruct-2506
- Input
- $0.075
- Output
- $0.20
- Context
- 128K
Mistral Small 24B Instruct 2501
deepinfra/mistralai/Mistral-Small-24B-Instruct-2501
- Input
- $0.05
- Output
- $0.08
- Context
- 33K
deepinfra/mistralai/Mixtral-8x7B-Instruct-v0.1
- Input
- $0.40
- Output
- $0.40
- Context
- 33K
deepinfra/meta-models/Muse-Glimmer-30B
- Input
- $0.30
- Output
- $1.20
- Context
- 131K
deepinfra/Gryphe/MythoMax-L2-13b
- Input
- $0.40
- Output
- $0.40
- Context
- 4K
deepinfra/nvidia/Nemotron-3-Nano-30B-A3B
- Input
- $0.05
- Output
- $0.20
- Context
- 262K
Nvidia Nemotron 3 Ultra 550B A55B
deepinfra/nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B
- Input
- $0.50
- Output
- $2.20
- Context
- 262K
deepinfra/nvidia/NVIDIA-Nemotron-Nano-9B-v2
- Input
- $0.04
- Output
- $0.16
- Context
- 131K
deepinfra/microsoft/phi-4
- Input
- $0.07
- Output
- $0.14
- Context
- 16K
deepinfra/Qwen/Qwen3-32B
- Input
- $0.08
- Output
- $0.28
- Context
- 41K
deepinfra/Qwen/Qwen3.8-27B
- Input
- $0.40
- Output
- $3.00
- Context
- 262K
deepinfra/Qwen/Qwen2.5-7B-Instruct
- Input
- $0.04
- Output
- $0.10
- Context
- 33K
deepinfra/Qwen/Qwen2.5-72B-Instruct
- Input
- $0.36
- Output
- $0.40
- Context
- 33K
deepinfra/Qwen/Qwen3-14B
- Input
- $0.12
- Output
- $0.24
- Context
- 41K
deepinfra/Qwen/Qwen3-30B-A3B
- Input
- $0.12
- Output
- $0.50
- Context
- 41K
deepinfra/Qwen/Qwen3-235B-A22B
- Input
- $0.18
- Output
- $0.54
- Context
- 41K
deepinfra/Qwen/Qwen3-235B-A22B-Instruct-2507
- Input
- $0.09
- Output
- $0.55
- Context
- 262K
deepinfra/Qwen/Qwen3-235B-A22B-Thinking-2507
- Input
- $0.30
- Output
- $2.90
- Context
- 262K
Qwen3 Coder 480B A35B Instruct
deepinfra/Qwen/Qwen3-Coder-480B-A35B-Instruct
- Input
- $0.40
- Output
- $1.60
- Context
- 262K
deepinfra/Qwen/Qwen3-Max
- Input
- $1.20
- Output
- $6.00
- Context
- 256K
deepinfra/Qwen/Qwen3-Next-80B-A3B-Instruct
- Input
- $0.09
- Output
- $1.10
- Context
- 262K
deepinfra/Qwen/Qwen3-Next-80B-A3B-Thinking
- Input
- $0.14
- Output
- $1.40
- Context
- 262K
deepinfra/Qwen/Qwen3-VL-30B-A3B-Instruct
- Input
- $0.15
- Output
- $0.60
- Context
- 262K
deepinfra/Qwen/Qwen3-VL-235B-A22B-Instruct
- Input
- $0.20
- Output
- $0.88
- Context
- 262K
deepinfra/Qwen/Qwen3.5-9B
- Input
- $0.10
- Output
- $0.15
- Context
- 262K
deepinfra/Qwen/Qwen3.5-27B
- Input
- $0.26
- Output
- $2.60
- Context
- 262K
deepinfra/Qwen/Qwen3.5-35B-A3B
- Input
- $0.14
- Output
- $1.00
- Context
- 262K
deepinfra/Qwen/Qwen3.5-122B-A10B
- Input
- $0.29
- Output
- $2.40
- Context
- 262K
deepinfra/Qwen/Qwen3.5-397B-A17B
- Input
- $0.45
- Output
- $3.00
- Context
- 262K
deepinfra/Qwen/Qwen3.6-27B
- Input
- $0.32
- Output
- $3.20
- Context
- 262K
deepinfra/Qwen/Qwen3.6-35B-A3B
- Input
- $0.10
- Output
- $0.95
- Context
- 262K
deepinfra/Qwen/Qwen3.7-Max
- Input
- $2.50
- Output
- $7.50
- Context
- 256K
deepinfra/Qwen/Qwen3.8-2.4T-A95B
- Input
- $2.00
- Output
- $6.00
- Context
- 262K
Qwen/Qwen3.8-Flash
- Input
- $0.113
- Output
- $0.382
- Context
- 1M
deepinfra/Qwen/Qwen3.8-Max
- Input
- $1.65
- Output
- $4.95
- Context
- 256K
deepinfra/Qwen/QwQ-32B
- Input
- $0.15
- Output
- $0.40
- Context
- 131K
deepinfra/stepfun-ai/Step-3.7-Flash
- Input
- $0.20
- Output
- $1.15
- Context
- 262K
deepinfra/microsoft/WizardLM-2-8x22B
- Input
- $0.48
- Output
- $0.48
- Context
- 66K
Claude 3.7 Sonnet Latest
deepinfra/anthropic/claude-3-7-sonnet-latest
- Input
- $3.30
- Output
- $16.50
- Context
- 200K
DeepSeek R1 0528 Turbo
deepinfra/deepseek-ai/DeepSeek-R1-0528-Turbo
- Input
- $1.00
- Output
- $3.00
- Context
- 33K
DeepSeek R1 Turbo
deepinfra/deepseek-ai/DeepSeek-R1-Turbo
- Input
- $1.00
- Output
- $3.00
- Context
- 41K
Gemini 3.1 Pro
deepinfra/google/gemini-3.1-pro
- Input
- $2.00
- Output
- $12.00
- Context
- 1M
Gemma 4 31B IT Turbo
deepinfra/google/gemma-4-31B-it-turbo
- Input
- $0.09
- Output
- $0.34
- Context
- 262K
Gemma 4 31B IT Ultra
deepinfra/google/gemma-4-31B-it-Ultra
- Input
- $0.27
- Output
- $0.76
- Context
- 131K
Gemma 4 E4B IT
deepinfra/google/gemma-4-E4B-it
- Input
- $0.02
- Output
- $0.10
- Context
- 131K
gpt-oss-120b-turbo
deepinfra/openai/gpt-oss-120b-Turbo
- Input
- $0.15
- Output
- $0.60
- Context
- 131K
gpt-oss-120b-ultra
deepinfra/openai/gpt-oss-120b-Ultra
- Input
- $0.20
- Output
- $0.95
- Context
- 131K
L3 8B Lunaris V1 Turbo
deepinfra/Sao10K/L3-8B-Lunaris-v1-Turbo
- Input
- $0.04
- Output
- $0.05
- Context
- 8K
L3.1 70B Euryale V2.2
deepinfra/Sao10K/L3.1-70B-Euryale-v2.2
- Input
- $0.85
- Output
- $0.85
- Context
- 131K
L3.3 70B Euryale V2.3
deepinfra/Sao10K/L3.3-70B-Euryale-v2.3
- Input
- $0.65
- Output
- $0.75
- Context
- 131K
Llama 3.1 Nemotron 70B Instruct
deepinfra/nvidia/Llama-3.1-Nemotron-70B-Instruct
- Input
- $0.60
- Output
- $0.60
- Context
- 131K
Llama 3.3 70B Instruct Turbo
deepinfra/meta-llama/Llama-3.3-70B-Instruct-Turbo
- Input
- $0.10
- Output
- $0.32
- Context
- 131K
Llama 3.3 Nemotron Super 49B V1.5
deepinfra/nvidia/Llama-3.3-Nemotron-Super-49B-v1.5
- Input
- $0.10
- Output
- $0.40
- Context
- 131K
Llama Guard 4 12B
deepinfra/meta-llama/Llama-Guard-4-12B
- Input
- $0.18
- Output
- $0.18
- Context
- 164K
Meta Llama 3 8B Instruct
deepinfra/meta-llama/Meta-Llama-3-8B-Instruct
- Input
- $0.03
- Output
- $0.06
- Context
- 8K
Meta Llama 3.1 8B Instruct Turbo
deepinfra/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo
- Input
- $0.02
- Output
- $0.04
- Context
- 131K
Meta Llama 3.1 70B Instruct Turbo
deepinfra/meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo
- Input
- $0.40
- Output
- $0.40
- Context
- 131K
MiniMax M2.7 Turbo
deepinfra/MiniMaxAI/MiniMax-M2.7-Turbo
- Input
- $0.38
- Output
- $1.70
- Context
- 197K
Nemotron Content Safety 3.5
deepinfra/nvidia/Nemotron-Content-Safety-3.5
- Input
- $0.20
- Output
- $0.20
- Context
- 131K
Nvidia Nemotron 3 Super 120B A12B
deepinfra/nvidia/NVIDIA-Nemotron-3-Super-120B-A12B
- Input
- $0.085
- Output
- $0.40
- Context
- 262K
Nvidia Nemotron 3.5 Lightning
deepinfra/nvidia/NVIDIA-Nemotron-3.5-Lightning
- Input
- $0.08
- Output
- $0.20
- Context
- 262K
Olmocr 7B 0725 Fp8
deepinfra/allenai/olmOCR-7B-0725-FP8
- Input
- $0.27
- Output
- $1.50
- Context
- 16K
Qwen2.5 VL 32B Instruct
deepinfra/Qwen/Qwen2.5-VL-32B-Instruct
- Input
- $0.20
- Output
- $0.60
- Context
- 128K
Qwen3 Coder 480B A35B Instruct Turbo
deepinfra/Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo
- Input
- $0.30
- Output
- $1.00
- Context
- 262K
Qwen3 Max Thinking
deepinfra/Qwen/Qwen3-Max-Thinking
- Input
- $1.20
- Output
- $6.00
- Context
- 256K
Seed 1.8
deepinfra/ByteDance/Seed-1.8
- Input
- $0.25
- Output
- $2.00
- Context
- 256K
Seed 2.0 Code
deepinfra/ByteDance/Seed-2.0-code
- Input
- $0.50
- Output
- $3.00
- Context
- 256K
Seed 2.0 Mini
deepinfra/ByteDance/Seed-2.0-mini
- Input
- $0.10
- Output
- $0.40
- Context
- 256K
Seed 2.0 Pro
deepinfra/ByteDance/Seed-2.0-pro
- Input
- $0.50
- Output
- $3.00
- Context
- 256K
Prices in USD from LiteLLM and models.dev, checked daily; confirm on DeepInfra's pricing page before you rely on a number.