xAIVisionTool use

Grok 4 pricing

Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not... Live index: 5 priced offers. Best input $1.25 per million tokens from xAI. Best output $2.50 per million tokens from xAI.

131K context·5 providers·verified Aug 30, 2026
Best input$1.25per 1M tokens · xAI
Best output$2.50per 1M tokens · xAI

Pricing across providers

Use this table to read Grok 4 list prices. We show 5 sources right now. Lowest input in the grid: xAI. The chart below the table helps when output prices are much higher than input prices.

A
Azure
Input / 1M
$3.00
Output / 1M
$15.00
O
Openrouter
Input / 1M
$3.00
Output / 1M
$15.00
R
Replicate
Input / 1M
$7.20
Output / 1M
$36.00
VA
Vercel Ai Gateway
Input / 1M
$3.00
Output / 1M
$15.00
X
xAInative
Input / 1M
$1.25
Output / 1M
$2.50
Cached in: $0.200

Input vs output · per provider

Pricing history

If you only care about current multi seller rates, use the pricing section. This timeline is for the official listing history. The native listing moved from $3.00 in and $15.00 out to $1.25 in and $2.50 out in the latest window.

  1. Since Aug 30, 2026

    $1.25 in · $2.50 out(current listing)

    Output rate -83% vs previous period

  2. Apr 7, 2026 → Aug 30, 2026

    $3.00 in · $15.00 out

Cost calculator

The calculator uses the same dollars per million tokens as the table. Adjust sliders to see how Grok 4 cost scales with traffic.

Provider

In: $3.00/M·Out: $15.00/M

0.300000¢ / req

0.750000¢ / req

Daily
$105
Monthly
$3.1K
Annual
$38.3K

Model specifications

Context length, caps, and capability flags for Grok 4. Values follow the main provider (xAI) record in our index.

Context window
131,072 tokens
Max output
131,072 tokens
Vision (images)
Yes
Tool / function calling
Yes
Streaming
No
Released
Jul 2025
Primary provider
xAI
Model family
N/A

Compare Grok 4

These links open full side by side pages for Grok 4. We picked pairs that people often shop together. 6 ready to open.

Locked

Compare with

Pick a model on both sides.

Popular Grok 4 comparisons

Frequently asked questions

Read these after the table if you want plain language around Grok 4 rates. The short model note from our index: Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not...

Grok 4 costs $1.25 per million input tokens and $2.50 per million output tokens via the native API. Prompt caching reduces input costs to $0.20/M tokens.

Related models

Models close to Grok 4 by family, provider, and context window — each with live pricing in our catalog.