All models
xAI

Grok 4

xAI's July 2025 flagship, a reasoning model that always thinks before it answers. Strong at math, science and analysis, with lighter content filters than most mainstream models. Slower than plain chat models. Grok 4.7 is the current Grok, at a higher price.

OpenOpen-weight models with lighter filters. Discuss more, refuse less.
Smart & Cheap
Intelligence
~3.09 credits ($0.031)
Estimated price per message
10,00,000 tokens
Context window
Text, Images
Input modalities

Grok 4 is a legacy model. Open Grok 4.7 to start a new chat.

See Grok 4.7

The facts

Made by
xAI
Content tier
OpenOpen-weight models with lighter filters. Discuss more, refuse less.
Intelligence
Smart & Cheap
Known for
Code, Analysis
Estimated price per message
~3.09 credits ($0.031)Reference message with 16,000 input tokens and 1,500 output tokens. Rates shown for OpenRouter.
Price per 1M tokens
$1.63 input, $3.25 output162.5 / 325 credits
Conditional prices per 1M tokens
From 2,00,000 input tokens: input $3.25, output $6.50, cache read $0.52.
Cached input per 1M tokens
$0.2626 credits
Context window
10,00,000 tokens≈ 1,538 pages of text in one go
Input modalities
Text, Images
Output modalities
Text
Tool use
Yes: search, memory, code and more
Served via
OpenRouter
API model id
Not on the API anymore. Use grok-4.7.
Status
Legacy

Charges depend on usage and provider. Currency estimates use the one-time credit pack rate of $0.01 per credit.

What Grok 4 is best for

Use it for

  • Writing, reviewing and fixing code
  • Research and analysis of long material
  • Reading screenshots, photos and scans
  • Whole books or codebases in one prompt
  • Agent work with tools: search, memory, code

Skip it for

  • New projects: Grok 4.7 replaces it

Grok 4 vs the closest alternatives

Price, context and tier side by side. Open a head-to-head for the full breakdown.

ModelContent tierIntelligenceContext windowPrice per messageHead-to-head
Grok 4OpenSmart & Cheap1M~3.09 credits per messageThis page
Grok 4.7OpenBrilliant500K~5.33 credits per messageGrok 4 vs Grok 4.7

Grok 4: questions and answers

How much does Grok 4 cost?

About 3.09 credits ($0.031) for a reference message via OpenRouter. Per million tokens, $1.63 for input and $3.25 for text output. Cached input costs $0.26 per million tokens. From 2,00,000 input tokens: input $3.25, output $6.50, cache read $0.52. Reference message with 16,000 input tokens and 1,500 output tokens.

Is Grok 4 uncensored?

Grok 4 is in the Open tier. Its responses can still be filtered.

Can I use Grok 4 via API?

Grok 4 is a legacy model and no longer listed on the API. Use Grok 4.7 (grok-4.7) instead. The API needs a paid account: any plan.

How big is the context window of Grok 4?

10,00,000 tokens. That is about 1,538 pages of text in one go.

What inputs and outputs does Grok 4 support?

Input: Text, Images. Output: Text. It supports tool calling.

Who serves Grok 4 on this platform?

Available providers include OpenRouter.

What is Grok 4 good for?

Use it for: Writing, reviewing and fixing code; Research and analysis of long material; Reading screenshots, photos and scans; Whole books or codebases in one prompt; Agent work with tools: search, memory, code.

Is there a cheaper alternative to Grok 4?

MiMo V2.6 Pro: same tier, the same or a higher intelligence level, and about 1.08 credits per reference message instead of 3.09.

Grok 4 or Grok 4.7: which one should I pick?

Grok 4 costs about 3.09 credits per reference message, has a 1M token context window and sits in the Open tier. Grok 4.7 costs about 5.33 credits, has 500K tokens of context and sits in the Open tier. Both run in the same chat, so you can switch mid conversation and judge the answers yourself.

How can I try Grok 4?

Grok 4 is a legacy model. New chats use Grok 4.7, which you can try with free starter credits, no card needed.

What changed

No changes to Grok 4 since tracking started on Jul 13, 2026.

Try Grok 4.7 now.

Free credits to start, no card needed. The chat opens with Grok 4.7 selected and a prompt ready. Just send.