LLM Reference

Grok-2

Released
2024-08-01
Last refreshed
2026-06-29
Status
Researched 107d ago
Open weightsCommercial use: conditionalCodingRAGLong contextClassificationJSON / Tool use

Grok-2 is worth evaluating for coding, rag, and long context when its provider route and context window match the workload.

Use it for

  • Teams evaluating coding, rag, and long context
  • Workloads that can use a 128k context window
  • Buyers comparing 1 tracked provider route

Do not use it for

  • Vision or document-understanding workloads
Specifications
Family
Grok 2
Released
2024-08-01
Context
128k
Architecture
Decoder Only
Specialization
general
Openness
Open weights
License
Grok LicenseCommercial use: conditional
Weights
Unknown
Code
Unknown
Training
Fine-tuned
Created by

Ethical AI for universal truth-seeking

San Francisco, California, United States
Founded 2023
Website
Pricing
Output / 1M
$0.500
Input / 1M
$0.500

Cheapest of 1 route · SiliconFlow

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/$ B

1 relevant benchmark in the decision map.

RAG

Included by capability and metadata signals in the decision map.

Long context

Included by capability and metadata signals in the decision map.

Provider price ladder

Compare API pricing across 1 providers for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MRoute
SiliconFlow$0.500$0.500
Serverless

Capabilities

ReasoningStructured Outputs

Benchmark peer barsfor Coding

Benchmark scores(3)

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.
BenchmarkScoreVersionEvaluationSource
HumanEval88.4pass@1Observed 2026-03-06Source
Massive Multitask Language Understanding87.55-shotObserved 2026-03-06Source
Chatbot Arena1255.0Observed 2026-04-15Source

Migration checks

No linked migration route is available for this model yet.

Compare Grok-2 with other models