tokenstat
tokenstat

xAI: Grok 4

xai/grok-4 · rates as of · How this catalog is built · Benchmarks

Grok model for agentic tool use, reasoning, coding, and live assistance

Cheapest input
$3
$/MTok · models.dev
Cheapest output
$15
$/MTok
Context
256K
tokens
Sources
2
12 listings

Price changes

Cheapest list input/output only. Rates move rarely, so this is an event log. Down means cheaper. Showing the 8 latest changes.

Input $/MTok over sampled dates
Output $/MTok
  • ↑ higherOutput $2.50 → $15
  • ↑ higherInput $1.25 → $3
  • ↓ lowerOutput $15 → $2.50
  • ↓ lowerInput $3 → $1.25

Sources

Same model, different sources. Our first-party rate is listed first, then router and aggregator rows stay separate so you can see the spread instead of a single blended number.

SourceProviderInputOutputCache readContext
models.devcheapestx-ai/grok-4FastRouter$3$15$0.75256K
models.devgrok-4Helicone$3$15$0.75256K
models.devgrok-4DevPass (LLM Gateway)$3$15$0.75256K
models.devxai/grok-4LLM Gateway$3$15$0.75256K
models.devxai/grok-4Poe$3$15$0.75256K
LiteLLMgrok-4N/A$3$15$0.3N/A
LiteLLMazure_ai/grok-4N/A$3$15$0.3N/A
LiteLLMoci/xai.grok-4N/A$3$15$0.3N/A
LiteLLMvercel_ai_gateway/xai/grok-4N/A$3$15$0.3N/A
LiteLLMxai.grok-4N/A$3$15$0.3N/A
LiteLLMxai/grok-4N/A$7.20$36$0.72N/A
LiteLLMreplicate/xai/grok-4N/A$7.20$36$0.72N/A

Capabilities

  • Reasoning
  • Tool calling
  • Attachments
  • In: text
  • In: image
  • Out: text
Knowledge cutoff: 2025-07Released: 2025-07-09Family: grok

See what this model costs you

The app reads the sessions your tools already wrote and prices this model's tokens at the published API rate. Free on your computer.