x-ai

xAI: Grok 4

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

Input Cost
$3.00
per 1M tokens
Output Cost
$15.00
per 1M tokens
Context Window
256,000
tokens
Compare vs GPT-4o
Developer ID: x-ai/grok-4

Related Models

x-ai
$0.20/1M

xAI: Grok 4.1 Fast

Grok 4.1 Fast is xAI's best agentic tool calling model that shines in real-world use cases...

📝 2,000,000 ctx Compare →
x-ai
$0.20/1M

xAI: Grok Code Fast 1

Grok Code Fast 1 is a speedy and economical reasoning model that excels at agentic coding....

📝 256,000 ctx Compare →
x-ai
$2.00/1M

xAI: Grok 4.20 Multi-Agent

Grok 4.20 Multi-Agent is a variant of xAI’s Grok 4.20 designed for collaborative, agent-...

📝 2,000,000 ctx Compare →