Grok 4.7

grok-4.7 · Grok

Grok 4.7 is xAI’s flagship model for coding, agentic tasks, and professional knowledge work. Compared with Grok 4.6, it uses a larger base model and longer reinforcement-learning training, improving long-horizon task execution, self-verification, context management, and document and presentation creation.

API Pricing

Input$2 / 1M tokens
Output$6 / 1M tokens
Cache read$0.5 / 1M tokens

Specifications

Context500K tokens
Modalitiestext, image
CapabilitiesThinking, Streaming, Tool calling, Web search, Code interpreter, Document input, Structured outputs, Prompt caching, Server-side sessions

Frequently asked questions

What is Grok 4.7?

Grok 4.7 is xAI’s flagship model for coding, agentic tasks, and professional knowledge work. Compared with Grok 4.6, it uses a larger base model and longer reinforcement-learning training, improving long-horizon task execution, self-verification, context management, and document and presentation creation.

What is the context length of Grok 4.7?

Grok 4.7 has a 500,000 token context window.

How much does Grok 4.7 cost?

On AIHubMix, Grok 4.7 costs $2 per million input tokens and $6 per million output tokens. Cached input reads are billed at $0.5 per million tokens.

What modalities does Grok 4.7 support?

Grok 4.7 accepts text and image input.

How do I call Grok 4.7 via API?

Grok 4.7 is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to grok-4.7 — no other code changes needed.

Who created Grok 4.7?

Grok 4.7 is developed by Grok. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

When was Grok 4.7 released?

Grok 4.7 was released on September 22, 2026 by Grok.

More models from Grok

See all Grok models →

Grok 4.6

by Grok

Grok 4.6 is xAI’s (SpaceXAI) flagship multimodal reasoning model for coding, long-running…

$2/1M in · $6/1M out
500,000 tokens context

Grok 4.5

by Grok

Grok 4.5 was trained on datasets spanning knowledge in coding, science, engineering, and…

$2/1M in · $6/1M out
500,000 tokens context

Grok Build 0.1

by Grok

Fast coding model trained specifically for agentic coding workflows.

$1/1M in · $2/1M out
256,000 tokens context

Grok 4.3

by Grok

Grok 4.3 is amongst the leading models in intelligence and well priced when comparing to…

$1.25/1M in · $2.5/1M out
1,000,000 tokens context

grok-4-20-non-reasoning

by Grok

Grok 4.2 is xAI’s latest large language model, built for strong reasoning, multimodal…

$2/1M in · $6/1M out
1,000,000 tokens context

Grok 4 20 (reasoning)

by Grok

Grok 4.2 is xAI’s latest large language model, built for strong reasoning, multimodal…

$2/1M in · $6/1M out
1,000,000 tokens context

Use Grok 4.7 via the AIHubMix unified API — one interface for every major LLM.