• xAI
  • Text
  • 500K context

Grok 4.7: capabilities and specs

Grok 4.7 is xAI's flagship model for code, agentic tasks and knowledge work: a 500K-token context window, text and image input, and adjustable reasoning depth.

Specs

  • Context
    500K
    tokens
  • Input
    text, images

What Grok 4.7 is good for

Grok 4.7 is xAI's flagship model, released on September 21, 2026. xAI calls it its strongest model for code and knowledge work and targets it at programming, agentic tasks and work with documents. Per xAI's documentation, the context window is 500K tokens, and the model accepts text and images as input and replies with text. Its knowledge runs through May 2026.

What it's good for

  • coding agents: edits across a repository, terminal work, tracking down errors;
  • multi-step agentic tasks where the model calls your functions and tools;
  • analysis of documents, screenshots and images;
  • professional tasks in law, medicine and office work.

What changed since Grok 4.6

According to xAI, Grok 4.7 is built on a larger base model and went through longer reinforcement learning plus additional training in the Grok Bot agentic environment. Speed remained at the level of Grok 4.6. In comparisons published by xAI, Grok 4.7 scores 37.6% on Terminal-Bench 4.0 versus 20.3% for Grok 4.6, 46.3% on CursorBench 4.0 versus 40.4%, and 71.0% on DeepSWE v1.1 versus 65.2%. Professional tasks improved noticeably as well: 56.7% on HealthBench Professional versus 48.5%, and 1695 points on the office-focused GDPval versus 1605.

Reasoning

Reasoning depth is set by the low, medium, high or xhigh level, with high as the default. xAI reports its top results at the xhigh level, but for everyday and high-volume tasks it's worth lowering the level: responses arrive faster and use fewer tokens. For long agentic sessions, xAI advises compacting the accumulated context so the model doesn't lose track of the task.

Place in the Grok lineup

Grok 4.7 replaced Grok 4.6 and Grok 4.5 as the flagship: all three have a 500K-token context window, but 4.7 is stronger at code and agentic tasks. For new projects it makes sense to start with Grok 4.7. Besides its text models, xAI also has the Grok Imagine image and video models. The whole lineup is on the Grok by xAI page.

Typical tasks

  • Coding agents and repository work
  • Multi-step agentic tasks with tools
  • Analysis of documents, screenshots and images
  • Legal, medical and office tasks

Similar models

FAQ

How is Grok 4.7 different from Grok 4.6?

According to xAI, Grok 4.7 is built on a larger base model and went through longer reinforcement learning. Speed stayed the same while scores went up: 37.6% on Terminal-Bench 4.0 versus 20.3%, and 46.3% on CursorBench 4.0 versus 40.4%.

What is Grok 4.7's context window?

Per xAI's documentation, 500K tokens. The model accepts text and images in JPG and PNG formats as input and replies with text. Its knowledge runs through May 2026.

Can I adjust the reasoning depth?

Yes, with the low, medium, high or xhigh level. The default is high; for simple tasks, lower the level to get faster responses.

What tasks does xAI recommend Grok 4.7 for?

xAI calls Grok 4.7 its strongest model for code and knowledge work and targets it at programming, agentic tasks and work with documents. xAI also highlights gains on legal and medical tasks.

Model catalog

llmbox models

Text, image, video and audio models with one API key. Pay as you go, no subscription.

Get a key Browse the catalog