Free price reference

LLM pricing, every model side by side

Cost per million tokens (input, output, and cache), plus context windows, for 3,364 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-1212
xai/grok-2-vision-1212
xAI $2.00 $10.00 32,768 text
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-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-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-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-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-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-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-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
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

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.