AI Hub
All models
MultimodalAPI only

Grok-2

xAI

Updated May 21, 2026 · Benchmarks via Artificial Analysis, specs & pricing via OpenRouter · Methodology · Report an error

Superseded by Grok-3

Specifications

Type
Multimodal
Access
API only
Released
August 13, 2024
License
proprietary
Context window
128,000 tokens
Output speed
85 tok/s
Latency (TTFT)
0.7s
Input
Text, Image
Output
Text
API pricing
$2.00 in · $10.00 out / 1M tokens
Capabilities
Function callingStructured output

Benchmarks

Reasoning

Math

MATH
76.1
MATH-500
77.8

Multimodal

Our take

xAI’s second-generation model, adding image understanding and generation and climbing the chatbot leaderboards.

Compare Grok-2 with

See all Grok-2 alternatives →