Grok 4.2 (Reasoning)
Pricing & Specs

xAI · $1.25 input / $2.5 output per 1M tokens · 2M context window

$1.25
per 1M input tokens
$2.5
per 1M output tokens
2M
context window (tokens)

The per-token price never tells the full story. A typical task (1K input + 500 output tokens) on Grok 4.2 (Reasoning) costs about $0.0025 — roughly $2.50 per 1,000 runs. But if it needs 3x the tokens of a cheaper model to match quality on YOUR task, the economics flip. The only way to know is to benchmark it on your actual workload.

Grok 4.2 (Reasoning) API Pricing

TokensPrice
Input$1.25 / 1M tokens
Output$2.5 / 1M tokens
Cached input$0.2 / 1M tokens

Cached input tokens are billed when caching is enabled.

What that means in practice

1x One typical task (1K input + 500 output tokens): $0.0025
1K 1,000 runs of that task: $2.50
💡 Real cost depends on how verbose the model is on YOUR prompts — benchmark to measure actual tokens, not estimates.

Grok 4.2 (Reasoning) Specs

SpecValue
Context window2M tokens
Input modalitiestext, image
Output modalitiestext
Reasoning modelNo
Tool / function callingYes
JSON modeYes
StreamingYes
Prompt cachingYes
Batch APINo

FAQ

How much does Grok 4.2 (Reasoning) cost?

Grok 4.2 (Reasoning) costs $1.25 per 1M input tokens and $2.5 per 1M output tokens ($0.2 per 1M cached input tokens).

What is Grok 4.2 (Reasoning)'s context window?

Grok 4.2 (Reasoning) has a 2M-token context window.

Can I test Grok 4.2 (Reasoning) on my own task?

Yes. OpenMark lets you benchmark Grok 4.2 (Reasoning) against 100+ models on your own task with real API calls — no API keys needed, free tier available.

Is Grok 4.2 (Reasoning) the right model for YOUR task?

Pricing tables can't answer that. Benchmark it against 100+ models
on your actual workload — real API calls, real costs. Free tier available.

Benchmark Grok 4.2 (Reasoning) — Free →