Grok 2

xAI · workhorse · released Aug 13, 2024 · deprecated May 1, 2026 · grok-2

xAI's earlier generation model — being phased out in favor of Grok 3 and Grok 4.

Pricing

Input$2 / 1M
Output$10 / 1M

Deprecated — migrate to Grok 3.

Cost bandBalanced
Free tierLimited via X Premium.

Limits

Context window131k
Max output8,192
Knowledge cutoffJul 2024
DeploymentxAI API
OpenAI-compatible APIYes
ModalitiesText, Image input

Where it fits

Best forLegacy integrations only.
Business fitMigrate to Grok 3 or Grok 4.1 Fast.

Capabilities

Function callingVision

Benchmark scores

Composite74 / 100
Coding74 / 100 (HumanEval)
Reasoning76 / 100 (MMLU-Pro)
Long context72 / 100
Vision68 / 100 (MMMU)
Instruction following78 / 100 (MT-Bench)

Editorial aggregate of published benchmark results as of Oct 1, 2024. These are not independent measurements run by this site.

Change history

No recorded changes for this model yet. Pricing and context are checked daily; changes appear here with dates and sources.

Data

Last checkedJan 10, 2026

Verify with provider documentation before committing spend. Report an error and it gets fixed with a logged correction.

Open in the comparison table JSON API