Overview
Grok 4 is X.AI's flagship reasoning model, delivering the highest capability in the Grok series. It features advanced chain-of-thought reasoning, extended context support, and cached input pricing for cost-efficient deep reasoning tasks.
Key Features
- Advanced reasoning — Deep chain-of-thought reasoning for complex problems
- Extended context — Large context window for document analysis and long conversations
- Cached input — 75% cost reduction on cached input tokens ($0.75 vs $3.00 per 1M tokens)
- Tool use — Native function calling for agentic workflows
- OpenAI-compatible API — Drop-in replacement using chat completions format
Pricing
Input: $3.00 / 1M tokens
Output: $15.00 / 1M tokens
Reasoning: $15.00 / 1M tokens
Cached Input: $0.75 / 1M tokens
Parameters
No input schema available.