Grok-2
Newer version available: Grok 4.7
Released
2024-08-01
Last refreshed
2026-10-17
Status
Researched 28d ago
Open weightsCommercial use: restrictedCodingRAGLong contextClassificationJSON / Tool use
xAI releases · 19 in the last 12 monthsChangelog →
Specifications
- Family
- Grok 2
- Released
- 2024-08-01
- Context
- 128K
- Architecture
- Decoder Only
- Specialization
- general
- Openness
- Open weights
- License
- Grok LicenseRestricted
- Weights
- Unknown
- Code
- Unknown
- Training
- Fine-tuned
Created by
Pricing
Output / 1M
$0.500
Input / 1M
$0.500
Cheapest of 1 route · SiliconFlow
Providers(1)
Created by
Pricing
Output / 1M
$0.500
Input / 1M
$0.500
Cheapest of 1 route · SiliconFlow
Providers(1)
About
Grok-2 is xAI's Grok 2 model with an optional reasoning mode. It offers a 128K-token context window.
Top use-case fit: coding, agents, and build tasks
Coding
Q/$ BProviders(1)
Compare API pricing across 1 tracked provider route for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| SiliconFlow | $0.500 | $0.500 | Serverless |
Capabilities
ReasoningStructured Outputs
Benchmark peer barsfor Coding
HumanEvalRank 23 of 99
Benchmark scores(4)
Scores are benchmark-specific and are direction-aware: the same numeric gap can mean very different outcomes across suites. Use the leaderboard context and this model's provider route to decide whether the winning margin is meaningful for your workload.
| Benchmark | Score | Version | Evaluation | Source |
|---|---|---|---|---|
| 88.4 | pass@1Observed 2026-03-06 | — | ||
| 87.5 | 5-shotObserved 2026-03-06 | — | ||
| 1255.0 | —Observed 2026-04-15 | — | Source Source: LMArena (lmarena.ai), CC BY 4.0 | |
| 1284.0 | text creative_writing 2026-10-22Observed 2026-10-22 | Configuration: Grok 2 (2024-08-13) Harness: LMArena blind pairwise human votes, Bradley-Terry Evaluator: LMArena Confidence: confirmed Notes: LMArena Text arena, Creative Writing category (no style control), board published 2026-10-22 (HF lmarena-ai/leaderboard-dataset @a467e6b9, text config, latest split). Board entry 'Grok 2 (2024-08-13)' (category creative_writing in text/latest-00000-of-00001.parquet): rank 240 of 416, rating 1284.0 (95% CI 1276.6-1291.4), 9339 votes. Source: LMArena (CC BY 4.0). Retrieved 2026-10-27. | Source Source: LMArena (lmarena.ai), CC BY 4.0 |
Migration checks
No linked migration route is available for this model yet.