Grok 4 is the latest large language model from xAI, designed for high-level reasoning, agentic behavior, and real-world task automation. It builds upon Grok 3’s architecture, but trains reasoning with 10× more compute and integrates tool use directly into its RLHF pipeline.

Input: 0–128k: $3.9; 128k+: $7.8
Output: 0–120–128k: $19.5; 128k+: $39
Accessible via AI/ML API. Sign up here.
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Benchmark | Score | What it measures | Source | Retrieved |
|---|---|---|---|---|
| Intelligence | 22.5 | Composite score across standardised reasoning, knowledge and problem-solving evaluations, measured independently by Artificial Analysis | Source | September 12, 2026 |
| Math | 92.7 | Composite score across standardised mathematics evaluations, measured independently by Artificial Analysis | Source | September 12, 2026 |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Grok 4 This page | ||||
| Reasoning + agents | ||||
| Balanced coding + agents | ||||
| Long-context, multimodal & agentic workflows | ||||
| Reasoning + agents |
Yes, Grok 4 can stream responses as they are generated.
Yes, Grok 4 supports function calling.
Grok 4 was built by xAI .
Yes, Grok 4 supports reasoning as one of its listed capabilities.