Free price reference
LLM pricing, every model side by side
Cost per million tokens (input, output, and cache), plus context windows, for 2,527 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-4-latest
xai/grok-4-latest
|
xAI | $3.00 | $15.00 | — | — | 256,000 | text |
|
xai/grok-4.20-0309-reasoning
xai/grok-4.20-0309-reasoning
|
xAI | $2.00 | $6.00 | $0.2000 | — | 2,000,000 | text |
|
xai/grok-4.20-beta-0309-non-reasoning
xai/grok-4.20-beta-0309-non-reasoning
|
xAI | $2.00 | $6.00 | $0.2000 | — | 2,000,000 | text |
|
xai/grok-4.20-beta-0309-reasoning
xai/grok-4.20-beta-0309-reasoning
|
xAI | $2.00 | $6.00 | $0.2000 | — | 2,000,000 | text |
|
xai/grok-4.20-multi-agent-beta-0309
xai/grok-4.20-multi-agent-beta-0309
|
xAI | $2.00 | $6.00 | $0.2000 | — | 2,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.5000 | — | 500,000 | text |
|
xai/grok-4.5-latest
xai/grok-4.5-latest
|
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-code-fast
xai/grok-code-fast
|
xAI | $0.2000 | $1.50 | $0.0200 | — | 256,000 | text |
|
xai/grok-code-fast-1
xai/grok-code-fast-1
|
xAI | $0.2000 | $1.50 | $0.0200 | — | 256,000 | text |
|
xai/grok-code-fast-1-0825
xai/grok-code-fast-1-0825
|
xAI | $0.2000 | $1.50 | $0.0200 | — | 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 |
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.