Grok 4.5

Released

Grok 4.5 is an AI model released by SpaceXSI on Wednesday, Jul 8 2026, 51 days after Composer 2.5. It has a 500k token context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider.. Benchmark results (shown below) cover BullshitBench v2, Gray Swan IPI, SWE-Bench Pro, SWE-Bench Multilingual, DeepSWE 1.1, DeepSWE 1.0, and 16 more.

API pricing

Under 200K input tokens
InputWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it.
$2.00
Cached inputA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again.
$0.30
OutputWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one.
$6.00
At least 200K input tokens
InputWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it.
$4.00
Cached inputA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again.
$0.60
OutputWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one.
$12.00
  • Reasoning or thinking is supported.
USD per 1M tokensEvery price here is for one million tokens. A token is roughly three-quarters of a word, so a million tokens is about 750,000 words of text.Verified October 19, 2026Read from docs.x.ai. Click the check to open the source.

Available from

xAI—$2.00$6.00500K
xAIzdr$2.00$6.00500K
xAIzdr/priority$4.00$12.00500K
xAIpriority$4.00$12.00500K
USD per 1M tokensEvery price here is for one million tokens. A token is roughly three-quarters of a word, so a million tokens is about 750,000 words of text.Checked November 6, 2026Third-party rates from openrouter.ai, not the lab’s own list price.

Benchmarks

Coding

SWE-Bench ProAgentic coding — Can the AI fix real bugs in real software? It's handed actual problems from open-source projects and has to write code that genuinely solves them. Higher is better.
64.7%
#6 of 24
SWE-Bench MultilingualMultilingual coding — Like SWE-Bench, but the coding problems span many programming languages, not just one. Tests how broadly the AI can code. Higher is better.
78%
#8 of 19
DeepSWE 1.1Agentic coding — Artificial Analysis' independent test of deep, agentic software-engineering work — the AI has to plan and carry out substantial coding tasks end to end. (Version 1.1 of the test.) Higher is better.
54%
#28 of 37
DeepSWE 1.0Agentic coding — Artificial Analysis' independent test of deep, agentic software-engineering work — the AI has to plan and carry out substantial coding tasks end to end. Higher is better.
62%
#4 of 6
FrontierCode v1.1 (Extended)Agentic coding — frontier-difficulty agentic coding tasks (v1.1, extended split)
56.6%extended split
#3 of 3
APEX-SWEExpert software engineering — expert-level software-engineering tasks (AI Productivity Index)
53.6%
#2 of 2
Next.js EvalsNext.js coding — Vercel's open eval of how well AI coding agents build and migrate real Next.js apps — measured as the share of tasks the agent completes successfully. Higher is better.
64%
#24 of 35

Terminal & CLI

Frontier-Bench v0.1Agentic computer work — A hard, ever-evolving set of real computer tasks — coding, system administration, data work, and more — that an AI agent has to complete on its own. Run by the Harbor / Laude Institute team as the successor to Terminal-Bench (v0.1 is the first release of the task set). The score is the share of tasks solved. Higher is better.
17.8%
#6 of 9
Terminal-Bench 4.0Agentic terminal coding — Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? Version 4.0 recalibrated how much time, CPU and memory each task gets, removed eight tasks and fixed nineteen, so fewer runs fail for reasons that have nothing to do with the model. Scores are not comparable with earlier versions. Higher is better.via Terminal-Bench
12.42%
#30 of 32
Terminal-Bench 3.0Agentic terminal coding — command-line task completion (v3.0, much harder task set)
15.7%
#5 of 7
Terminal-Bench 2.1Agentic terminal coding — Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? Higher is better.
83.3%
#15 of 36

Agentic & tool use

APEX-AgentsExpert agentic work — expert-level agentic work tasks (AI Productivity Index)
47.1%
#3 of 3
CyberGymCybersecurity — Tests the AI on cybersecurity challenges — finding and exploiting software weaknesses inside a safe sandbox. Higher is better.
79%
#9 of 13
CVE-BenchCybersecurity — Can the AI exploit real, publicly known security holes in web applications, in a sandbox built to resemble a live service? A measure of raw capability: it is run without the safeguards a deployed model carries. Higher is better.
35.2%
#3 of 3

Reasoning & science

ARC-AGI-2Abstract reasoning — Puzzle-style tests of abstract reasoning and pattern-finding — the kind of thing people find easy but AIs often struggle with. Higher is better.via BenchLM
52.64%
#34 of 41

Knowledge work

AA Intelligence IndexOverall intelligence — Artificial Analysis composite intelligence index across evals
56
#3 of 6
GDPval-AA v2Knowledge work — economically valuable knowledge work (v2, re-based Elo)
1526
#12 of 21
AA-BriefcaseKnowledge work — Artificial Analysis agentic office-work eval (Elo)
1313
#4 of 4

Healthcare

MedScribeMedical admin work — Can the AI support doctors with their administrative work, like notes and paperwork? Created by Vals AI. Higher is better.
86.88%
#3 of 5

Robustness

BullshitBench v2Nonsense detection — Given a confidently-worded but nonsensical prompt, does the AI spot that it makes no sense and push back — instead of playing along and inventing an answer? The score is how often it clearly called out the nonsense. Higher is better.
55%
#34 of 98
Gray Swan IPIPrompt injection robustness — Attackers hide malicious instructions inside content the AI reads — a web page, an email, a document — and try to hijack what it does. Gray Swan's indirect prompt injection benchmark measures how often such an attack succeeds when the attacker gets a single try. Lower is better.
13.4%k = 1
54.2%k = 10
60.8%k = 15
k = 1
#11 of 13
k = 10
#12 of 13
k = 15
#15 of 15

Source: BenchLM, retrieved 31 August 2026 · Source: Terminal-Bench, retrieved 30 August 2026. Other sources are identified on the linked benchmark pages.

Compare Grok 4.5 with

Grok 4.5

About

Grok 4.5 was introduced in July 2026 for coding, agent tasks and knowledge work. xAI emphasized training on technical material and reinforcement learning over software-engineering tasks. Its published launch post described availability in Grok Build, Cursor and the API, with token prices starting at $2 per million input tokens and $6 per million output tokens.

The release also highlighted office-document workflows and efficiency on multi-step coding tasks. Its benchmark comparisons used particular harnesses and reasoning settings, and different models led different tasks. The model paired technical training with hosted developer tools, including an agent that could work across research, code and business documents.

Frequently asked questions

Grok 4.5 was released by SpaceXSI on Wednesday, Jul 8 2026.

All SpaceXSI releases

21 tracked

2023

1 release