LLM Reference

Grok-2

Released
2024-08-01
Last refreshed
2026-06-29
Status
Researched 43d 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
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.

Grok-2 is an open-weight model in the Grok 2 family. The structured metadata tracks a 128k-token context window, reasoning, and structured outputs. This page tracks provider routes through SiliconFlow, with the cheapest tracked route listed at $0.5 input and $0.5 output per 1M tokens. Headline tracked benchmarks include HumanEval 88.4, Massive Multitask Language Understanding 87.5, and Chatbot Arena 1255.0.

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.
BenchmarkScoreVersionSource
HumanEval88.4pass@1https://x.ai/blog/grok-2
Massive Multitask Language Understanding87.55-shothttps://x.ai/blog/grok-2
Chatbot Arena1255.0https://lmarena.ai

Migration checks

No linked migration route is available for this model yet.

Compare Grok-2 with other models

Frequently asked questions

What is the context window of Grok-2?

Grok-2 has a context window of 128k tokens.

How much does Grok-2 cost?

Grok-2 is available at $0.5/1M input tokens through SiliconFlow.

When was Grok-2 released?

Grok-2 was released on 2024-08-01.

Which providers offer Grok-2?

Grok-2 is available from 1 provider: SiliconFlow.

What benchmarks has Grok-2 been tested on?

Grok-2 has been evaluated on 3 benchmarks, including HumanEval, Massive Multitask Language Understanding, Chatbot Arena.