Grok 4

Latest Grok 4 with vision and tool support.

grok-4
STABLE
256,000 context
Starting at $3.00/M input tokens
Starting at $15.00/M output tokens
Streaming
Vision
Tools
JSON Output

Providers for Grok 4

LLM Gateway routes requests to the best providers that are able to handle your prompt size and parameters.

xAI

xai/grok-4
Context Size
256k
Stability
STABLE
Pricing
Input
$3.00
/M
Cached
Output
$15.00
/M
Capabilities
Streaming
Vision
Tools
JSON Output
Try in Playground
    Grok 4 – AI Model on LLM Gateway