TokenRate

Grok 2 Pricing

Balanced

xAI · 131K tokens context

Grok 2 from xAI costs $2.00 per 1 million input tokens and $10.00 per 1 million output tokens as of May 2026. The model supports a 131,072-token context window (approximately 98,304 words) with a 4K-token maximum output. A typical 1,000-token request costs $0.0020 in input charges; a 10,000-token request costs $0.0200.

Grok 2 pricing and capability summary
Input price$2.00 / 1M tokens
Output price$10.00 / 1M tokens
Output / input ratio5.0×
Context window131,072 tokens (~98,304 words)
Maximum output4,096 tokens
Cost per 1K tokens (input)$0.0020
TierBalanced
Last verified

Grok 2 is xAI's general-purpose model with built-in real-time context from X (Twitter). Competitive on text reasoning and uniquely positioned for social/news-aware applications.

Reference pricing · updated 2026-05-22

Input Price

$2.00

per 1 million tokens

Output Price

$10.00

per 1 million tokens

Context Window

131K tokens

max 4K output

Cost Examples

Request TypeTokensInput CostOutput Cost
1,000 word article1,333$0.00267$0.004
10-page document (2,500 words)3,333$0.00667$0.01
1,000 lines of code5,000$0.01$0.015
100K token document100,000$0.20$0.30

Output cost estimated at 30% of input token count. Use the calculator for exact figures.

Strengths

  • Built-in real-time knowledge via X integration
  • Competitive general-purpose quality
  • 128K context

Limitations

  • Pricing matches frontier models without the ecosystem
  • Limited multimodal

Best Use Cases

Social media analysis
News-aware chatbots
X-platform integrations

Calculate Grok 2 Costs

Use the TokenRate calculator to convert any budget, token count, or text into exact Grok 2 costs — and compare across all models.

Open Calculator →

Grok 2 — FAQ

Related Models

Related Guides