ModelFit
xAIVerified 2026-12-02No recorded price changetext + image + file input6/6core0/3policy

Grok 4.7

Grok 4.7 is a xAI model with a 500K-token context window and a 450K-token output limit. It costs $2 per 1M input tokens and $6 per 1M output tokens, and accepts text + image + file input. xAI's flagship for coding, agentic tasks and knowledge work, with self-verification behaviour. Prices and limits were checked on 2026-12-02 against the source linked on this page.

Pro

Input / 1M tokens

$2

Output / 1M tokens

$6

Context window

500K

Value Score

7/100

Context per input dollar, not quality

Cost examples

Arithmetic from this record's unit prices. Treat the results as estimates, not quotes.

WorkloadAssumptionCost
1M input tokensOne million tokens sent to the model$2
1M output tokensOne million tokens generated by the model$6
Summarise a 100K-token document100K input + 2K output tokens per document$0.212
1,000 short support replies2K input + 500 output tokens per reply$7

Where it fits

  • Long-running software engineering
  • 500K context and 450K maximum output
  • Text, image and file input

When to avoid it

  • $2 input / $6 output per 1M tokens
  • Context is half of the 1M-token class

Alternatives at a similar input price

Closest input price first, spread across vendors. Check context and modalities before switching.

ModelInput / 1MContextInput
GPT-6.2 Sol$21.05Mfile + image + text
Claude Sonnet 5.5$21Mtext + image + file
Gemini 4 Hydrogen$1.51.05Maudio + file + image + text + video
Mistral Medium 3.5$1.5262Ktext + image + file

Questions about Grok 4.7

+How much does Grok 4.7 cost per 1M tokens?

$2 for input and $6 for output. Cached input is $0.5 per 1M tokens. Prices were verified on 2026-12-02 and can change without notice.

+How large is the Grok 4.7 context window?

500,000 tokens, or roughly 769 pages at an estimated 650 tokens per page. The page count is an estimate, not a guarantee: PDFs, tables and code tokenise differently.

+Does Grok 4.7 accept images or PDFs?

Yes. It accepts text + image + file input. Scanned pages still need OCR before the model can read their text unless the provider processes the file itself.

+What is the maximum output for Grok 4.7?

450,000 tokens per request. Longer reports need to be split into several requests, which also multiplies the output cost.

+When should I avoid Grok 4.7?

$2 input / $6 output per 1M tokens Context is half of the 1M-token class If those limits match your workload, choose a model with a different price or context profile instead.

+What is a cheaper alternative to Grok 4.7?

Gemini 4 Hydrogen from Google costs $1.5 per 1M input tokens, compared with $2 here. Check its context limit and modalities before switching.