All Models

Grok 4

grok Reasoning Tool Calling Attachments Structured Output

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...

Providers 12
Released Jul 9, 2025
Input Modalities text, image
Output Modalities text
Tarsk Use coding

Available Providers (12)

Provider Model ID Input Cost Output Cost Context Max Output Docs
NanoGPT x-ai/grok-4-07-09 $3.00/MTok $15.00/MTok 256K 131.1K
Abacus grok-4-0709 $3.00/MTok $15.00/MTok 256K 16.4K
OpenRouter x-ai/grok-4 $3.00/MTok $15.00/MTok 256K 64K
ZenMux x-ai/grok-4 $3.00/MTok $15.00/MTok 256K 64K
Poe xai/grok-4 $3.00/MTok $15.00/MTok 256K 128K
Azure Cognitive Services grok-4 $3.00/MTok $15.00/MTok 256K 64K
xAI grok-4 $3.00/MTok $15.00/MTok 256K 64K
Requesty xai/grok-4 $3.00/MTok $15.00/MTok 256K 64K
Vercel AI Gateway xai/grok-4 $3.00/MTok $15.00/MTok 256K 64K
LLM Gateway grok-4 $3.00/MTok $15.00/MTok 256K 256K
Azure grok-4 $3.00/MTok $15.00/MTok 256K 64K
FastRouter x-ai/grok-4 $3.00/MTok $15.00/MTok 256K 64K

Capabilities

Reasoning
Tool Calling
Attachments
Open Weights
Structured Output