tokenstat
tokenstat

xAI: Grok 2

xai/grok-2 · rates as of · Benchmarks · Plans · Calculator

Cheapest input
$2
$/MTok · LiteLLM
Cheapest output
$10
$/MTok
Context
tokens
Offers
3
1 source

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.

SourceProviderInputOutputCache readContext
LiteLLMcheapestxai/grok-2$2$10$0.2
LiteLLMcheapestvercel_ai_gateway/xai/grok-2$2$10$0.2
LiteLLMcheapestgrok-2$2$10$0.2

See what you actually spent

tokenstat prices your local sessions at list rates like these, with the cache split kept honest. Free, open source, runs on your machine.

$ curl -fsSL https://tokenstat.ai/install.sh | bash