---
last_updated: 2026-11-27
source_url: https://opper.ai/xai/grok-4
title: "Grok 4 by xAI"
description: "Grok 4 by xAI is a reasoning model with vision, native tool use, and real-time web and X search across a 256k context window."
---

# Grok 4

By [xAI](https://opper.ai/xai).

Grok 4 is xAI's flagship model from its July 2025 release, bringing improved reasoning depth and tool use compared to Grok 3. It accepts both text and image input across a 256k token context window, with native integration for web search and external tool invocation, making it strong for agentic systems that need grounding in current data.

The model treats tool use as a first-class feature, letting developers build multi-step agents that invoke APIs, run code, and access external data sources. It handles complex reasoning, multimodal analysis, and tasks that need both accuracy and live context.

Grok 4 was trained with reinforcement learning at scale on xAI's Colossus cluster. It balances reasoning power with practical performance, positioning it for production agentic applications where reliability matters alongside capability.

## Key info

- Input: Text, Image, Files
- Output: Text
- Features: Tools, Structured output, PDF input
- Context window: 256K
- Max output: 16K

## Best for

How Grok 4 scores on each use case (0 to 100).

- [Multilingual](https://opper.ai/models?use=multilingual): 89.5 (Tasks across languages)

## Benchmarks

Independent benchmark scores via [Artificial Analysis](https://artificialanalysis.ai) ([view on AA](https://artificialanalysis.ai/models/grok-4)). Indices and domain scores are out of 100, Omniscience runs from −100 to 100, Briefcase is an Elo rating, and the other evaluation scores are the share of tasks solved.

- Global rank: #159 of 522 LLMs on the [LLM leaderboard](https://opper.ai/llm-leaderboard)
- Tier: Efficient
- Output speed: 85 tok/s
- Intelligence Index (previous version): 22.5

### Coding

- LiveCodeBench: 82%

### Agentic & knowledge work

- Terminal-Bench Hard: 38%
- τ²-Bench Telecom: 75%

### Science & reasoning

- Humanity's Last Exam: 27%
- GPQA Diamond: 88%
- Long-context reasoning: 68%

### Knowledge

- MMMU-Pro: 69%
- MMLU-Pro: 87%

### Math & instruction following

- AIME 2025: 93%
- IFBench: 54%

## Available routes

No routes currently available — Grok 4 isn't routed through the Opper gateway right now. It may return. Contact [hello@opper.ai](mailto:hello@opper.ai) about this model.

## Available models from xAI

- [Grok 4.7](https://opper.ai/xai/grok-4-7)
- [Grok 4.6](https://opper.ai/xai/grok-4-6)
- [Grok 4.5](https://opper.ai/xai/grok-4-5)
- [Grok 4.3](https://opper.ai/xai/grok-4-3)
- [Grok 4.20 Non-Reasoning](https://opper.ai/xai/grok-4-20-0309-non-reasoning)
- [Grok 4.20 Non-Reasoning](https://opper.ai/xai/grok-4-20-non-reasoning)
