Grok 4.5

by xAI

Released 69 days after Grok 4.3 · 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.

Call Grok 4.5 on Opper with the OpenAI SDK. Sign up without a credit card. Get started

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
  • Zero data retention on pay-as-you-go
  • No training by default
  • GDPR DPA available

Available routes

Grok 4.5 runs on 2 different routes through the Opper gateway. 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.

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

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

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.35%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; DPA available.

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
Content cached for replay
GDPR DPA
DPA available
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; DPA available.

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
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
SCCs

Benchmarks

Independent benchmark scores — composite indices for reasoning, coding, and math, plus individual eval scores where available.

Intelligence Index38.8
Coding Index72.4
Reasoning & knowledge
GPQA Diamond
93%
Humanity's Last Exam
43%
Long-context reasoning
79%
Coding
SciCode
55%

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.

Compare Grok 4.5 with…

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

Other models from xAI

Start building with 700+ models

One API key for every major provider, up and running in minutes.

Get startedView Documentation