Model Cost Profile

xAI: Grok 4

Developer: x-ai

Pricing updated Mar 11, 2026

Input rank: #312Output rank: #318

Live Pricing

Input: $3.00

Output: $15.00

Pricing via OpenRouter API ยท Last synced Mar 11, 2026

xAI: Grok 4, developed by x-ai, offers an extensive context window of 256,000 tokens, making it suitable for complex applications such as document summarization and conversational AI. Teams utilizing this API model can expect an input cost of $3.00 per million tokens and an output cost of $15.00 per million tokens, which can impact budget considerations based on usage patterns. The model's large context size enables more nuanced interactions, allowing businesses to handle larger datasets and improve user engagement.

๐Ÿ‘ Vision๐Ÿ”ง Tool Calling๐Ÿ“‹ Structured Output๐Ÿง  Reasoning

Context Window

256,000

Tokens

Input Price / 1M

$3.00

Prompt tokens

Output Price / 1M

$15.00

Completion tokens

Intelligence (MMLU)

Benchmark Pending

Massive Multitask Language Understanding

Price History

xAI: Grok 4 Pricing Trend

Input / 1M tokens0.0%Output / 1M tokens0.0%
Mar 7 โ€” Mar 11
$3.00$9.00$15.00Mar 7Mar 8Mar 9Mar 10Mar 11

Current Input / 1M

$3.00

Current Output / 1M

$15.00

Cheaper Alternatives to Compare

Quick links for cost-down decisions before production rollout.

FAQ

Common pricing and benchmark questions for xAI: Grok 4.

How much does xAI: Grok 4 cost per 1M input tokens?

xAI: Grok 4 input pricing is $3.00 per 1M tokens based on the latest synced provider data.

How much does xAI: Grok 4 cost per 1M output tokens?

xAI: Grok 4 output pricing is $15.00 per 1M tokens based on the latest synced provider data.

What context window does xAI: Grok 4 support?

xAI: Grok 4 supports a context window of 256,000 tokens.

How can I compare xAI: Grok 4 with cheaper alternatives?

Use the comparison links on this page to open direct model-vs-model pricing and benchmark pages, then evaluate monthly spend projections for your workload.