Grok 4.7

Grok 4.7.
Coding and knowledge work.

xAI · announced September 21, 2026

xAI describes Grok 4.7 as its most capable model for coding and knowledge work, one that works longer on difficult tasks and checks its own work more carefully. On Utopixel you call it from the OpenAI or Anthropic SDK, with fallback to models from other labs.

modelx-ai/grok-4.7Get a key
Input / 1M$2.00
Output / 1M$6.00
Context500K
Max output450K
ReleasedSeptember 21, 2026
Why Grok 4.7

What it is good at. Per xAI.

Longer, harder tasks

xAI says Grok 4.7 uses a new, larger base model than Grok 4.6 and was trained with a longer reinforcement learning run weighted toward problems that take many hours to complete.

Price performance on coding

xAI says Grok 4.7 is at the frontier in price performance on CursorBench 4.0, and is served at the same price and speed as Grok 4.6.

Safeguards

xAI calls Grok 4.7 the strongest model it has tested on refusals and jailbreak resistance, allowing only 3.3% of risky dual use prompts through on HackerBench v0.3.

Price

Grok 4.7. Per 1M tokens.

What Utopixel charges as of December 3, 2026, from a prepaid balance with no subscription.

UtopixelInputOutputCached inputContext
Grok 4.7x-ai/grok-4.7$2.00$6.00$0.50500K
1,000 × Chat reply (2K in, 500 out)$7.00
1,000 × Long document Q&A (100K in, 1K out)$206.00
1,000 × Code generation (8K in, 4K out)$40.00

xAI list price per 1M tokens: $2 input, $0.50 cached input, $6 output. Once a prompt reaches 200K tokens the whole request bills at $4 input, $1 cached input and $12 output. Context window 500,000 tokens.

Benchmarks

The published numbers. From xAI.

Results as reported by xAI on September 21, 2026, not measured by Utopixel. Source: xAI: Introducing Grok 4.7.

CursorBench 4.0 · xHigh reasoning.46.3%
DeepSWE v1.1 · High reasoning effort.71.0%
EEBench · xHigh reasoning.64.0%
Terminal-Bench 4.0 · xHigh reasoning.37.6%
HealthBench Professional · xHigh reasoning.56.7%
AA Briefcase v1.11,657xHigh reasoning.
Setup

Two lines. Then it is Grok 4.7.

Set the base URL and the model id. Everything else in your code stays the same.

PythonOpenAI SDK
from openai import OpenAI
client = OpenAI(base_url="https://utopixel.online/api/v1", api_key="sk-vb-...")
r = client.chat.completions.create(
model="x-ai/grok-4.7",
messages=[{"role": "user", "content": "Hello, Grok 4.7"}],
)
print(r.choices[0].message.content)
curlREST
curl https://utopixel.online/api/v1/chat/completions \
-H "Authorization: Bearer $UTOPIXEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "x-ai/grok-4.7", "messages": [{"role": "user", "content": "Hello"}]}'
Q1How much does Grok 4.7 cost?
xAI lists Grok 4.7 at $2 per million input tokens, $0.50 per million cached input tokens and $6 per million output tokens. Requests with prompts of 200K tokens or more are billed at long context rates. On Utopixel you pay per token with no subscription.
Q2How do I call Grok 4.7 with the OpenAI SDK?
Point the OpenAI SDK at base_url https://utopixel.online/api/v1, use your Utopixel key, and set the model to x-ai/grok-4.7. The same key also works for models from other labs.
Q3How does Grok 4.7 compare with Grok 4.6?
xAI says Grok 4.7 has the same price and speed as Grok 4.6 but uses a new, larger base model. It scores higher on every benchmark in xAI's table, for example 37.6% vs 20.3% on Terminal-Bench 4.0 and 46.3% vs 40.4% on CursorBench 4.0.
Q4Is this xAI's official API?
No. Utopixel is an independent service and is not affiliated with xAI. We give you one OpenAI compatible endpoint for models from several labs.
Q5Do you store my prompts?
No. We do not store prompts or completions. We keep only the billing metadata needed to charge for usage, such as token counts and the model used.

Start building in minutes.

One API key for the models of OpenAI, Google, DeepSeek, Moonshot AI, Qwen, xAI, Z.ai, Meta, Amazon, AionLabs, Anthropic, Baidu, ByteDance Seed, Cohere, Elorian, Fireworks AI, IBM, inclusionAI, Inference.net, KT, Liquid AI, Meituan, Meta, MiniMax, Mistral AI, Moondream, Motif Technologies, Nex AGI, NVIDIA, Particle AI, Perceptron, Prism ML, Reflection AI, Reka, Relace, Ricursive AI, Sakana AI, StepFun, Tencent, Thinking Machines, Unbiased, Upstage, Writer and Xiaomi. Start free, no card needed.