xAI

Grok 2

Complete specs, pricing, and benchmark data for Grok 2 by xAI. Last verified 2026-04-20.

JSON ModeFunctionsStreaming
Pricing

Input / 1M tokens

$2.00

Output / 1M tokens

$10.00

Context & Output

Context Window

131.072K

Max Output

4,096

TTFT

150ms

Speed

100 tok/s

Benchmarks

Arena ELO

1240

Coding ELO

1225

Reasoning ELO

1240

HumanEval

87

MMLU

85

MATH

112

GPQA

45

Try Grok 2 API

Start building with Grok 2

Get API Access

Price History (Input $/M tokens)

Strengths
  • +Large context window
  • +Good reasoning
  • +Competitive performance
Limitations
  • -Expensive pricing
  • -Less established

Best For

General PurposeCoding

Compare Grok 2 with...

Official Pricing Page →
Your ad here