← All models

Grok 4.7

Language Available Full comparison ↗

xai/grok-4.7 · by xAI · decoder-only-transformer

Pricing — 1 offering(s)

xAI

Input tokens

  • $2.00 / 1M tokens (input) Current 2026-09-21 → present
    Standard-variant rate, confirmed via the launch announcement's own body text (raw HTML, not an AI-summarized…

    Standard-variant rate, confirmed via the launch announcement's own body text (raw HTML, not an AI-summarized fetch). Same convention as grok-4-6-xai: xAI also serves a "fast" variant at 2x price ($4/1M) with 2x the output speed, noted here rather than tracked as a separate tier.

Output tokens

  • $6.00 / 1M tokens (output) Current 2026-09-21 → present
    Standard-variant rate (see input tier's note for the fast-variant caveat: $12/1M at 2x output speed, not…

    Standard-variant rate (see input tier's note for the fast-variant caveat: $12/1M at 2x output speed, not tracked as a separate tier).

Cached input tokens

  • $0.50 / 1M tokens (cached input) Current 2026-09-21 → present

Input tokens (prompts >= 200k)

  • $4.00 / 1M tokens (input) Current 2026-09-21 → present

Output tokens (prompts >= 200k)

  • $12.00 / 1M tokens (output) Current 2026-09-21 → present

Cached input tokens (prompts >= 200k)

  • $1.00 / 1M tokens (cached input) Current 2026-09-21 → present

Input tokens (US regional endpoint)

  • $2.20 / 1M tokens (input) Current 2026-09-21 → present

Output tokens (US regional endpoint)

  • $6.60 / 1M tokens (output) Current 2026-09-21 → present

Showing the active price and any recorded history. Full pricing history is available via the paid API — see API docs.

See how Grok 4.7 fits into a cost-aware routing setup

See how →

Capability profile

How Grok 4.7 rates across core capability dimensions, with the task-level evidence behind each rating.

reasoning Strong

"Works longer on difficult tasks, checks its own work more carefully" per xAI's own launch framing — explicit emphasis on self-verification over raw speed, continuing Grok 4.6's agentic-reasoning focus.

coding Strong

Terminal-Bench 2.1 (89 real terminal tasks; Terminus 2 harness): completes 73.4% — fails roughly 1 task in 4. Terminal-Bench 4.0 (66 long-horizon multi-domain tasks; mini-swe-agent): 28.8%. Independent (Vals AI, xhigh reasoning effort). xAI's own figures, vendor-reported (x.ai/news/grok-4-7): Terminal-Bench 4.0 38.0% (vs Grok 4.6's 20.3%), which matches its lab-submitted tbench.ai row (37.6%, run on xAI's own Grok Build agent, not a shared harness); CursorBench 4.0 46.3% (vs Grok 4.6's 40.4%); DeepSWE v1.1 (high effort) 71.0%. No SWE-bench Verified/Pro score published.

tool use Strong

Native Grok Bot integration and "improved work verification" per the launch page. Terminal-Bench 4.0 (agentic terminal-task completion): 28.8% on Vals AI's independent single-harness run; xAI's own 38.0% (vs Grok 4.6's 20.3%, same version) is vendor-reported on its own agent. See the coding note.

instruction following Strong
context window Strong

500K tokens reported — see architecture note above on verification confidence.

multilingual Moderate
speed Moderate

Standard variant. A "fast" variant exists at 2x price with 2x output speed (per xAI's own launch copy, same as grok-4-6) — not separately rated here, see the registry pricing entry's notes.

cost efficiency Strong

Same $2/$6 per-1M pricing as Grok 4.6 despite a larger base model and higher benchmark scores across the board — no price increase for the generational jump.

Benchmark Score Harness Source
terminal-bench-2-1 73.4% 2026-09 terminus-2 📊 leaderboard ↗
terminal-bench-4-0 28.8% 2026-09 mini-swe-agent 📊 leaderboard ↗

Operator guidance

xAI's own recommendation: "the most capable model we've built" for code, chat, and general purposes. On Artificial Analysis's GDPval-AA v2.1 knowledge-work leaderboard it scores 1,712 Elo (xhigh), above GPT-5.6 Sol (1,609, max) and Kimi K3 (1,533, max) on the same v2.1 scale (checked 2026-10-10). A reasonable default when routing for sustained, multi-hour agentic work where 4.6's lower price isn't the deciding factor.

Use cases

Limitations

Citations