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.

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

112 out of our 301 tracked models have had a price change in February.

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

Last updated: February 15, 2026 at 08:07 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
Output39 tok/s
TTFT15.96s
median latency
Capabilities
VisionToolsCaching

Pricing Comparison

Compare Grok 4 with 10 similar models by price.

Current Pricing (per 1M tokens)

11 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
$2.500
$10.000
28.7
71.2
52.7
256,000
Try
$2.500
$10.000
128,000
Try
$2.500
$10.000
8,000
Try
$2.500
$10.000
8,000
Try
$2.500
$12.500
31.7
73.3
56.9
1,000,000
Try
$2.500
$10.000
31.7
52.1
128,000
Try
$3.000
$15.000
131,072
Try
$3.000
$15.000
200,000
Try
$3.000
$4.000
16,385
Try
$3.000
$15.000
59.0
86.0
72.7
1,000,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.

2
Providers
$3.000
Cheapest Input/M
$15.000
Cheapest Output/M
Vercel
Best Price

Provider Pricing

2 models

Provider
Input $/M
Output $/M
Uptime
V
Vercel
Best Price
$3.000
$15.000
-
xAI
xAI
Best Price
$3.000
$15.000
100.0%
Provider pricing data sourced from OpenRouter and Helicone

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.4 (92th pct)
Coding
40.5 (95th pct)
Math
92.7 (92th pct)
MMLU Pro
86.6 (94th pct)
GPQA
87.7 (97th pct)
LiveCodeBench
81.9 (90th pct)
AIME
94.3 (98th pct)
Aider
79.6 (89th 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 2 provider(s). Vercel offers the best price.
We compare Grok 4 with 10 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 →