Models›xAI›Grok 4.7 (batch)

Grok 4.7 (batch)

by xAI · released Sep 21, 2026 · 1 provider
Model IDx-ai/grok-4.7:batch
VisionReasoningTool callingStructured outputs

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6.

MODEL PRICING

Standard pricing

Run this model at its standard rate. Cheap mode currently has no separate discount.

Input tokens$1.68per 1 million tokens
Output tokens$5.04per 1 million tokens

API routing ceilings, including your 5% Free-plan fee. Included usage applies first, then prepaid credits. Cached tokens and tools can have separate charges.

Context
500k
tokens
Max output
450k
tokens per reply
Input
$1.60
provider baseline / 1M; fee applies
Output
$4.80
provider baseline / 1M; fee applies

Choose how to use Grok 4.7 (batch)

Playground

Try prompts in your browser, create an agent, and see the cost of each reply. Your selected model carries into setup.

Model capabilities below describe the underlying model. Available playground features depend on its provider.

API

Connect your app with a Gizmo API key. Choose fastest or cheapest, stream text responses, and inspect timing, tokens, and charges in request logs.

A current API route is listed for this exact model. Gateway configuration is required for live calls.

Provider price + a transparent platform fee

RateProvider baselineFree plan · 5% feePaid plan · 4% fee
Input / 1M tokens$1.6$1.68$1.664
Output / 1M tokens$4.8$5.04$4.992
API input / 1M tokens$1.6$1.68$1.664
API output / 1M tokens$4.8$5.04$4.992

Legacy chat image rates use the catalog baseline. The dedicated image playground shows separate estimates and settles the provider’s metered usage. API rates are current routing ceilings; final API charges use provider-reported cost plus your fee. Cheapest routing compares eligible OpenRouter and Cheaper Inference rates for the same model; savings are not guaranteed. Cached input or other provider charges may differ. Compare all model rates and verified discounts →

How your plan pays for usage

API and playground share one included allowance. Usage including the fee draws from that allowance first, then your prepaid credits. Plans bill monthly; included usage resets weekly: Free $1, Starter $5, Growth $25, Scale $50.

A $1 provider charge becomes $1.05 on Free or $1.04 on a paid plan before included usage is applied. Plan eligibility still applies in the playground.

Free models and limits

Zero-cost models stay $0, including the fee, and do not consume your dollar allowance. Free accounts can make 1,000 free-model API requests per calendar month, resetting in UTC. Admitted requests count even if the provider fails.

Free includes 20 API requests/minute and 6 playground messages/minute. Paid plans raise these limits. See plan limits.

Before a text API request, Gizmo temporarily reserves included usage and, if necessary, prepaid credit for the model’s full context plus your maximum output. Image jobs reserve twice their displayed estimate. Unused funds return after metering. This hold can exceed the final charge; unconfirmed usage remains marked pending.

Overview

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and managing long context, and it improves on its predecessor at professional knowledge work such as drafting documents and presentations.

The model was trained with a longer reinforcement learning run weighted toward problems that take many hours to complete, and natively understands the Grok Bot harness for conversational tasks. It ships with a new safeguard stack that pairs strong jailbreak resistance with low refusal rates for legitimate cybersecurity and biology work. SpaceXAI's reported benchmark results use the xhigh reasoning effort.

Benchmarks

Artificial Analysis indices independent, 0–100

Intelligence
35.0

Design Arena head-to-head, human-voted

CategoryEloWin rateRank
Mobile apps (agent)126757.5%#5
blender3d (agent)116360%#9
Game dev131651.6%#14
pdf (agent)114944%#19
3D scenes126347.5%#27
Code127247.9%#31
UI components126648%#34
Data viz124246.5%#39

Capabilities

Input
✍️ Text🖼️ Images📄 Files
Output
✍️ Text
✓ Tool calling✓ Structured outputs✓ JSON mode✓ Reasoning✓ Reasoning traces✓ Seeded sampling✓ Log probabilities

Reasoning is always on with effort levels xhigh · high · medium · low (default high).

Sampling controls: temperature, top_p, max_tokens. Defaults: top_p 0.95, temperature 0.7.

Pricing on Gizmo

These are provider baseline rates before Gizmo’s 5% Free-plan or 4% paid-plan fee. Your included usage covers charges first; overage uses prepaid credits. See the fee-inclusive comparison above.

Provider baseline rates

Input
$1.60 / 1M
Cached input
$0.4 / 1M
Output
$4.80 / 1M
Web search
$0.005 / call

Examples before the platform fee

Typical chat turn
$0.0056 2k in · 500 out
$1 of input
≈ 625k tokens
$1 of output
≈ 208k tokens
Full context, once
$0.80
Paid plans. This model is above the free tier’s price ceiling. Starter ($20/mo) covers $5 of usage weekly, Growth $25, Scale $50; every paid plan includes $25 in bonus credits.

Providers and pricing

One way to run Grok 4.7 (batch) on Gizmo.

ProviderRouteInput / 1MOutput / 1MContextUptime 24h
xAILowest priceOpenRouter$1.60$4.80500k—

Rates are each provider’s, per million tokens, before Gizmo’s 5% (Free) or 4% (paid) fee. “Cheapest” routing starts at the top of this list; “Fastest” starts with the model’s maker.

Run Grok 4.7 (batch) in under a minute

1

Create your account

Sign up with just an email. Start on the free tier with no card, or pick a paid plan for a bigger weekly allowance and $25 in bonus credits.

2

Your agent is ready

Grok 4.7 (batch) is preselected as the brain of your first agent. Give it a name and a system prompt, or keep the defaults.

3

Chat, research, create

Live web research and image generation are built in. Every reply shows what it cost, and you can switch models anytime.

Sources. OpenRouter · Artificial Analysis · Design Arena · xAI documentation. Verified Nov 3, 2026. Baseline prices are the provider’s list prices at sync time. Gizmo adds a 5% fee on Free or 4% on paid plans; included usage is applied before overage credits.