xAI

Grok-4

xAI grok-4
Model Information
Slug grok-4
LLM.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 32 Providers
Provider Type Model Name Original Model Input ($/1M) Output ($/1M) Free Actions
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
xAI
xAI
Grok 4
grok-4 $3.00 $15.00
Azure OpenAI
Azure OpenAI
Grok 4
grok-4 $3.00 $15.00
Azure AI Services
Azure AI Services
Grok 4
grok-4 $3.00 $15.00
OpenRouter
OpenRouter
Chat Code
Grok 4
x-ai/grok-4 $3.00 $15.00
Poe
Poe
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
ZenMUX
ZenMUX
xAI: Grok 4
x-ai/grok-4 $3.00 $15.00
Mammouth AI
Mammouth AI
Chat
grok-4
grok-4 $3.00 $15.00
Glama
Glama
grok-4-0709
grok-4-0709 $3.00 $15.00
Kilo Code
Kilo Code
Code
xAI: Grok 4
x-ai/grok-4 $3.00 $15.00
RedPill
RedPill
xAI: Grok 4
grok-4 $3.00 $15.00
AIHubMix
AIHubMix
grok-4
grok-4 $3.30 $16.50
Zed
Zed
Code
Grok 4
Grok 4 $3.30 $16.50
WaveSpeed AI
WaveSpeed AI
Chat Code
grok-4
x-ai/grok-4 $3.30 $16.50
AIMLAPI
AIMLAPI
Grok 4
x-ai/grok-4-07-09 $7.80 $39.00
Nano-GPT
Nano-GPT
Grok 4
x-ai/grok-4-07-09 - -
Replicate
Replicate
grok-4
xai/grok-4 - -
ValorGPT
ValorGPT
Grok 4
x-ai-grok-4 - -
Yupp
Yupp
Chat
Grok 4 (OpenRouter)
x-ai/grok-4 - -
LangDB
LangDB
grok-4
grok-4 - -
JetBrains AI
JetBrains AI
Code
Grok-4
Grok-4 - -
RouterLink
RouterLink
Grok 4
Grok 4 - -
Blackbox AI
Blackbox AI
Code
blackboxai/x-ai/grok-4
blackboxai/x-ai/grok-4 - -
ApiYI
ApiYI
Chat Code
grok-4
grok-4 - -
Airforce API
Airforce API
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 - -
LLM Stats
LLM Stats
Chat
Grok-4
grok-4 - -