Skip to main content
🧠 ReasoningMid-Range

Grok 4

by xAI

Most advanced reasoning model from xAI with exceptional problem-solving

Try xAI

Input Price

$3

per 1M tokens

Output Price

$15

per 1M tokens

Context Window

256K

tokens (131.072K max output)

Specifications

Release Date2025-07-09
Category🧠 Reasoning
Context Window256,000 tokens
Max Output131,072 tokens
ProviderxAI
Input Cost$3 / 1M tokens
Output Cost$15 / 1M tokens
Price TierMid-Range

Capabilities

textvisionreasoningcode

Related Use Cases

Monthly Cost Estimates

Usage LevelDaily TokensDailyMonthlyYearly
Light~50 requests/day100K in / 20K out$0.60$18.00$219
Medium~200 requests/day500K in / 100K out$3.00$90.00$1095
Heavy~1K requests/day2,000K in / 500K out$13.50$405.00$4928
Enterprise~5K requests/day10,000K in / 2,000K out$60.00$1800.00$21900

Cost Calculator

Alternatives to Grok 4

Frequently Asked Questions

How much does Grok 4 API cost per million tokens?
Grok 4 costs $3 per million input tokens and $15 per million output tokens as of 2026. These are the standard API rates from xAI.
What is the Grok 4 context window?
Grok 4 supports a 256K context window (256,000 tokens), which means you can process up to 256K tokens in a single API call.
How much does Grok 4 cost per month?
At medium usage (~200 requests/day with 500K input and 100K output tokens/day), Grok 4 costs approximately $90.00/month. Light usage runs about $18.00/month, and heavy usage (~1K requests/day) around $405.00/month.
Is there a cheaper alternative to Grok 4?
Yes — GPT-5.4 by OpenAI is a cheaper option at $2.5/M input tokens vs $3/M for Grok 4. Other budget alternatives include models in the efficient tier.
Is Grok 4 good for ai agent / agentic workflows?
Grok 4 is a reasoning model with support for text, vision, reasoning. For ai agent / agentic workflows, it offers 256K context and costs $3/M input tokens — a mid-range option for this use case.

Grok 4 Comparisons

Ready to use Grok 4?

Get started with xAI's API — free tier available for most models.

Try xAI API →