XaiTool use

Xai Grok 4 pricing

If you are budgeting for Xai Grok 4, start with the numbers below. We index 1 provider price. Cheapest input is $3.00 per million tokens. Cheapest output is $15.00 per million tokens. The model lists a 128K context window in our data.

128K context·1 provider·verified Apr 7, 2026
Best input$3.00per 1M tokens · Oci
Best output$15.00per 1M tokens · Oci

Pricing across providers

All figures are list prices per million tokens unless a column says otherwise. 1 offer is listed for Xai Grok 4. Best input in this view: Oci.

O
Oci
Input / 1M
$3.00
Output / 1M
$15.00

Input vs output · 1M tokens

Cost calculator

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

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

0.300000¢ / req

0.750000¢ / req

Daily
$105
Monthly
$3.1K
Annual
$38.3K

Model specifications

These fields describe Xai Grok 4 as we store it (source: Xai). They sit next to price so buyers can check limits and tools in one place.

Context window
128,000 tokens
Max output
128,000 tokens
Vision (images)
No
Tool / function calling
Yes
Streaming
No
Released
N/A
Primary provider
Xai
Model family
N/A

Compare Xai Grok 4

Jump into a comparison when you want one table for two models instead of two tabs. 6 curated matches for Xai Grok 4.

Locked

Compare with

Pick a model on both sides.

Popular Xai Grok 4 comparisons

Frequently asked questions

Read these after the table if you want plain language around Xai Grok 4 rates.

Yes. Xai Grok 4 is available on Oci.

Also from Xai

Other models by Xai with live pricing in our catalog.