xAIProprietaryReasoningCoding

Grok

xAI’s Grok 4.7 — frontier coding and long-running agentic model (API id grok-4.7) with 500K context, vision, and strong tool use. Available via the xAI API, Grok Build, Cursor, GitHub Copilot, and partners such as OpenRouter.

Vision · Tool calling · Thinking · Coding

Last reviewed: 20 October 2026

Official pricing →

Overview

xAI’s Grok 4.7 — frontier coding and long-running agentic model (API id grok-4.7) with 500K context, vision, and strong tool use. Available via the xAI API, Grok Build, Cursor, GitHub Copilot, and partners such as OpenRouter.

Capabilities

  • Vision: Yes
  • Audio input: No
  • Tool calling: Yes
  • Thinking: Yes
  • MCP: No
  • Coding: Yes
  • Structured output: Yes

Technical specifications

Provider
xAI
License
Proprietary (select older open releases exist separately)
Context window
500K
Architecture
Transformer (proprietary)
Release
2026-09
Modalities
Text, Image
Vision
Yes
Audio input
No
Tool calling
Yes
Thinking
Yes
MCP
No
Open weights
No
API
Yes
Pricing (input)
~$2 per 1M tokens; fast variant 2×
Pricing (output)
~$6 per 1M tokens; fast variant 2×

Supported modalities

Text · Image

Context window

500K (500,000 tokens)

Pricing

Input: ~$2 per 1M tokens; fast variant 2×
Output: ~$6 per 1M tokens; fast variant 2×

Official Grok 4.7 post and docs.x.ai list $2/$6 starting rates (same as 4.6), cached input $0.50/M, and a 2×-price fast variant. Rates double above 200K prompt tokens ($4/$12; cached $1.00). Verify docs.x.ai for live tiers.

Availability

API: Yes
Chat UI: Yes
Open weights: No

API model grok-4.7 (docs knowledge cutoff May 2026); also in Cursor, Grok Build, and GitHub Copilot (Pro through Enterprise; Business/Enterprise via model policy). Grok 4.6 remains available. Grok Build added cross-session memory on 2026-09-16 (/memory, /dream). Grok Voice Transcribe 2.0 (2026-09-18) is a separate speech-to-text API at $0.10/hr batch and $0.20/hr streaming—not Grok 4.7 audio. Grok Voice 3.0 (grok-voice-3.0, 2026-10-14) is a separate speech-to-speech model at $0.08/min ($4.80/hr), the same price as Grok Voice 2.0. grok-voice-latest now points at 3.0. grok-voice-2.0 is deprecated; the speech-to-speech API shape is unchanged. GitHub Copilot deprecated Grok 4.5 on 2026-10-19; the suggested Copilot alternative is Grok 4.7.

Use cases

  • Long-running agentic coding and knowledge work
  • Interactive / visual application first passes
  • Tool-heavy software engineering agents
  • Vision + text workflows via xAI API

Strengths

  • Tuned for longer-running agents and self-verification vs Grok 4.6
  • 500K context for large codebases and sessions
  • Same headline $2/$6 API price as 4.6; Cursor and Copilot distribution

Limitations

  • Closed weights
  • Ecosystem smaller than OpenAI/Anthropic
  • Long-prompt tier doubles token rates above 200K

Related guides

Related benchmarks

Related research

Related GitHub

Related tools

Related rankings

Related comparisons

Companies

Explore more models

All models →