Grok 4.7
xai The API that serves this model and sets the prices shown here. grok-4.7 The model identifier to send in API requests. LLM Generates text from a prompt, so it can be compared with other LLMs on price and capability.Provider:
Knowledge cutoff: May 2026
Nothing to act on today. The cost is the checking: someone has to remember to look again next month, and the month after. Coolhand watches this model for you and automatically updates your agents to the most compatible replacement the moment a retirement is announced — one less thing on your list, permanently.
Sticker prices & cost-per-token
List rates as published by xAI, before any volume or enterprise discounts.
$2.00
$6.00
500,000 tokens
500,000
tokens per response (includes reasoning tokens)
Get this data free
Want to stay updated on price changes on this model? Pull this data free (no API key required) here:
curl "https://coolhandlabs.com/api/v2/inference_apis?q%5Bmodel_eq%5D=grok-4.7&q%5Bsource_api_eq%5D=xai"
Pricing History
| Effective | Price |
|---|---|
| Sep 28, 2026 – present | Input cost: $2.00 / 1M, Output cost: $6.00 / 1M, Cached input cost: $0.00 / 1M, Cache creation cost: $0.00 / 1M, 5-minute cache write cost: $0.00 / 1M, 1-hour cache write cost: $0.00 / 1M, Reasoning output cost: $0.00 / 1M, Cache storage cost: $0.00 / 1M/hr |
History
Last change detected September 28, 2026 (27 days ago) by an automated scan.
| Date | Changed by | What changed |
|---|---|---|
| Sep 28, 2026 | Automated scan | Initial record created |
Source
https://docs.x.ai/docs/modelsComparable models
| Grok 4.7 This model | Grok 4.6 cheaper alternative | |
|---|---|---|
| Provider | xAI | |
| Input modalities | Image, Text | Image, PDF, Text |
| Output modalities | Text | Text |
| Input cost | $2.00/1M $0.0000020000 | $2.00/1M $0.0000020000 |
| Output cost | $6.00/1M $0.0000060000 | $6.00/1M $0.0000060000 |
| Knowledge cutoff | May 2026 | February 2026 |
| Context window | 500,000 tokens | 500,000 tokens |
| Max output tokens | 500,000 | 500,000 |
| Capabilities |
Tool calling
Structured output
Reasoning
Vision
|
Tool calling
Structured output
Reasoning
Vision
|
| Status | Active | Active |
Reliability
No reliability incidents recorded in the last 90 days.
Frequently asked questions
Grok 4.7 (xAI) costs $2.00 per 1M input tokens and $6.00 per 1M output tokens, as last published by xAI.
Grok 4.7 has a context window of 500,000 tokens (the maximum combined input and output it can handle in a single request).
Grok 4.7 can generate up to 500,000 tokens in a single response. Reasoning (thinking) tokens count toward this limit.
Grok 4.7's training data runs through May 2026, so it may not know about later events. Coolhand records the cutoff at month precision, since providers often publish only the month.
Grok 4.7 accepts image and text as input and produces text as output, as recorded in the Coolhand catalog.
No, Grok 4.7 is currently active with no announced deprecation date.
Comparable options from include the lower-cost Grok 4.6.
Grok 4.6 is from the same provider () and a comparable pricing tier, but we haven't verified parameter compatibility — compare context windows where listed and check 's migration guide before switching. Recorded capabilities: Grok 4.7 supports tool calling, structured output, reasoning, and vision; Grok 4.6 supports tool calling, structured output, reasoning, and vision. A capability we haven't recorded isn't necessarily unsupported.
Call GET https://coolhandlabs.com/api/v2/inference_apis?q[source_api_eq]=xai&q[model_eq]=grok-4.7 — free, no API key required, and scoped to just this model since source_api and model together are unique. See https://coolhandlabs.com/docs for the full REST API reference.
Track LLM pricing and deprecations automatically.
Start free