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 $3.00 per million tokens from Xai. Best output $15.00 per million tokens from Xai.

131K context·5 providers·verified Apr 7, 2026
Best input$3.00per 1M tokens · Xai
Best output$15.00per 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.

X
Xainative
Input / 1M
$3.00
Output / 1M
$15.00
VA
Vercel Ai Gateway
Input / 1M
$3.00
Output / 1M
$15.00
R
Replicate
Input / 1M
$7.20
Output / 1M
$36.00
O
Openrouter
Input / 1M
$3.00
Output / 1M
$15.00
A
Azure
Input / 1M
$3.00
Output / 1M
$15.00

Input vs output · per provider

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.

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 $3.00 per million input tokens and $15.00 per million output tokens via the native API.

Also from Xai

Other models by Xai with live pricing in our catalog.