changelogs.info
OpenClaw Claude Code Codex Gemini Kilo Code Hermes Models Dispatches
// model_detail
legacy frontier

Grok 4

by xAI

Previous-generation Grok flagship. 256K context. Superseded by Grok 4.20.

Context window 256K 256K tokens
Max output 32K 32K tokens
Pricing /1M tok $3.00 in / $15.00 out per 1M tokens (API)
Released Jul 1, 2025
// specifications

Specs & capabilities

API details

API model ID
grok-4
Internal ID
grok-4
Status
legacy
Type
frontier

Capabilities

Vision
👁️ Yes
Function calling
🔧 Yes

Pricing

Input
$3.00 / 1M tokens
Output
$15.00 / 1M tokens
Source
First-party API pricing

Lifecycle

Predecessor
Grok 3
Successor
Grok 4.20
// data_confidence

Data notes

⚠️ Knowledge cutoff not listed
// notes

Additional notes

Previous flagship, 87.7% GPQA

// more_from_xai

More xAI models

// external_links

Links