All models

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.

  • Claude 4 Opus

    deepinfra/anthropic/claude-4-opus

    Input
    $16.50
    Output
    $82.50
    Context
    200K
  • Claude 4 Sonnet

    deepinfra/anthropic/claude-4-sonnet

    Input
    $3.30
    Output
    $16.50
    Context
    200K
  • Claude Fable 5

    deepinfra/anthropic/claude-fable-5

    Input
    $10.00
    Output
    $50.00
    Context
    1M
  • Claude Haiku 4.5

    deepinfra/anthropic/claude-haiku-4-5

    Input
    $1.00
    Output
    $5.00
    Context
    200K
  • Claude Opus 4.7

    deepinfra/anthropic/claude-opus-4-7

    Input
    $5.00
    Output
    $25.00
    Context
    1M
  • Claude Opus 4.8

    deepinfra/anthropic/claude-opus-4-8

    Input
    $5.00
    Output
    $25.00
    Context
    1M
  • Claude Opus 5

    deepinfra/anthropic/claude-opus-5

    Input
    $5.00
    Output
    $25.00
    Context
    1M
  • Claude Sonnet 4.6

    deepinfra/anthropic/claude-sonnet-4-6

    Input
    $3.00
    Output
    $15.00
    Context
    1M
  • Claude Sonnet 5

    deepinfra/anthropic/claude-sonnet-5

    Input
    $2.00
    Output
    $10.00
    Context
    1M
  • DeepSeek R1

    deepinfra/deepseek-ai/DeepSeek-R1

    Input
    $0.70
    Output
    $2.40
    Context
    164K
  • DeepSeek R1 0528

    deepinfra/deepseek-ai/DeepSeek-R1-0528

    Input
    $0.50
    Output
    $2.15
    Context
    164K
  • DeepSeek R1 Distill Llama 70B

    deepinfra/deepseek-ai/DeepSeek-R1-Distill-Llama-70B

    Input
    $0.20
    Output
    $0.60
    Context
    131K
  • DeepSeek R1 Distill Qwen 32B

    deepinfra/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B

    Input
    $0.27
    Output
    $0.27
    Context
    131K
  • DeepSeek V3

    deepinfra/deepseek-ai/DeepSeek-V3

    Input
    $0.32
    Output
    $0.89
    Context
    164K
  • DeepSeek V3 0324

    deepinfra/deepseek-ai/DeepSeek-V3-0324

    Input
    $0.24
    Output
    $0.90
    Context
    164K
  • DeepSeek V3.1

    deepinfra/deepseek-ai/DeepSeek-V3.1

    Input
    $0.25
    Output
    $0.95
    Context
    164K
  • DeepSeek V3.1 Terminus

    deepinfra/deepseek-ai/DeepSeek-V3.1-Terminus

    Input
    $0.27
    Output
    $1.00
    Context
    164K
  • DeepSeek V3.2

    deepinfra/deepseek-ai/DeepSeek-V3.2

    Input
    $0.26
    Output
    $0.38
    Context
    164K
  • DeepSeek V4 Flash

    deepinfra/deepseek-ai/DeepSeek-V4-Flash

    Input
    $0.09
    Output
    $0.18
    Context
    1.05M
  • DeepSeek V4 Flash 0731

    deepinfra/deepseek-ai/DeepSeek-V4-Flash-0731

    Input
    $0.08
    Output
    $0.18
    Context
    1.05M
  • DeepSeek V4 Flash Vision Exp

    deepseek-ai/DeepSeek-V4-Flash-Vision-Exp

    Input
    $0.44
    Output
    $1.32
    Context
    1.05M
  • DeepSeek V4 Pro

    deepinfra/deepseek-ai/DeepSeek-V4-Pro

    Input
    $1.30
    Output
    $2.60
    Context
    1.05M
  • DeepSeek V4 Pro 0813

    deepinfra/deepseek-ai/DeepSeek-V4-Pro-0813

    Input
    $1.30
    Output
    $2.60
    Context
    1.05M
  • DeepSeek V4.1 Flash

    deepseek-ai/DeepSeek-V4.1-Flash

    Input
    $0.20
    Output
    $0.60
    Context
    1.05M
  • Gemini 2.5 Flash

    deepinfra/google/gemini-2.5-flash

    Input
    $0.30
    Output
    $2.50
    Context
    1M
  • Gemini 2.5 Pro

    deepinfra/google/gemini-2.5-pro

    Input
    $1.25
    Output
    $10.00
    Context
    1M
  • Gemini 3.1 Flash Lite

    deepinfra/google/gemini-3.1-flash-lite

    Input
    $0.25
    Output
    $1.50
    Context
    1M
  • Gemini 3.5 Flash

    deepinfra/google/gemini-3.5-flash

    Input
    $1.50
    Output
    $9.00
    Context
    1M
  • Gemini 3.7 Flash

    deepinfra/google/gemini-3.7-flash

    Input
    $0.75
    Output
    $3.75
    Context
    1M
  • Gemma 3 4B IT

    deepinfra/google/gemma-3-4b-it

    Input
    $0.05
    Output
    $0.10
    Context
    131K
  • Gemma 3 12B IT

    deepinfra/google/gemma-3-12b-it

    Input
    $0.05
    Output
    $0.15
    Context
    131K
  • Gemma 3 27B IT

    deepinfra/google/gemma-3-27b-it

    Input
    $0.08
    Output
    $0.16
    Context
    131K
  • Gemma 4 26B A4B IT

    deepinfra/google/gemma-4-26B-A4B-it

    Input
    $0.07
    Output
    $0.34
    Context
    262K
  • Gemma 4 31B IT

    deepinfra/google/gemma-4-31B-it

    Input
    $0.13
    Output
    $0.38
    Context
    262K
  • GLM 4.5

    deepinfra/zai-org/GLM-4.5

    Input
    $0.40
    Output
    $1.60
    Context
    131K
  • GLM 4.6

    deepinfra/zai-org/GLM-4.6

    Input
    $0.50
    Output
    $2.00
    Context
    203K
  • GLM 4.7

    deepinfra/zai-org/GLM-4.7

    Input
    $0.40
    Output
    $1.75
    Context
    203K
  • GLM 4.7 Flash

    deepinfra/zai-org/GLM-4.7-Flash

    Input
    $0.06
    Output
    $0.40
    Context
    203K
  • GLM 5

    deepinfra/zai-org/GLM-5

    Input
    $0.60
    Output
    $2.08
    Context
    203K
  • GLM 5.1

    deepinfra/zai-org/GLM-5.1

    Input
    $1.05
    Output
    $3.50
    Context
    203K
  • GLM 5.2

    deepinfra/zai-org/GLM-5.2

    Input
    $0.75
    Output
    $2.40
    Context
    1.05M
  • GLM 5.3

    zai-org/GLM-5.3

    Input
    $0.90
    Output
    $4.00
    Context
    1.05M
  • GLM 5.3 Flash

    zai-org/GLM-5.3-Flash

    Input
    $0.15
    Output
    $0.50
    Context
    1.05M
  • gpt-oss-20b

    deepinfra/openai/gpt-oss-20b

    Input
    $0.03
    Output
    $0.14
    Context
    131K
  • gpt-oss-120b

    deepinfra/openai/gpt-oss-120b

    Input
    $0.037
    Output
    $0.17
    Context
    131K
  • Hermes 3 Llama 3.1 70B

    deepinfra/NousResearch/Hermes-3-Llama-3.1-70B

    Input
    $0.70
    Output
    $0.70
    Context
    131K
  • Hermes 3 Llama 3.1 405B

    deepinfra/NousResearch/Hermes-3-Llama-3.1-405B

    Input
    $1.00
    Output
    $1.00
    Context
    131K
  • Hy3

    deepinfra/tencent/Hy3

    Input
    $0.14
    Output
    $0.58
    Context
    262K
  • Hy4 Preview

    tencent/Hy4-preview

    Input
    $0.834
    Output
    $2.50
    Context
    1.05M
  • Inkling

    deepinfra/thinkingmachines/Inkling

    Input
    $0.95
    Output
    $4.05
    Context
    524K
  • Inkling Small

    deepinfra/thinkingmachines/Inkling-Small

    Input
    $0.45
    Output
    $1.20
    Context
    524K
  • Kimi K2 Instruct

    deepinfra/moonshotai/Kimi-K2-Instruct

    Input
    $0.50
    Output
    $2.00
    Context
    131K
  • Kimi K2 Instruct 0905

    deepinfra/moonshotai/Kimi-K2-Instruct-0905

    Input
    $0.50
    Output
    $2.00
    Context
    262K
  • Kimi K2.5

    deepinfra/moonshotai/Kimi-K2.5

    Input
    $0.45
    Output
    $2.25
    Context
    262K
  • Kimi K2.6

    deepinfra/moonshotai/Kimi-K2.6

    Input
    $0.75
    Output
    $3.50
    Context
    262K
  • Kimi K2.7 Code

    deepinfra/moonshotai/Kimi-K2.7-Code

    Input
    $0.68
    Output
    $3.40
    Context
    262K
  • Kimi K3

    deepinfra/moonshotai/Kimi-K3

    Input
    $2.85
    Output
    $14.25
    Context
    1.05M
  • Ling 3.0 Flash

    deepinfra/inclusionAI/Ling-3.0-flash

    Input
    $0.06
    Output
    $0.18
    Context
    131K
  • Llama 3.2 3B Instruct

    deepinfra/meta-llama/Llama-3.2-3B-Instruct

    Input
    $0.02
    Output
    $0.02
    Context
    131K
  • Llama 3.2 11B Vision Instruct

    deepinfra/meta-llama/Llama-3.2-11B-Vision-Instruct

    Input
    $0.049
    Output
    $0.049
    Context
    131K
  • Llama 3.3 70B Instruct

    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
  • Llama Guard 3 8B

    deepinfra/meta-llama/Llama-Guard-3-8B

    Input
    $0.055
    Output
    $0.055
    Context
    131K
  • Meta Llama 3.1 8B Instruct

    deepinfra/meta-llama/Meta-Llama-3.1-8B-Instruct

    Input
    $0.03
    Output
    $0.05
    Context
    131K
  • Meta Llama 3.1 70B Instruct

    deepinfra/meta-llama/Meta-Llama-3.1-70B-Instruct

    Input
    $0.40
    Output
    $0.40
    Context
    131K
  • MiMo V2.5

    deepinfra/XiaomiMiMo/MiMo-V2.5

    Input
    $0.40
    Output
    $2.00
    Context
    262K
  • MiMo V2.5 Pro

    deepinfra/XiaomiMiMo/MiMo-V2.5-Pro

    Input
    $1.00
    Output
    $3.00
    Context
    1.05M
  • MiMo V2.6 Flash

    XiaomiMiMo/MiMo-V2.6-Flash

    Input
    $0.14
    Output
    $0.28
    Context
    1.05M
  • MiMo V2.6 Pro

    XiaomiMiMo/MiMo-V2.6-Pro

    Input
    $0.43
    Output
    $0.87
    Context
    1.05M
  • MiniMax M2.7

    deepinfra/MiniMaxAI/MiniMax-M2.7

    Input
    $0.25
    Output
    $1.00
    Context
    197K
  • MiniMax M3

    deepinfra/MiniMaxAI/MiniMax-M3

    Input
    $0.28
    Output
    $1.10
    Context
    524K
  • Mistral Nemo Instruct 2407

    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
  • Mixtral 8x7b Instruct V0.1

    deepinfra/mistralai/Mixtral-8x7B-Instruct-v0.1

    Input
    $0.40
    Output
    $0.40
    Context
    33K
  • Muse Glimmer 30B

    deepinfra/meta-models/Muse-Glimmer-30B

    Input
    $0.30
    Output
    $1.20
    Context
    131K
  • Mythomax L2 13B

    deepinfra/Gryphe/MythoMax-L2-13b

    Input
    $0.40
    Output
    $0.40
    Context
    4K
  • Nemotron 3 Nano 30B A3B

    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
  • Nvidia Nemotron Nano 9B V2

    deepinfra/nvidia/NVIDIA-Nemotron-Nano-9B-v2

    Input
    $0.04
    Output
    $0.16
    Context
    131K
  • Phi 4

    deepinfra/microsoft/phi-4

    Input
    $0.07
    Output
    $0.14
    Context
    16K
  • Qwen 3 32B

    deepinfra/Qwen/Qwen3-32B

    Input
    $0.08
    Output
    $0.28
    Context
    41K
  • Qwen 3.8 27B

    deepinfra/Qwen/Qwen3.8-27B

    Input
    $0.40
    Output
    $3.00
    Context
    262K
  • Qwen2.5 7B Instruct

    deepinfra/Qwen/Qwen2.5-7B-Instruct

    Input
    $0.04
    Output
    $0.10
    Context
    33K
  • Qwen2.5 72B Instruct

    deepinfra/Qwen/Qwen2.5-72B-Instruct

    Input
    $0.36
    Output
    $0.40
    Context
    33K
  • Qwen3 14B

    deepinfra/Qwen/Qwen3-14B

    Input
    $0.12
    Output
    $0.24
    Context
    41K
  • Qwen3 30B A3B

    deepinfra/Qwen/Qwen3-30B-A3B

    Input
    $0.12
    Output
    $0.50
    Context
    41K
  • Qwen3 235B A22B

    deepinfra/Qwen/Qwen3-235B-A22B

    Input
    $0.18
    Output
    $0.54
    Context
    41K
  • Qwen3 235B A22B Instruct 2507

    deepinfra/Qwen/Qwen3-235B-A22B-Instruct-2507

    Input
    $0.09
    Output
    $0.55
    Context
    262K
  • Qwen3 235B A22B Thinking 2507

    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
  • Qwen3 Max

    deepinfra/Qwen/Qwen3-Max

    Input
    $1.20
    Output
    $6.00
    Context
    256K
  • Qwen3 Next 80B A3B Instruct

    deepinfra/Qwen/Qwen3-Next-80B-A3B-Instruct

    Input
    $0.09
    Output
    $1.10
    Context
    262K
  • Qwen3 Next 80B A3B Thinking

    deepinfra/Qwen/Qwen3-Next-80B-A3B-Thinking

    Input
    $0.14
    Output
    $1.40
    Context
    262K
  • Qwen3 VL 30B A3B Instruct

    deepinfra/Qwen/Qwen3-VL-30B-A3B-Instruct

    Input
    $0.15
    Output
    $0.60
    Context
    262K
  • Qwen3 VL 235B A22B Instruct

    deepinfra/Qwen/Qwen3-VL-235B-A22B-Instruct

    Input
    $0.20
    Output
    $0.88
    Context
    262K
  • Qwen3.5 9B

    deepinfra/Qwen/Qwen3.5-9B

    Input
    $0.10
    Output
    $0.15
    Context
    262K
  • Qwen3.5 27B

    deepinfra/Qwen/Qwen3.5-27B

    Input
    $0.26
    Output
    $2.60
    Context
    262K
  • Qwen3.5 35B A3B

    deepinfra/Qwen/Qwen3.5-35B-A3B

    Input
    $0.14
    Output
    $1.00
    Context
    262K
  • Qwen3.5 122B A10B

    deepinfra/Qwen/Qwen3.5-122B-A10B

    Input
    $0.29
    Output
    $2.40
    Context
    262K
  • Qwen3.5 397B A17B

    deepinfra/Qwen/Qwen3.5-397B-A17B

    Input
    $0.45
    Output
    $3.00
    Context
    262K
  • Qwen3.6 27B

    deepinfra/Qwen/Qwen3.6-27B

    Input
    $0.32
    Output
    $3.20
    Context
    262K
  • Qwen3.6 35B A3B

    deepinfra/Qwen/Qwen3.6-35B-A3B

    Input
    $0.10
    Output
    $0.95
    Context
    262K
  • Qwen3.7 Max

    deepinfra/Qwen/Qwen3.7-Max

    Input
    $2.50
    Output
    $7.50
    Context
    256K
  • Qwen3.8 2.4t A95B

    deepinfra/Qwen/Qwen3.8-2.4T-A95B

    Input
    $2.00
    Output
    $6.00
    Context
    262K
  • Qwen3.8 Flash

    Qwen/Qwen3.8-Flash

    Input
    $0.113
    Output
    $0.382
    Context
    1M
  • Qwen3.8 Max

    deepinfra/Qwen/Qwen3.8-Max

    Input
    $1.65
    Output
    $4.95
    Context
    256K
  • QwQ 32B

    deepinfra/Qwen/QwQ-32B

    Input
    $0.15
    Output
    $0.40
    Context
    131K
  • Step 3.7 Flash

    deepinfra/stepfun-ai/Step-3.7-Flash

    Input
    $0.20
    Output
    $1.15
    Context
    262K
  • Wizardlm 2 8x22b

    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.