Grok 2
Pricing & Specs
xAI · $2 input / $10 output per 1M tokens · 131.072K context window
No longer offered on OpenMark
Grok 2 is no longer offered on OpenMark (deprecated or superseded upstream). Its specs are kept here for reference. If you're still running it in production, it's worth benchmarking current alternatives: newer models are often cheaper AND better on the same task.
Grok 2 API Pricing
| Tokens | Price |
|---|---|
| Input | $2 / 1M tokens |
| Output | $10 / 1M tokens |
Cached tokens pricing is not available for this model.
What that means in practice
Grok 2 Specs
| Spec | Value |
|---|---|
| Context window | 131.072K tokens |
| Input modalities | text |
| Output modalities | text |
| Latency (measured by OpenMark) | ~372ms median response |
| Reasoning model | No |
| Tool / function calling | Yes |
| JSON mode | Yes |
| Streaming | Yes |
| Prompt caching | No |
Capabilities
Notes
Deprecated Sep 15, 2025. Use grok-3 instead.
FAQ
How much does Grok 2 cost?
Grok 2 costs $2 per 1M input tokens and $10 per 1M output tokens.
What is Grok 2's context window?
Grok 2 has a 131.072K-token context window.
Can I test Grok 2 on my own task?
Grok 2 is no longer offered on OpenMark, but you can benchmark its current alternatives from xAI and other providers on your own task, free tier available.
Still using Grok 2?
It's been superseded. Benchmark its current alternatives on your actual
workload. You'll likely find something cheaper AND better. Free tier available.