Skip to content

xAI · Code and working with information

Grok 4.7

A model for coding and multistep tasks involving text and images.

Compare with another model Suitable combinations ↓

Costs
$2 input / $6 output per million tokens below 200 thousand input tokens; above this threshold, $4 / $12.
Speed
We have not independently measured speed on a comparable basis.
Availability
xAI API, Cursor and Grok Build
Input length
500 thousand tokens.
Inputs
Text and images → text

Data checked . Published September 21, 2026. Specifications and prices are provided by the vendor; usage recommendations come from the editorial team. We do not yet have our own comparative test of this version.

Ideal use

When to choose it

  • Code development and fixes
  • Analysis of text and image materials

Usage boundaries

When to choose another model

  • The Fast variant is not available in the public xAI API.

Traceable supporting sources

Data and measurement sources

Distinguish between the manufacturer's documentation and the results of a specific test. Measurements also depend on the settings and the task set used.

xAI

Vendor documentation

Specifications, availability, and terms

Manufacturer data verified as of the review date. Recommended use is an editorial interpretation.

Open original source ↗

Efficiency in practice

With what Grok 4.7 combine

Next step

Compare the model using your actual task.

A benchmark narrows the selection. A short trial on your data determines the choice.

Open comparison →