xAI

Grok-4

xAI grok-4
Model Information
Slug grok-4
LLMs.txt View
Release Date July 9, 2025
AIME 2025 0.917
HLE 0.4
GPQA 0.875
Organization
Model Description
Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not exposed, reasoning cannot be disabled, and the reasoning effort cannot be specified. Pricing increases once the total tokens in a given request is greater than 128k tokens. See more details on the [xAI docs](https://docs.x.ai/docs/models/grok-4-0709)
Available at 24 Providers
Provider Type Model Name Original Model Input ($/1M) Output ($/1M) Free Actions
Inworld
Inworld
grok-4
grok-4 $1.25 $2.50
Routeway
Routeway
xAI: Grok 4
grok-4-07-09 $2.85 $14.25
FastRouter
FastRouter
xAI: Grok 4
x-ai/grok-4 $3.00 $15.00
Helicone
Helicone
xAI Grok 4
grok-4 $3.00 $15.00
Azure OpenAI
Azure OpenAI
Grok 4
grok-4 $3.00 $15.00
Requesty
Requesty
xai/grok-4 $3.00 $15.00
Vercel AI Gateway
Vercel AI Gateway
Grok 4
grok-4 $3.00 $15.00
Glama
Glama
grok-4-0709
grok-4-0709 $3.00 $15.00
RedPill
RedPill
xAI: Grok 4
grok-4 $3.00 $15.00
WaveSpeed AI
WaveSpeed AI
Chat Code
grok-4
x-ai/grok-4 $3.00 $15.00
Poe
Poe
Grok-4
grok-4 $3.03 $15.15
AIHubMix
AIHubMix
Chat Code
grok-4
grok-4 $3.30 $16.50
Zed
Zed
Code
Grok 4
Grok 4 $3.30 $16.50
AIMLAPI
AIMLAPI
Grok 4
x-ai/grok-4-07-09 $7.80 $39.00
Yupp
Yupp
Chat
Grok 4 (OpenRouter)
x-ai/grok-4 - -
LangDB
LangDB
grok-4
grok-4 - -
RouterLink
RouterLink
Grok 4
Grok 4 - -
ApiYI
ApiYI
Chat Code
grok-4
grok-4 - -
Airforce API
Airforce API
grok-4-thinking
grok-4-thinking - -
Writingmate
Writingmate
Chat Code
xAI: Grok 4
x-ai/grok-4 - -
ApiYI
ApiYI
Chat Code
grok-4-latest
grok-4-latest - -
NavyAI
NavyAI
Chat Code
xai
grok-4 - -
haimaker.ai
haimaker.ai
xai/grok-4 - -
Airforce API
Airforce API
grok-4
grok-4 - -