Grok 4.7 is a closed-source AI model from xAI, the company Elon Musk founded and now markets under the SpaceXAI name. The company positions it as its most capable model for programming and knowledge work, and the release notes lean hard on that framing rather than on chat or multimodal demos. Its job is to finish hard tasks that take hours. Not to trade jokes for ten minutes.
The biggest change under the hood is a new, larger base model. Where Grok 4.6 leaned on supplemental training and better agentic reinforcement learning, Grok 4.7 restarts from a bigger foundation and trains for longer on harder problems. A large share of that training targets tasks that take hours to complete, which is where the model spends most of its gains. It's a rebuild, not a patch. It also learned the Grok Bot runtime natively, so it fits long-running agent workflows instead of treating that layer as an afterthought.
Here's the honest limit. Independent testers at Artificial Analysis scored it 46 on their Intelligence Index, which lands mid-pack next to models like Claude Fable 5.1 and GPT-6 at 53. Its wins cluster in software engineering, electrical engineering, and legal analysis; its weakest public result is multi-hour terminal work, where it trails Fable 5.1 by a wide margin. So it's a specialist. Good at cost. Not a clear front-runner across the board.
Getting Started
- Create an account at console.x.ai and open the API Keys page.
- Generate a key and store it somewhere safe, since it's shown only once at creation.
- Point your client at the base URL https://api.x.ai/v1 and call the model ID grok-4.7. Existing OpenAI SDK code works with that base URL, and there's a xai_sdk for Python and TypeScript.
- Pick a reasoning effort level. It defaults to high, and you can drop to low or medium for speed or push to xhigh for the hardest problems. You can't turn reasoning off.
- Send your first request. If you'd rather skip the code, try the same model inside Cursor or Grok Build.