Grok 4.5

by xAI · Released , 22 days after Grok Imagine Video 1.5 · All xAI releases

Grok 4.5 is xAI's July 2026 frontier release, aimed more squarely at software engineering and multi-step agentic work than the original Grok 4. Trained on data spanning coding, science, engineering, and mathematics, it offers a 500K token context window and reasoning that can be switched on or off per request, and xAI introduced it as its smartest model yet for coding, agentic tasks, and knowledge work. Its strengths center on sustained coding sessions and tool-driven execution, with function calling, structured outputs, and vision input rounding out the agentic toolkit. It fits code assistants, autonomous engineering workflows, and research agents that alternate between careful reasoning and fast tool calls within one long-running context.

Sign up without a credit card · OpenAI SDK compatible
Input
$2.00 / 1M
Output
$6.00 / 1M
Cache read
$0.30 / 1M
Context
500K tokens
Routes
2 Multi

Available routes

Grok 4.5 runs on 2 different routes through the Opper gateway.

ProviderRegionZero data retentionTrainingInputOutputCache read
MultiNo$2.00$6.00$0.30
MultiNo$2.00$6.00$0.30

Compare residency, zero data retention and training posture at a glance, with full data-handling detail per route below. Some routes also sell priority processing: the same model at another price, picked per request with service_tier. How service tiers work.

Live routes and prices as JSON: api.opper.ai/v3/models?q=xai%2Fgrok-4.5

Key info

Input
Output
Features
Context window
500K
Max output
—
Input price
$2.00 /1M$0.30 cache read
Output price
$6.00 /1M
Released
Web search
  • Zero data retention on pay-as-you-go
  • No training by default

Uptime and availability

Grok 4.5 runs on a single route through the Opper gateway today, so its availability is that provider's availability.

98.83%route uptime, last 30 days
Single route, no failover target within this model.

Name a second model in the same request and the gateway tries it on retriable errors, so a busy hour never has to reach your users. Set up a fallback chain.

Measured over the last 30 days from each provider's official status feed via StatusGator. Refreshed hourly. See uptime for every provider Opper monitors.

Data handling per route

Each route hosting Grok 4.5 has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

xAI — Multi-region

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. GLOBAL; SCCs.

Zero data retention
Yes. Nothing is logged, held for abuse monitoring or used for training.
Training
No training on customer data.
Logging
None
Abuse monitoring
On by default, keeps nothing
Caching
Prompt cache
Transfer mechanism
SCCs

xAI — Multi-region

Zero data retention with abuse monitoring: prompts and outputs are kept for up to 30 days for abuse monitoring only, and are not used for training. No training on customer data. GLOBAL; SCCs.

Zero data retention
With abuse monitoring, 30-day window.
Training
No training on customer data.
Logging
Abuse monitoring (30-day retention)
Abuse monitoring
On by default, keeps nothing
Caching
Prompt cache
Transfer mechanism
SCCs

Best for

Where Grok 4.5 ranks among the models on Opper with a score for each use case.

Benchmarks

Independent benchmark scores: the Intelligence Index and the individual evaluations behind it, grouped by skill.

Global rank#99 of 525 LLMs
TierStrong
Output speed59 tok/s
Intelligence Index (previous version)38.8
Coding
Terminal-Bench 4.0
11%
SciCode
55%
Agentic & knowledge work
AutomationBench
58%
GDPval
44%
GDP.pdf
19%
Briefcase (Elo)1276
Science & reasoning
Humanity's Last Exam
43%
GPQA Diamond
93%
Long-context reasoning
79%
Knowledge
MMMU-Pro
80%

Get started

Call Grok 4.5 through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

Grok 4.5 is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

Set it up with your agent

Copy this and paste it into a coding agent like Claude Code, Cursor or Codex and it'll wire up Opper for you.

Or call it directly

import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.OPPER_API_KEY,
baseURL: "https://api.opper.ai/v3/compat",
});
const completion = await client.chat.completions.create({
model: "xai/grok-4.5",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Use Grok 4.5 in your apps

Pick your tool to see how to run it on Grok 4.5 through Opper.

Use Grok 4.5 with tools

The tools Grok 4.5 can use through Opper. Pick one to see how to set it up.

Compare Grok 4.5 with…

Side-by-side on privacy, EU hosting, pricing, and benchmarks.

All comparisons with Grok 4.5

Other models from xAI