# xAI: Grok 4

Provider: x-ai  
Category: llm  
Model ID: `x-ai/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...

## Specs

- Context length: 256000 tokens
- Max output: unknown tokens
- Modalities: image, text, file
- Released: 2025-07-09

## Pricing

- Input: $3.00 per million tokens
- Output: $15.00 per million tokens

## Providers

- **x-ai** — ctx 256000, input $3.00/M, output $15.00/M

---
Last verified: 2026-04-23T23:46:29.618Z  
Canonical URL: https://switchy.build/models/grok-4