DeepInfra LLM API pricing

Every model DeepInfra serves, with its pricing per 1M tokens and the exact model ID to copy. Sorted cheapest input first. Verified against LiteLLM and OpenRouter daily.

Models served

67

on this provider

Cheapest input

$0.02

per 1M tokens

Cheapest output

$0.02

per 1M tokens

Max context

10.5M

tokens

Model ID
Meta Llama 3.1 8B Instruct TurboMeta131K$0.02$0.03deepinfra/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo
Llama 3.2 3B InstructMeta131K$0.02$0.02deepinfra/meta-llama/Llama-3.2-3B-Instruct
Mistral Nemo Instruct 2407Mistral131K$0.02$0.04deepinfra/mistralai/Mistral-Nemo-Instruct-2407
Meta Llama 3 8B InstructMeta8K$0.03$0.06deepinfra/meta-llama/Meta-Llama-3-8B-Instruct
Meta Llama 3.1 8B InstructMeta131K$0.03$0.05deepinfra/meta-llama/Meta-Llama-3.1-8B-Instruct
L3 8B Lunaris V1 TurboOther8K$0.04$0.05deepinfra/Sao10K/L3-8B-Lunaris-v1-Turbo
Qwen2 5 7B InstructAlibaba33K$0.04$0.10deepinfra/Qwen/Qwen2.5-7B-Instruct
Gemma 3 4BGoogle131K$0.04$0.08deepinfra/google/gemma-3-4b-it
Nvidia Nemotron Nano 9BNVIDIA131K$0.04$0.16deepinfra/nvidia/NVIDIA-Nemotron-Nano-9B-v2
gpt-oss-20bOpenAI131K$0.04$0.15deepinfra/openai/gpt-oss-20b
Llama 3.2 11B Vision InstructMeta131K$0.05$0.05deepinfra/meta-llama/Llama-3.2-11B-Vision-Instruct
Gemma 3 12BGoogle131K$0.05$0.10deepinfra/google/gemma-3-12b-it
Mistral Small 3Mistral33K$0.05$0.08deepinfra/mistralai/Mistral-Small-24B-Instruct-2501
gpt-oss-120bOpenAI131K$0.05$0.45deepinfra/openai/gpt-oss-120b
Llama Guard 3 8BMeta131K$0.06$0.06deepinfra/meta-llama/Llama-Guard-3-8B
Qwen3 14BAlibaba41K$0.06$0.24deepinfra/Qwen/Qwen3-14B
Phi 4Microsoft16K$0.07$0.14deepinfra/microsoft/phi-4
Mistral Small 3.2 24B Instruct 2506Mistral128K$0.07$0.20deepinfra/mistralai/Mistral-Small-3.2-24B-Instruct-2506
MythoMax 13BOther4K$0.08$0.09deepinfra/Gryphe/MythoMax-L2-13b
Qwen3 30B A3BAlibaba131K$0.08$0.29deepinfra/Qwen/Qwen3-30B-A3B
Llama 4 Scout 17B 16e InstructMeta10.5M$0.08$0.30deepinfra/meta-llama/Llama-4-Scout-17B-16E-Instruct
Qwen3 235B A22b Instruct 2507Alibaba262K$0.09$0.60deepinfra/Qwen/Qwen3-235B-A22B-Instruct-2507
Gemma 3 27BGoogle131K$0.09$0.16deepinfra/google/gemma-3-27b-it
Qwen3 32BAlibaba131K$0.10$0.28deepinfra/Qwen/Qwen3-32B
Meta Llama 3.1 70B Instruct TurboMeta131K$0.10$0.28deepinfra/meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo
Llama 3.3 Nemotron Super 49B V1.5NVIDIA131K$0.10$0.40deepinfra/nvidia/Llama-3.3-Nemotron-Super-49B-v1.5
Gemini 2.0 Flash 001Google1M$0.10$0.40deepinfra/google/gemini-2.0-flash-001
Qwen2 5 72B InstructAlibaba131K$0.12$0.39deepinfra/Qwen/Qwen2.5-72B-Instruct
Llama 3.3 70B Instruct TurboMeta131K$0.13$0.39deepinfra/meta-llama/Llama-3.3-70B-Instruct-Turbo
Qwen3 Next 80B A3B InstructAlibaba262K$0.14$1.40deepinfra/Qwen/Qwen3-Next-80B-A3B-Instruct
Qwen3 Next 80B A3B ThinkingAlibaba262K$0.14$1.40deepinfra/Qwen/Qwen3-Next-80B-A3B-Thinking
Llama 4 Maverick 17B 128e Instruct FP8Meta1M$0.15$0.60deepinfra/meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8
QwQ 32BAlibaba131K$0.15$0.40deepinfra/Qwen/QwQ-32B
Llama Guard 4 12BMeta164K$0.18$0.18deepinfra/meta-llama/Llama-Guard-4-12B
Qwen3 235B A22BAlibaba262K$0.18$0.54deepinfra/Qwen/Qwen3-235B-A22B
R1 Distill Llama 70BDeepSeek131K$0.20$0.60deepinfra/deepseek-ai/DeepSeek-R1-Distill-Llama-70B
Qwen2 5 VL 32B InstructAlibaba128K$0.20$0.60deepinfra/Qwen/Qwen2.5-VL-32B-Instruct
Llama 3.3 70B InstructMeta131K$0.23$0.40deepinfra/meta-llama/Llama-3.3-70B-Instruct
DeepSeek V3 0324DeepSeek164K$0.25$0.88deepinfra/deepseek-ai/DeepSeek-V3-0324
DeepSeek R1 Distill Qwen 32BDeepSeek131K$0.27$0.27deepinfra/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B
DeepSeek V3.1 TerminusDeepSeek164K$0.27$1.00deepinfra/deepseek-ai/DeepSeek-V3.1-Terminus
Olmocr 7B 0725 FP8Allen AI16K$0.27$1.50deepinfra/allenai/olmOCR-7B-0725-FP8
DeepSeek V3 1DeepSeek164K$0.27$1.00deepinfra/deepseek-ai/DeepSeek-V3.1
Qwen3 Coder 480B A35b Instruct TurboAlibaba262K$0.29$1.20deepinfra/Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo
Qwen3 235B A22B Thinking 2507Alibaba262K$0.30$2.90deepinfra/Qwen/Qwen3-235B-A22B-Thinking-2507
Hermes 3 70B InstructNous Research131K$0.30$0.30deepinfra/NousResearch/Hermes-3-Llama-3.1-70B
Gemini 2.5 FlashGoogle1M$0.30$2.50deepinfra/google/gemini-2.5-flash
DeepSeekDeepSeek164K$0.38$0.89deepinfra/deepseek-ai/DeepSeek-V3
Mixtral 8x7B Instruct V0 1Mistral33K$0.40$0.40deepinfra/mistralai/Mixtral-8x7B-Instruct-v0.1
GLM 4.5Zhipu131K$0.40$1.60deepinfra/zai-org/GLM-4.5
150 of 67
Page 1 of 2
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI