All models

xAI

Grok 4.7 balanced

xai/grok-4-7

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and...

Input / 1M

$2.00

USD per million tokens

Output / 1M

$6.00

USD per million tokens

Est. cost / token

$0.000003

$3.00 per 1M, 3:1 mix

Context window

500K

max output 500K

Major features

VisionBatchCachingReasoningJSON schemaToolsWeb search

Task suitability (heuristic 1–5, not a benchmark)

  • coding4
  • reasoning4
  • math4
  • summarization4
  • extraction4
  • classification4
  • chat4
  • creative4
  • translation4
  • vision4
  • long context4
  • agentic4

Price history

RecordedInputOutputCachedSource
2026-11-05 03:20$2.00$6.00$0.50litellm+openrouter

A row is added whenever a sync detects a price change. Vendor pricing source

Pricing (USD per 1M tokens)

Input
$2.00
Output
$6.00
Cached input
$0.50
Batch input
$1.60
Batch output
$4.80
Blended (3:1)
$3.00

Details

Company
xAI
Version
4.7
Family
Grok
Released
2026-09-21
Parameters
Undisclosed
Max output
500K
Open weights
No
Inputs
file, image, text
Last synced
27 min ago