Try Grok 4.7
Generate with Grok 4.7 right here. Verify your email to start with free credits.
Specifications
Context window
500K tokens
Max output
450K tokens
Input price
$3.00 / 1M tokens
Output price
$9.00 / 1M tokens
Cached input
$0.75 / 1M tokens
Benchmarks
How Grok 4.7 scores on public benchmarks. Each card links to the benchmark explainer and to the original source.
Compare against every model in the full benchmark matrix.
Capabilities
Reasoning
Works through multi-step problems before answering, for harder tasks.
Vision input
Accepts images alongside text, so you can prompt with pictures and screenshots.
Tool use
Can call functions and tools, enabling agentic and structured workflows.
Structured output
Returns validated JSON that conforms to a schema you define.
Use Grok 4.7 through the API
The model id is x-ai/grok-4.7. Requests bill your GenMagic balance at the price above, and each response reports what it cost.
curl https://genmagic.co/api/v1/chat/completions \
-H "Authorization: Bearer $GENMAGIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "x-ai/grok-4.7",
"messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
}'from openai import OpenAI
client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")
resp = client.chat.completions.create(
model="x-ai/grok-4.7",
messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)From an AI agent, call generate_text with "model": "x-ai/grok-4.7" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.
Use Grok 4.7 in n8n
- In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
- Set Resource to Text and Operation to Generate.
- In Model Name or ID, pick SpaceXAI: Grok 4.7, or enter
x-ai/grok-4.7as an expression. - Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.
Ready-to-import workflows that already use the node are on GenMagic for n8n.
Similar-priced text models from other providers
Other text models GenMagic runs at a comparable price, on the same balance and API key.
| Model | Provider | Price | Context |
|---|---|---|---|
| SpaceXAI: Grok 4.7 (this model) | xAI | $3.00 in / $9.00 out per 1M tokens | 500K |
| Sakana: Fugu Max | Sakana AI | $3.00 in / $9.00 out per 1M tokens | 1M |
| Qwen: Qwen3.8 Max (0902) | Qwen | $3.00 in / $9.00 out per 1M tokens | 1M |
| DeepSeek: DeepSeek Pro Latest | DeepSeek | $0.14 in / $12.00 out per 1M tokens | 1M |
| AionLabs: Aion 3.5 | AionLabs | $4.50 in / $9.00 out per 1M tokens | 262K |
| Mistral: Mistral Medium 3.5 | Mistral AI | $2.25 in / $11.25 out per 1M tokens | 262K |
Compare Grok 4.7
More from xAI
All 12 xAI modelsSpaceXAI: Grok Imagine Video 1.5 Lite
VideoGrok Imagine Video 1.5 Lite is a faster, lower-cost video generation model from SpaceXAI, distilled from Grok Imagine Video 1.5. It supports text-to-video and image-to-video, trading some quality for speed...
View modelSpaceXAI: Grok 4.6
TextGrok 4.6 is a model from SpaceXAI with frontier performance on coding, knowledge work, and STEM. It is succeeded by Grok 4.7.
View modelxAI: Grok Imagine Image 2.0
ImageGrok Imagine Image 2.0 is an image generation and editing model from xAI. It is suited for creating images from text prompts and editing images from references, with low and...
View modelSpaceXAI: Grok Imagine Video 1.5
VideoGrok Imagine Video 1.5 is a video generation model from SpaceXAI. It creates videos from text prompts, with an optional starting image to guide the scene. It can direct subject...
View modelSpaceXAI: Grok 4.5
TextGrok 4.5 is a model from SpaceXAI with frontier performance on coding, knowledge work, and STEM.
View modelxAI: Grok Latest
TextThis model always redirects to the latest Grok model from xAI.
View modelPrice and listing history
Every change GenMagic has recorded for Grok 4.7 since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.
| Date | Change | Before | After |
|---|---|---|---|
| Nov 4, 2026 | Updated: intelligence index | - | - |
| Nov 1, 2026 | Price up 36% | $2.20 in / $6.60 out per 1M tokens | $3.00 in / $9.00 out per 1M tokens |
Where these figures come from
- Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
- Specs and description: as xAI publishes them, checked daily.
- Benchmarks: 32 scores from Artificial Analysis and OpenRouter, Epoch AI, Design Arena, LMArena, re-read daily. Each score above links to its source.
- Changes: the data on this page last changed on Nov 5, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.
Generate with Grok 4.7 today
One GenMagic plan unlocks Grok 4.7 and every other model across text, image, audio, and video.