Hugging Face API pricing
Hosted78 language models
As of Oct 14, 2026, Hugging Face lists 78 language models through its API. Its cheapest language model is Llama3.1 8B at $0.06 input / $0.06 output per million tokens.
Language models (78)
Prices per million tokens.
deepseek-ai/DeepSeek-R1
- Input
- $0.70
- Output
- $2.50
- Context
- 64K
deepseek-ai/DeepSeek-R1-0528
- Input
- $3.00
- Output
- $5.00
- Context
- 164K
deepseek-ai/DeepSeek-V3
- Input
- $0.40
- Output
- $1.30
- Context
- 64K
deepseek-ai/DeepSeek-V3-0324
- Input
- $0.27
- Output
- $1.12
- Context
- 164K
deepseek-ai/DeepSeek-V3.1
- Input
- $0.27
- Output
- $1.00
- Context
- 131K
deepseek-ai/DeepSeek-V3.2
- Input
- $0.28
- Output
- $0.40
- Context
- 164K
deepseek-ai/DeepSeek-V4-Flash
- Input
- $0.14
- Output
- $0.28
- Context
- 1.05M
deepseek-ai/DeepSeek-V4-Flash-0731
- Input
- $0.14
- Output
- $0.28
- Context
- 1.05M
deepseek-ai/DeepSeek-V4-Flash-Vision-Exp
- Input
- $0.44
- Output
- $1.32
- Context
- 1.05M
deepseek-ai/DeepSeek-V4-Pro
- Input
- $0.435
- Output
- $0.87
- Context
- 1.05M
deepseek-ai/DeepSeek-V4-Pro-0813
- Input
- $1.32
- Output
- $3.96
- Context
- 1M
deepseek-ai/DeepSeek-V4.1-Flash
- Input
- $0.30
- Output
- $1.20
- Context
- 1.05M
google/gemma-3-4b-it
- Input
- $0.05
- Output
- $0.10
- Context
- 131K
google/gemma-3-12b-it
- Input
- $0.05
- Output
- $0.15
- Context
- 131K
google/gemma-3-27b-it
- Input
- $0.08
- Output
- $0.16
- Context
- 131K
google/gemma-4-26B-A4B-it
- Input
- $0.13
- Output
- $0.40
- Context
- 262K
google/gemma-4-31B-it
- Input
- $0.14
- Output
- $0.40
- Context
- 262K
zai-org/GLM-4.5
- Input
- $0.60
- Output
- $2.20
- Context
- 131K
zai-org/GLM-4.5-Air
- Input
- $0.13
- Output
- $0.85
- Context
- 131K
zai-org/GLM-4.5V
- Input
- $0.60
- Output
- $1.80
- Context
- 66K
zai-org/GLM-4.6
- Input
- $0.55
- Output
- $2.20
- Context
- 205K
zai-org/GLM-4.7
- Input
- $0.60
- Output
- $2.20
- Context
- 205K
zai-org/GLM-5
- Input
- $1.00
- Output
- $3.20
- Context
- 203K
zai-org/GLM-5.1
- Input
- $1.00
- Output
- $3.20
- Context
- 203K
zai-org/GLM-5.2
- Input
- $1.40
- Output
- $4.40
- Context
- 262K
zai-org/GLM-5.3
- Input
- $1.40
- Output
- $4.40
- Context
- 1.05M
zai-org/GLM-5.3-Flash
- Input
- $0.15
- Output
- $0.50
- Context
- 1.05M
openai/gpt-oss-20b
- Input
- $0.10
- Output
- $0.50
- Context
- 131K
openai/gpt-oss-120b
- Input
- $0.25
- Output
- $0.69
- Context
- 131K
tencent/Hy3
- Input
- $0.14
- Output
- $0.58
- Context
- 262K
tencent/Hy4-preview
- Input
- $0.834
- Output
- $2.50
- Context
- 1M
thinkingmachines/Inkling
- Input
- $1.00
- Output
- $4.05
- Context
- 1.05M
thinkingmachines/Inkling-Small
- Input
- $0.50
- Output
- $1.20
- Context
- 524K
moonshotai/Kimi-K2-Instruct
- Input
- $1.00
- Output
- $3.00
- Context
- 131K
moonshotai/Kimi-K2-Instruct-0905
- Input
- $1.00
- Output
- $3.00
- Context
- 262K
moonshotai/Kimi-K2-Thinking
- Input
- $0.60
- Output
- $2.50
- Context
- 262K
moonshotai/Kimi-K2.5
- Input
- $0.60
- Output
- $3.00
- Context
- 262K
moonshotai/Kimi-K2.6
- Input
- $0.95
- Output
- $4.00
- Context
- 262K
moonshotai/Kimi-K2.7-Code
- Input
- $0.95
- Output
- $4.00
- Context
- 262K
moonshotai/Kimi-K3
- Input
- $3.00
- Output
- $15.00
- Context
- 1M
meta-llama/Llama-3.3-70B-Instruct
- Input
- $0.59
- Output
- $0.79
- Context
- 131K
meta-llama/Llama-3.1-8B-Instruct
- Input
- $0.06
- Output
- $0.06
- Context
- 131K
XiaomiMiMo/MiMo-V2.5
- Input
- $0.40
- Output
- $2.00
- Context
- 262K
XiaomiMiMo/MiMo-V2.5-Pro
- Input
- $1.00
- Output
- $3.00
- Context
- 1.05M
MiniMaxAI/MiniMax-M1-80k
- Input
- $0.55
- Output
- $2.20
- Context
- 1M
MiniMaxAI/MiniMax-M2
- Input
- $0.30
- Output
- $1.20
- Context
- 205K
MiniMaxAI/MiniMax-M2.1
- Input
- $0.30
- Output
- $1.20
- Context
- 205K
MiniMaxAI/MiniMax-M2.5
- Input
- $0.30
- Output
- $1.20
- Context
- 205K
MiniMaxAI/MiniMax-M2.7
- Input
- $0.30
- Output
- $1.20
- Context
- 205K
MiniMaxAI/MiniMax-M3
- Input
- $0.30
- Output
- $1.20
- Context
- 524K
Qwen/Qwen3-32B
- Input
- $0.29
- Output
- $0.59
- Context
- 131K
Qwen/Qwen3.8-27B
- Input
- $0.40
- Output
- $3.00
- Context
- 262K
Qwen/Qwen2.5-Coder-32B-Instruct
- Input
- $0.06
- Output
- $0.20
- Context
- 131K
Qwen/Qwen3-30B-A3B
- Input
- $0.12
- Output
- $0.50
- Context
- 41K
Qwen/Qwen3-235B-A22B
- Input
- $0.20
- Output
- $0.80
- Context
- 41K
Qwen/Qwen3-235B-A22B-Instruct-2507
- Input
- $0.855
- Output
- $2.57
- Context
- 262K
Qwen/Qwen3-235B-A22B-Thinking-2507
- Input
- $0.30
- Output
- $3.00
- Context
- 262K
Qwen/Qwen3-Coder-30B-A3B-Instruct
- Input
- $0.07
- Output
- $0.26
- Context
- 262K
Qwen3 Coder 480B A35B Instruct
Qwen/Qwen3-Coder-480B-A35B-Instruct
- Input
- $2.00
- Output
- $2.00
- Context
- 262K
Qwen/Qwen3-Coder-Next
- Input
- $0.20
- Output
- $1.50
- Context
- 262K
Qwen/Qwen3-Next-80B-A3B-Instruct
- Input
- $0.25
- Output
- $1.00
- Context
- 262K
Qwen/Qwen3-Next-80B-A3B-Thinking
- Input
- $0.30
- Output
- $2.00
- Context
- 262K
Qwen/Qwen3-VL-30B-A3B-Instruct
- Input
- $0.20
- Output
- $0.70
- Context
- 131K
Qwen/Qwen3-VL-235B-A22B-Instruct
- Input
- $0.30
- Output
- $1.50
- Context
- 131K
Qwen/Qwen3-VL-235B-A22B-Thinking
- Input
- $0.98
- Output
- $3.95
- Context
- 131K
Qwen/Qwen3.5-9B
- Input
- $0.17
- Output
- $0.25
- Context
- 262K
Qwen/Qwen3.5-27B
- Input
- $0.30
- Output
- $2.40
- Context
- 262K
Qwen/Qwen3.5-35B-A3B
- Input
- $0.25
- Output
- $2.00
- Context
- 262K
Qwen/Qwen3.5-122B-A10B
- Input
- $0.40
- Output
- $3.20
- Context
- 262K
Qwen/Qwen3.5-397B-A17B
- Input
- $0.60
- Output
- $3.60
- Context
- 262K
Qwen/Qwen3.6-27B
- Input
- $0.47
- Output
- $3.19
- Context
- 262K
Qwen/Qwen3.6-35B-A3B
- Input
- $0.15
- Output
- $0.95
- Context
- 262K
Qwen/Qwen3.8-2.4T-A95B
- Input
- $2.50
- Output
- $6.25
- Context
- 262K
stepfun-ai/Step-3.5-Flash
- Input
- $0.10
- Output
- $0.30
- Context
- 262K
stepfun-ai/Step-3.7-Flash
- Input
- $0.20
- Output
- $1.15
- Context
- 262K
Autoglm Phone 9B Multilingual
zai-org/AutoGLM-Phone-9B-Multilingual
- Input
- $0.035
- Output
- $0.138
- Context
- 66K
GLM 4.6v Flash
zai-org/GLM-4.6V-Flash
- Input
- $0.30
- Output
- $0.90
- Context
- 131K
MiMo V2 Flash
XiaomiMiMo/MiMo-V2-Flash
- Input
- $0.10
- Output
- $0.30
- Context
- 262K
Prices in USD from LiteLLM and models.dev, checked daily; confirm on Hugging Face's pricing page before you rely on a number.