Price Per TokenPrice Per Token
Xai

Grok 4 API Pricing 2026

Compare pricing, benchmarks, and providers for Grok 4. Find the best value for your use case.

Get our weekly newsletter on pricing changes, new releases, and tools.

OpenClaw

Deploy OpenClaw in Under 1 Minute We handle hosting, scaling, and maintenance

8 Ways to Use Fewer Tokens
Last updated: April 1, 2026 at 08:39 AM

Overview

Grok 4 was released on July 9, 2025. Pricing starts at $3.00 per million input tokens and $15.00 per million output tokens. The model supports a context window of up to 256K tokens. API access is available through Xai.

Context Window
256K
tokens
Pricing
Input$3.00
Output$15.00
Cached$0.750
per 1M tokens
Speed
Output56 tok/s
TTFT8.96s
median latency
Capabilities
VisionReasoningToolsCaching

Pricing Comparison

Compare Grok 4 with 0 similar models by price.

Current Pricing (per 1M tokens)

1 models

Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$3.000
$15.000
81.9
86.6
87.7
256,000
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

Grok 4 is available from multiple providers with different pricing and availability.

No multi-provider data available for this model

This model may only be available from a single provider

Community Rankings

How does Grok 4 perform? Vote based on your experience.

Cost vs. Quality

Compare Grok 4's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Grok 4
Other models

Detailed Benchmark Scores

Intelligence
41.5 (91th pct)
Coding
40.5 (92th pct)
Math
92.7 (94th pct)
MMLU Pro
86.6 (95th pct)
GPQA
87.7 (97th pct)
LiveCodeBench
81.9 (92th pct)
AIME
94.3 (99th pct)
Aider
79.6 (88th pct)
Benchmark data from Artificial Analysis and HuggingFace Open LLM Leaderboard

Try Grok 4

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test Grok 4 directly in your browser.

Open Playground

Frequently Asked Questions

Grok 4 costs $0.003000 per 1,000 input tokens and $0.015000 per 1,000 output tokens.
Grok 4 is available from 0 provider(s). Check the comparison table offers the best price.
We compare Grok 4 with 0 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All Xai Models

See pricing for all Xai models.

View all Xai models →