Skip to content

Grok 4.5: xAI’s Cursor-Trained Coding Model, Benchmarked

5 min read

Grok 4.5: xAI's Cursor-Trained Coding Model, Benchmarked
Photo by Al Nahian on Pexels

A New Kind of Training Signal

xAI released Grok 4.5 on July 8, 2026, billing it as the company’s strongest model to date. The headline isn’t the benchmark numbers alone — it’s where the training data came from. Following SpaceX’s acquisition of Cursor for roughly $60 billion in mid-June 2026, xAI gained access to something that most frontier labs don’t have: millions of real agentic coding sessions. Multi-turn edits, large-repository context, error recovery loops. Not static code corpora. Actual developer work.

That distinction matters when you’re evaluating what the benchmarks mean. Grok 4.5 wasn’t trained on the same kind of data as its predecessors. Whether that translates to a durable edge is the question worth asking.

What the Benchmarks Actually Show

Where Grok 4.5 Leads

On SWE Marathon — the newer agentic benchmark that tests multi-step repository-level coding — Grok 4.5 hits 29.0%, ahead of Claude Opus 4.8 at 26.0% and Fable 5 at 24.0%. That’s a meaningful lead on the metric that most closely resembles real engineering work. On SWE-Bench Pro it scores 64.7%, above GPT-5.5’s 58.6%. SWE-Bench Multilingual comes in at 78.0%.

Latency is another genuine advantage. xAI reports approximately 140ms p95 time-to-first-token — the fastest among frontier models tested in July 2026 by Artificial Analysis. For agentic loops that call the model dozens of times per task, that adds up. The model also supports configurable reasoning effort (low, medium, high), which lets you trade cost against quality depending on the task.

On Terminal-Bench 2.1, a measure of autonomous shell and CLI task completion, Grok 4.5 scores 83.3% — effectively tied with GPT-5.5 at 83.4%.

Where It Falls Short

The Artificial Analysis Intelligence Index places Grok 4.5 fourth overall at a score of 54, behind Fable 5, GPT-5.5, and Claude Opus 4.8. On DeepSWE 1.1, it scores 53% versus GPT-5.5’s 67% — a gap that’s hard to ignore. Agent reliability is the softest spot: across multi-step tool chains, Grok 4.5 completes 89.6% reliably, compared to Claude Sonnet 5’s 94.8% and Terra’s 97.2%. Seven percentage points below the leader sounds small until you’re running a pipeline with 30 sequential tool calls.

The Cursor SFT and reinforcement learning data was added during supplemental training, not pre-training. That’s an important technical caveat: the gains are real but may not generalize as broadly as if the model had been pre-trained on this distribution from the ground up. Future iterations that bake agentic session data into pre-training could close more ground.

The Cursor Data Moat — and Its Limits

The strategic logic behind the SpaceX-Cursor acquisition is clearer now that Grok 4.5 has shipped. Cursor has millions of active developers, and those developers produce a training signal that money can’t easily replicate: long-horizon coding sessions with ground-truth outcomes. The model either fixed the bug or it didn’t. That binary feedback, at scale, is the kind of RL data that improves agentic performance in measurable ways.

But the moat has a ceiling in the short run. Cursor SFT data was used in supplemental training post-architecture, which means Grok 4.5 didn’t grow up on this distribution. It was fine-tuned toward it. The next model, presumably trained from scratch with Cursor data woven into the foundation, is the one to watch. For now, the gains are real and show up on agentic benchmarks — but they’re not as comprehensive as xAI’s marketing implies.

There’s also a competitive response risk. Anthropic, OpenAI, and Google all have access to developer session data through their own coding tool integrations. The Cursor data is a head start, not a permanent lock-in.

Price-to-Performance: The Clearest Advantage

If benchmarks give Grok 4.5 a mixed picture, pricing is where the case is clearest. At $2 per million input tokens and $6 per million output tokens, it costs roughly one-fifth of Fable 5 ($10/$50) and less than half of Claude Opus 4.8 ($5/$25). For teams running agentic pipelines at volume — where a single coding task might consume 50,000 tokens or more — that difference is the budget conversation.

xAI also claims 2x token efficiency, meaning Grok 4.5 produces useful output in fewer tokens than prior generations. If that holds in production, the effective cost gap versus competitors widens further. The model is available via the Grok Build API and is the default in Cursor as of July 8, so developers can test the efficiency claim directly on their own codebases.

For context: at Grok 4.5 pricing, running 1,000 agentic coding tasks at 60,000 tokens each costs around $480. At Fable 5 pricing, the same workload runs to approximately $2,400. That’s a five-to-one ratio before efficiency gains.

Who Should Actually Use It

The honest answer depends on what you’re optimizing for. If raw capability on complex, multi-step tasks is the priority and budget isn’t the constraint, Claude Sonnet 5 and Fable 5 still lead on reliability metrics. If you’re building agentic coding pipelines where cost per task matters, and you’re willing to accept slightly lower reliability on tool-chain steps, Grok 4.5 is the most compelling cost-efficient option at the frontier tier as of July 2026.

The 500K token context window makes it viable for large repository tasks. The built-in server-side tools — web search, X search, and code execution — reduce the integration overhead for teams building tool-using agents. And the speed advantage is real: 140ms TTFT at p95 means agentic loops run noticeably faster in wall-clock time.

Teams that ran the earlier July 2026 coding tool comparison and found Claude or GPT-5.6 winning on reliability should rerun those evaluations with Grok 4.5 in the mix — especially on SWE-Marathon-style tasks. The results won’t be uniform. The better comparison is less “which model wins” and more “which model wins on my specific task distribution at a cost I can sustain.”

Further Reading

Don’t miss on Ai tips!

We don’t spam! We are not selling your data. Read our privacy policy for more info.

Don’t miss on Ai tips!

We don’t spam! We are not selling your data. Read our privacy policy for more info.

Enjoyed this? Get one AI insight per day.

Join engineers and decision-makers who start their morning with vortx.ch. No fluff, no hype — just what matters in AI.