kilo-logo
kilo-logo
kilo-logo

Grok 4.2

by xAI

Grok 4.2 pricing, context window and specs

Grok 4.2 is an xAI model with a 256,000 token context window. It costs $2.00 per million input tokens and $6.00 per million output tokens, and supports image input, tool calling and structured output.

Grok 4.2grok-4.20-0309-reasoning
Updated Nov 20, 2026
Input price$2.00per 1M tokens
Output price$6.00per 1M tokens
Context window256,000tokens, about 192,000 words
Cached input$0.20per 1M tokens
Tool callingStructured outputVisionReasoning

Grok 4.2 specs

Provider

xAI

Model ID

grok-4.20-0309-reasoning

Input price

$2.00 per 1M tokens

Cached input price

$0.20 per 1M tokens

Output price

$6.00 per 1M tokens

Context window

256,000 tokens

Modalities

Text and images in, text out

Tool calling

โœ“ Supported

Structured output

โœ“ Supported

Reasoning

Not supported

Vision

โœ“ Supported

Prices checked on

When to use Grok 4.2

Pick Grok 4.2 as an everyday model when you need solid quality without paying top-tier prices.

Drafting and analysis. Writing, summarising and answering questions over your own data.

Agents that use tools. It supports tool calling and structured output, so it can act and hand back clean JSON.

Large inputs. The 256,000 token context window fits long documents and transcripts in one request.

Reading images. It accepts screenshots, scans and photos alongside text.

Cost calculator

What Grok 4.2 costs at your volume

Pick a workload or move the sliders. The estimate uses the prices in the table above.

Start from a workload
Estimated Grok 4.2 cost per month$51.75
Input 48%Output 52%
Per request$0.00345
Per day$1.72
Per 1,000 requests$3.45
Context window used0.7% of 256K

Worked out from the provider list price. Fetch Hive charges that price to your AI wallet with no markup per call, and each model call uses one task from your plan.

Templates

Templates you can run with Grok 4.2

Ready-made workflows and agents. Copy one, pick Grok 4.2 in the AI step and run it.

Build with it

Use Grok 4.2 in Fetch Hive

Fetch Hive is an AI agent builder. Pick this model in any prompt, workflow or agent step, or call it from your own code with one API request.

Call Grok 4.2 through the AI Gateway

1

Create a prompt and pick the model

Write your prompt in Fetch Hive and choose this model from the model library. Add a fallback model if you want a backup.

2

Deploy the prompt

Deploying gives the prompt a deployment name and a variant that your code can call.

3

Send one POST request

Call the invoke endpoint with your API key. Usage is charged to your AI wallet at the provider list price, and each call uses one task.

bash
curl -X POST \
  https://api.fetchhive.com/v1/prompt/invoke \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "deployment": "your-deployment",
    "variant": "default",
    "inputs": { "ticket": "Where is my order?" },
    "streaming": false
  }'

Compare

Compare Grok 4.2 with similar models

List prices per 1M tokens and context window, next to the models people most often weigh it against.

VS

Grok 4.5

by xAI
Grok 4.2Grok 4.5
Input per 1M tokensSame
$2.00
$2.00
Output per 1M tokensSame
$6.00
$6.00
Context window95% larger
256K tokens
500K tokens
See Grok 4.5 pricing and specs
VS

Grok 4.6

by xAI
Grok 4.2Grok 4.6
Input per 1M tokensSame
$2.00
$2.00
Output per 1M tokensSame
$6.00
$6.00
Context window95% larger
256K tokens
500K tokens
See Grok 4.6 pricing and specs
VS

Sonar Reasoning Pro

by Perplexity
Grok 4.2Sonar Reasoning Pro
Input per 1M tokensSame
$2.00
$2.00
Output per 1M tokens33% pricier
$6.00
$8.00
Context window2x smaller
256K tokens
128K tokens
See Sonar Reasoning Pro pricing and specs

FAQ

Grok 4.2 questions, answered

Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image

Build withh Grok 4.2

on Fetch Hive today.

Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image

Build withh Grok 4.2

on Fetch Hive today.

Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image
Agent Image

Build withh Grok 4.2

on Fetch Hive today.