Free price reference
LLM pricing, every model side by side
Cost per million tokens (input, output, and cache), plus context windows, for 4,499 models across every major provider. Prices sync daily from the open LiteLLM dataset. Pick a model for details and a workload cost calculator.
| Model | Provider ↑ | Input /Mtok | Output /Mtok | Cache read | Cache write | Context | Modality |
|---|---|---|---|---|---|---|---|
|
xai/grok-2-vision-latest
xai/grok-2-vision-latest
|
xAI | $2.00 | $10.00 | — | — | 32,768 | text |
|
xai/grok-3
xai/grok-3
|
xAI | $1.25 | $2.50 | $0.2000 | — | 131,072 | text |
|
xai/grok-3-beta
xai/grok-3-beta
|
xAI | $1.25 | $2.50 | $0.2000 | — | 131,072 | text |
|
xai/grok-3-fast-beta
xai/grok-3-fast-beta
|
xAI | $1.25 | $2.50 | $0.2000 | — | 131,072 | text |
|
xai/grok-3-fast-latest
xai/grok-3-fast-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 131,072 | text |
|
xai/grok-3-latest
xai/grok-3-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 131,072 | text |
|
xai/grok-3-mini
xai/grok-3-mini
|
xAI | $1.25 | $2.50 | $0.2000 | — | 131,072 | text |
|
xai/grok-3-mini-beta
xai/grok-3-mini-beta
|
xAI | $1.25 | $2.50 | $0.2000 | — | 131,072 | text |
|
xai/grok-3-mini-fast
xai/grok-3-mini-fast
|
xAI | $1.25 | $2.50 | $0.2000 | — | 131,072 | text |
|
xai/grok-3-mini-fast-beta
xai/grok-3-mini-fast-beta
|
xAI | $1.25 | $2.50 | $0.2000 | — | 131,072 | text |
|
xai/grok-3-mini-fast-latest
xai/grok-3-mini-fast-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 131,072 | text |
|
xai/grok-3-mini-latest
xai/grok-3-mini-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 131,072 | text |
|
xai/grok-4
xai/grok-4
|
xAI | $1.25 | $2.50 | $0.2000 | — | 256,000 | text |
|
xai/grok-4-0709
xai/grok-4-0709
|
xAI | $1.25 | $2.50 | $0.2000 | — | 256,000 | text |
|
xai/grok-4-1-fast
xai/grok-4-1-fast
|
xAI | $1.25 | $2.50 | $0.2000 | — | 2,000,000 | text |
|
xai/grok-4-1-fast-non-reasoning
xai/grok-4-1-fast-non-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 2,000,000 | text |
|
xai/grok-4-1-fast-non-reasoning-latest
xai/grok-4-1-fast-non-reasoning-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 2,000,000 | text |
|
xai/grok-4-1-fast-reasoning
xai/grok-4-1-fast-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 2,000,000 | text |
|
xai/grok-4-1-fast-reasoning-latest
xai/grok-4-1-fast-reasoning-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 2,000,000 | text |
|
xai/grok-4-fast-non-reasoning
xai/grok-4-fast-non-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 2,000,000 | text |
|
xai/grok-4-fast-reasoning
xai/grok-4-fast-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 2,000,000 | text |
|
xai/grok-4-latest
xai/grok-4-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 256,000 | text |
|
xai/grok-4.20
xai/grok-4.20
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-0309
xai/grok-4.20-0309
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-0309-non-reasoning
xai/grok-4.20-0309-non-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-0309-reasoning
xai/grok-4.20-0309-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-beta
xai/grok-4.20-beta
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-beta-0309
xai/grok-4.20-beta-0309
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-beta-0309-non-reasoning
xai/grok-4.20-beta-0309-non-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-beta-0309-reasoning
xai/grok-4.20-beta-0309-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-beta-latest
xai/grok-4.20-beta-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-beta-latest-non-reasoning
xai/grok-4.20-beta-latest-non-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-beta-latest-reasoning
xai/grok-4.20-beta-latest-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-beta-non-reasoning
xai/grok-4.20-beta-non-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-beta-reasoning
xai/grok-4.20-beta-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-experimental-beta-0304
xai/grok-4.20-experimental-beta-0304
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-experimental-beta-0304-non-reasoning
xai/grok-4.20-experimental-beta-0304-non-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-experimental-beta-0304-reasoning
xai/grok-4.20-experimental-beta-0304-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-experimental-beta-latest
xai/grok-4.20-experimental-beta-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-experimental-beta-non-reasoning-latest
xai/grok-4.20-experimental-beta-non-reasoning-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-experimental-beta-reasoning-latest
xai/grok-4.20-experimental-beta-reasoning-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-multi-agent
xai/grok-4.20-multi-agent
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-multi-agent-0309
xai/grok-4.20-multi-agent-0309
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-multi-agent-beta-0309
xai/grok-4.20-multi-agent-beta-0309
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-multi-agent-beta-latest
xai/grok-4.20-multi-agent-beta-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-multi-agent-experimental-beta-0304
xai/grok-4.20-multi-agent-experimental-beta-0304
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-multi-agent-experimental-beta-latest
xai/grok-4.20-multi-agent-experimental-beta-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-multi-agent-latest
xai/grok-4.20-multi-agent-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-non-reasoning
xai/grok-4.20-non-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-non-reasoning-gv2
xai/grok-4.20-non-reasoning-gv2
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-non-reasoning-latest
xai/grok-4.20-non-reasoning-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-reasoning
xai/grok-4.20-reasoning
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-reasoning-gv2
xai/grok-4.20-reasoning-gv2
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.20-reasoning-latest
xai/grok-4.20-reasoning-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.3
xai/grok-4.3
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.3-latest
xai/grok-4.3-latest
|
xAI | $1.25 | $2.50 | $0.2000 | — | 1,000,000 | text |
|
xai/grok-4.5
xai/grok-4.5
|
xAI | $2.00 | $6.00 | $0.3000 | — | 500,000 | text |
|
xai/grok-4.5-latest
xai/grok-4.5-latest
|
xAI | $2.00 | $6.00 | $0.3000 | — | 500,000 | text |
|
xai/grok-4.6
xai/grok-4.6
|
xAI | $2.00 | $6.00 | $0.5000 | — | 500,000 | text |
|
xai/grok-4.7
xai/grok-4.7
|
xAI | $2.00 | $6.00 | $0.5000 | — | 500,000 | text |
|
xai/grok-beta
xai/grok-beta
|
xAI | $5.00 | $15.00 | — | — | 131,072 | text |
|
xai/grok-build-0.1
xai/grok-build-0.1
|
xAI | $1.00 | $2.00 | $0.2000 | — | 256,000 | text |
|
xai/grok-build-latest
xai/grok-build-latest
|
xAI | $2.00 | $6.00 | $0.3000 | — | 500,000 | text |
|
xai/grok-code-fast
xai/grok-code-fast
|
xAI | $1.00 | $2.00 | $0.2000 | — | 256,000 | text |
|
xai/grok-code-fast-1
xai/grok-code-fast-1
|
xAI | $1.00 | $2.00 | $0.2000 | — | 256,000 | text |
|
xai/grok-code-fast-1-0825
xai/grok-code-fast-1-0825
|
xAI | $1.00 | $2.00 | $0.2000 | — | 256,000 | text |
|
xai/grok-vision-beta
xai/grok-vision-beta
|
xAI | $5.00 | $15.00 | — | — | 8,192 | text |
|
xiaomi_mimo/mimo-v2.6-flash
xiaomi_mimo/mimo-v2.6-flash
|
Xiaomi Mimo | $0.1400 | $0.2800 | $0.0028 | — | 1,048,576 | text |
|
xiaomi_mimo/mimo-v2.6-pro
xiaomi_mimo/mimo-v2.6-pro
|
Xiaomi Mimo | $0.4350 | $0.8700 | $0.0036 | — | 1,048,576 | text |
|
zai/glm-4-32b-0414-128k
zai/glm-4-32b-0414-128k
|
Zai | $0.1000 | $0.1000 | — | — | 128,000 | text |
|
zai/glm-4.5
zai/glm-4.5
|
Zai | $0.6000 | $2.20 | — | — | 128,000 | text |
|
zai/glm-4.5-air
zai/glm-4.5-air
|
Zai | $0.2000 | $1.10 | — | — | 128,000 | text |
|
zai/glm-4.5-airx
zai/glm-4.5-airx
|
Zai | $1.10 | $4.50 | — | — | 128,000 | text |
|
zai/glm-4.5-flash
zai/glm-4.5-flash
|
Zai | $0.0000 | $0.0000 | — | — | 128,000 | text |
|
zai/glm-4.5-x
zai/glm-4.5-x
|
Zai | $2.20 | $8.90 | — | — | 128,000 | text |
|
zai/glm-4.5v
zai/glm-4.5v
|
Zai | $0.6000 | $1.80 | — | — | 128,000 | text |
|
zai/glm-4.6
zai/glm-4.6
|
Zai | $0.6000 | $2.20 | $0.1100 | $0.0000 | 200,000 | text |
|
zai/glm-4.7
zai/glm-4.7
|
Zai | $0.6000 | $2.20 | $0.1100 | $0.0000 | 200,000 | text |
|
zai/glm-4.7-flash
zai/glm-4.7-flash
|
Zai | $0.0000 | $0.0000 | $0.0000 | $0.0000 | 200,000 | text |
|
zai/glm-5
zai/glm-5
|
Zai | $1.00 | $3.20 | $0.2000 | $0.0000 | 200,000 | text |
|
zai/glm-5-code
zai/glm-5-code
|
Zai | $1.20 | $5.00 | $0.3000 | $0.0000 | 200,000 | text |
|
zai/glm-5.1
zai/glm-5.1
|
Zai | $1.40 | $4.40 | $0.2600 | $0.0000 | 200,000 | text |
|
zai/glm-5.2
zai/glm-5.2
|
Zai | $1.40 | $4.40 | $0.2600 | $0.0000 | 1,000,000 | text |
|
zai/glm-5.3
zai/glm-5.3
|
Zai | $1.40 | $4.40 | $0.2600 | $0.0000 | 1,000,000 | text |
|
zai/glm-5.3-flash
zai/glm-5.3-flash
|
Zai | $0.1500 | $0.5000 | $0.0300 | $0.0000 | 1,048,576 | text |
|
zai/glm-5v-turbo
zai/glm-5v-turbo
|
Zai | $1.20 | $4.00 | $0.2400 | — | 200,000 | text |
|
zerogpu/deepseek-v4.1-flash
zerogpu/deepseek-v4.1-flash
|
Zerogpu | $0.3000 | $1.20 | $0.0030 | — | 1,048,576 | text |
|
zerogpu/glm-5.3-flash
zerogpu/glm-5.3-flash
|
Zerogpu | $0.1000 | $0.3500 | $0.0150 | — | 1,048,576 | text |
|
zerogpu/gpt-4.1-mini
zerogpu/gpt-4.1-mini
|
Zerogpu | $0.4000 | $1.60 | $0.1000 | — | 1,047,576 | text |
|
zerogpu/gpt-5.4-nano
zerogpu/gpt-5.4-nano
|
Zerogpu | $0.2000 | $1.25 | $0.0200 | — | 272,000 | text |
|
zerogpu/gpt-5.6-luna
zerogpu/gpt-5.6-luna
|
Zerogpu | $0.2000 | $1.20 | $0.2000 | — | 272,000 | text |
|
zerogpu/gpt-6-luna
zerogpu/gpt-6-luna
|
Zerogpu | $0.1000 | $0.5000 | $0.0100 | — | 272,000 | text |
|
zerogpu/gpt-oss-120b
zerogpu/gpt-oss-120b
|
Zerogpu | $0.1500 | $0.6000 | $0.0300 | — | 128,000 | text |
|
zerogpu/LFM2.5-1.2B-Instruct
zerogpu/LFM2.5-1.2B-Instruct
|
Zerogpu | $0.0200 | $0.0500 | — | — | 32,768 | text |
|
zerogpu/LFM2.5-1.2B-Thinking
zerogpu/LFM2.5-1.2B-Thinking
|
Zerogpu | $0.0200 | $0.0500 | — | — | 32,768 | text |
|
zerogpu/llama-3.1-8b-instruct-fast
zerogpu/llama-3.1-8b-instruct-fast
|
Zerogpu | $0.1500 | $0.2800 | $0.0250 | — | 131,072 | text |
|
zerogpu/llama-3.2-3b-instruct-fast
zerogpu/llama-3.2-3b-instruct-fast
|
Zerogpu | $0.0500 | $0.3000 | $0.0250 | — | 131,072 | text |
|
zerogpu/qwen3-30b-a3b-fp8
zerogpu/qwen3-30b-a3b-fp8
|
Zerogpu | $0.1000 | $0.4500 | $0.0500 | — | 32,768 | text |
|
zerogpu/qwen3.6-35b-a3b
zerogpu/qwen3.6-35b-a3b
|
Zerogpu | $0.2000 | $1.50 | $0.2000 | — | 262,144 | text |
Prices are sourced from the open LiteLLM dataset and may lag provider changes. Always confirm against the provider's official pricing before relying on a figure.