xAI: Grok 4
Grok model for agentic tool use, reasoning, coding, and live assistance
Cheapest input
$3
$/MTok · models.dev
Cheapest output
$15
$/MTok
Context
256K
tokens
Offers
14
2 sources
Offers
Same model, different listings. First-party, router, and aggregator rows stay separate so you can see the spread instead of a single blended number.
| Source | Provider | Input | Output | Cache read | Context |
|---|---|---|---|---|---|
| models.devcheapestxai/grok-4 | Poe | $3 | $15 | $0.75 | 256K |
| models.devxai/grok-4 | Requesty | $3 | $15 | $0.75 | 256K |
| models.devgrok-4 | Helicone | $3 | $15 | $0.75 | 256K |
| models.devgrok-4 | LLM Gateway | $3 | $15 | $0.75 | 256K |
| models.devx-ai/grok-4 | FastRouter | $3 | $15 | $0.75 | 256K |
| models.devx-ai/grok-4 | ZenMux | $3 | $15 | $0.75 | 256K |
| LiteLLMx-ai/grok-4 | — | $3 | $15 | $0.3 | — |
| LiteLLMgrok-4 | — | $3 | $15 | $0.3 | — |
| LiteLLMazure_ai/grok-4 | — | $3 | $15 | $0.3 | — |
| LiteLLMoci/xai.grok-4 | — | $3 | $15 | $0.3 | — |
| LiteLLMopenrouter/x-ai/grok-4 | — | $3 | $15 | $0.3 | — |
| LiteLLMvercel_ai_gateway/xai/grok-4 | — | $3 | $15 | $0.3 | — |
| LiteLLMxai.grok-4 | — | $3 | $15 | $0.3 | — |
| LiteLLMreplicate/xai/grok-4 | — | $7.20 | $36 | $0.72 | — |
Capabilities
- Reasoning
- Tool calling
- Attachments
- In: text
- In: image
- Out: text
Knowledge cutoff: 2025-01Released: 2025-07-10Family: grok