Back to Directory

xAI: Grok 4

X-AI Developer Architecture Profile

Intelligence (ELO)1320Chatbot Arena Verified
Max Context256,000Tokens
API Cost / 1M$18.00Blended Prompt + Completion

Model Capabilities

  • Reasoning
  • Coding & Logic
  • Fictional
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 exposed, reasoning cannot be disabled, and the reasoning effort cannot be specified. Pricing increases once the total tokens in a given request is greater than 128k tokens. See more details on the [xAI docs](https://docs.x.ai/docs/models/grok-4-0709)

Granular Pricing Matrix

Input Tokens (Prompt)$3.00 / 1M
Output Tokens (Completion)$15.00 / 1M

Pricing data via OpenRouter. Sync: 3/16/2026

Evaluate Competitors