Grok 4.1

xAI's frontier model with native access to real-time X data.

Best for

  • Real-time information and social-signal analysis

Specifications

Developer
xAI

confidence 100%

x.ai

Verified Jul 21, 2026 · curated

Context window (tokens)
256K tokens

confidence 75%

docs.x.ai

Verified Jul 21, 2026 · curated

Input $/MTok
$3 / MTok

confidence 70%

docs.x.ai

Verified Jul 21, 2026 · curated

Output $/MTok
$15 / MTok

confidence 70%

docs.x.ai

Verified Jul 21, 2026 · curated

Modalities
text, image, code

confidence 85%

x.ai

Verified Jul 21, 2026 · curated

API available
Yes

confidence 100%

x.ai

Verified Jul 21, 2026 · curated

Open source
No

confidence 95%

x.ai

Verified Jul 21, 2026 · curated

Compare against

Side-by-side →