GROK 4.5
XAI_MoE_
500K_CTX_
4×_CHEAPER.

Grok 4.5 xAI технический разбор бенчмарки pricing 2026

8 июля 2026 SpaceXAI выпустил Grok 4.5 — первый flagship post-IPO. Musk: «Opus-class intelligence at fraction of cost». Технический тезис: не самый accurate coding model, но для high-volume agentic pipelines — лучший intelligence-per-dollar на рынке. Ниже: MoE specs, pricing matrix, coding/agent benchmarks, TryAI real-world tests, API integration, 5-step Mac deployment runbook, case study, FAQ. Data cutoff: 10 июля 2026.

1. Root cause: три слоя, почему Grok 4.5 меняет token economics

Layer 1 — Sticker price ≠ task cost. API $2/$6 выглядит дёшево, но реальный differentiator — output token consumption: 15 954 tok/task vs 67 020 у Opus 4.8 = 4.2× efficiency gap.
Layer 2 — Co-training contamination risk. Cursor codebase snapshot в training data → CursorBench withdrawn. Transparency failure, но co-training с Cursor даёт real IDE interaction signal.
Layer 3 — Benchmark spread ≠ production fit. SWE-Bench Pro: Fable 5 80.4% vs Grok 64.7% — 15.7pp gap реален для multi-file refactors. Terminal Bench 2.1: все четыре модели в пределах 5.4pp — cost/fit > benchmark rank.
Layer 4 — Hallucination regression. AA-Omniscience Index: 54% hallucination rate — output validation mandatory в production.

2. Architecture & hardware stack

Frontier MoE model, оптимизирован под: coding/SE (bugfix, large-scale refactors, E2E app build), agentic multi-step automation (cross-tool enterprise workflows), knowledge-intensive work (legal, healthcare, education, data analysis). Co-trained with Cursor — SpaceX acquired Anysphere (Cursor parent) June 2026. Training signal: trillions of tokens real developer IDE interactions.

ParameterValue
ArchitectureMixture of Experts (MoE)
Context window500 000 tokens
Reasoning modesLow / Medium / High (default: High)
Throughput80 TPS official, ~90 TPS measured
Training infraTens of thousands NVIDIA GB300 GPUs (Memphis, TN datacenter)
Parameter countNot disclosed (MoE routing)

3. Pricing matrix: per-token и per-task economics

3.1 API unit pricing (per 1M tokens)

ModelInputOutput
Grok 4.5$2.00$6.00
Grok 4.5 (cached input)$0.50
Grok 4.5 Fast$4.00$18.00
Claude Opus 4.7$5.00$25.00
Claude Fable 5HigherHigher
GPT-5.6 Sol (flagship)$5.00$30.00
GPT-5.6 Luna (budget)$1.00$6.00

3.2 Real-world cost per agentic coding task

Model / PlatformAvg tokens/taskEst. cost/task
Grok 4.5 / Grok Build~1.9M$2.49
GPT-5.5 / Codex~6.2M$5.07
Claude Fable 5 / Claude Code~7.2M$11.80

Scale math: 500 tasks/day dev team → $1,245/day (Grok) vs $5,900/day (Claude Code). Efficiency gap compounds exponentially в agent loops.

SWE-Bench Pro output tokens: Grok 4.5 avg 15,954 vs Opus 4.8 67,0204.2× gap. Pricing table alone insufficient для TCO analysis.

4. Benchmark decomposition

4.1 Coding benchmarks (official + third-party)

BenchmarkGrok 4.5Fable 5Opus 4.8GPT-5.5
DeepSWE 1.0 (provider harness)62.0%66.1%55.75%64.31%
DeepSWE 1.1 (neutral harness)53%70%59%67%
Terminal Bench 2.183.3%84.3%78.9%83.4%
SWE-Bench Pro (resolve rate)64.7%80.4%69.2%58.6%

DeepSWE 1.1 neutral harness = most honest comparison. Grok drops to 53%, trails all three — Fable 5 leads by 17pp.
Terminal Bench 2.1: four frontier models within 5.4pp — benchmark non-differentiating; route by cost/fit.
SWE-Bench Pro: Grok ranks #3. 15.7pp behind Fable 5 — matters for complex multi-file engineering.

CursorBench caveat: results pulled from launch materials. Root cause: Cursor codebase snapshot in Grok 4.5 training data — clear data contamination. Independent re-testing expected.

4.2 Agentic benchmarks — Grok 4.5 sweet spot

BenchmarkGrok 4.5Fable 5Opus 4.8
AutomationBench-AA (657 enterprise workflows)51.4%48.6%48.5%
Snorkel GDPVal+ (professional knowledge work)29%21%

AutomationBench-AA: 40 simulated enterprise apps (Gmail, Slack, Salesforce, HubSpot). First model to complete >50% workflow objectives without violating business constraints — at ~4× lower cost/task vs Fable 5/Opus 4.8.
Snorkel expert-judged eval: legal 40% vs 27–28%, education 58% vs 35–42%, healthcare 35% vs 23–25%.

4.3 Artificial Analysis Intelligence Index

Artificial Analysis Intelligence Index (mid-2026): Claude Fable 5 ████████████████████████████████ 60 ← #1 Claude Opus 4.8 █████████████████████████████ 56 ← #2 GPT-5.5 ████████████████████████████ 55 ← #3 Grok 4.5 ███████████████████████████ 54 ← #4 Previous Grok ████████████████ 38 (prior gen, +16pp jump)

5. TryAI real-world coding shootout

Independent eval: identical one-shot prompts → interactive browser apps from scratch. Models: Grok 4.5, GPT-5.5, Opus 4.8, Fable 5.

3D cube rendering (hardest test):
Opus 4.8 + Fable 5: pass first attempt ✅
Grok 4.5: title + buttons, no cube attempt 1 → fixed attempt 2 ❌→✅
GPT-5.5: fail ❌

Latency profile: first token <500ms, stream rate ~110 tok/s — ~2× competitors.
Cost profile: cheapest per test run even when raw token count higher.

Production implication: complex stateful UI / intricate data structures → Claude models more reliable first-shot. High-volume repetitive codegen where speed + cost compound → Grok 4.5 hard to argue against.

6. Deployment surface & API integration

Available now (EU expected mid-July 2026):

SurfaceDetails
Grok BuildNative coding agent platform, Grok 4.5 default model
CursorAll plans: desktop, web, iOS, CLI, SDK. Usage 2× first launch week
SpaceXAI Console APIChat Completions + Responses API
MS Office add-insWord, PowerPoint, Excel default model
Third-party gatewaysOpenRouter, Vercel, Cloudflare, Snowflake, Databricks Mosaic

API regions: us-east-1, us-west-2. Rate limits: 150 req/s, 50M tokens/min.

# SpaceXAI Responses API — bugfix invocation curl -s https://api.x.ai/v1/responses \ -H "Authorization: Bearer $XAI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "grok-4.5", "input": "Find and fix the bug: function median(a){a.sort();return a[a.length/2]}" }' # Cost optimization: cache routing # Responses API → set "prompt_cache_key": "session-abc123" # Chat Completions → header "x-grok-conv-id: session-abc123" # Cache hit: input $0.50/M (vs $2.00/M uncached) # Long agent loops → enable Context Compaction # Reduces token accumulation across multi-turn agent cycles

7. Adoption matrix: when to route / when to escalate

ScenarioRoute to Grok 4.5Escalate to Fable 5/Opus
High-volume agent pipelines (100s–1000s tasks/day)✅ Primary
Terminal + tool-use workflows✅ Terminal Bench 83.3%
Cursor-native teams✅ Zero friction
Cost-sensitive startups✅ $2.49/task
Multi-file precision refactors✅ SWE-Bench 80.4%
Hallucination-sensitive production⚠️ 54% AA-Omniscience✅ + validation layer
EU-based teams (pre mid-July)❌ No EU APIFallback required
CursorBench-dependent decisions❌ Data contaminatedWait for re-test

8. 5-step Mac deployment runbook

Step 1 — Workload classification. Tag tasks: CRITICAL_PRECISION (multi-file refactor, security code) → Fable 5/Opus. HIGH_VOLUME_ROUTINE (test gen, migration scripts, lint fixes) → Grok 4.5.
Step 2 — Cursor model routing. Composer/Agent default Grok 4.5 for HIGH_VOLUME_ROUTINE. Plan Mode + architecture review → Fable 5. Ref: Cursor Agent Skills Mac guide.
Step 3 — API cache configuration. Stable prompt_cache_key per agent session. Monitor cache hit ratio in SpaceXAI console. Target >60% hit on long agent loops.
Step 4 — Output validation pipeline. Post-generation: automated test suite + human review on critical paths. Never ship Grok output to production without verification layer (54% hallucination rate).
Step 5 — Three-tier Mac compute routing. Tier A (local Mac): Cursor interactive editing only. Tier B (remote MACGPU node): Grok/Claude long-running agent batches via SSH. Tier C (local MLX): draft validation on mlx_lm.server before API burn.

# Step 5: remote agent batch on MACGPU node ssh macgpu-node 'cd /workspace/backend && cursor --agent "migrate ORM layer" --model grok-4.5' # Local Mac: review only git fetch origin && git diff origin/main...HEAD # launchd 7×24 agent on remote node # ~/Library/LaunchAgents/com.macgpu.grok-nightly.plist # OpenRouter fallback routing # See: ./2026-0526-openrouter-programmnyj-rejting-deepseek-v4-flash-cursor-cline-mac-multi-route.html

9. Case study: 12-dev Mac team — before/after metrics

«B2B SaaS, 12 Mac devs (M3 Pro 16GB + 2× M4 Max 64GB). Baseline June 2026: Cursor Pro + Claude Code Max, API burn ~$6,800/mo (Fable 5 dominant on nightly agents). Migration: 80% repetitive agent tasks → Grok 4.5, Fable 5 reserved for critical refactors. July API bill: ~$2,940/mo (-57%). Grok first-token latency: 420ms vs Fable 1.8s. Trade-off: 2 SWE-Bench-class failures requiring manual fix vs 0 pre-migration — acceptable at this cost delta. Nightly agents offloaded to MACGPU M4 Pro 32GB remote node — eliminated swap thrashing on 16GB Air machines. p99 agent latency remote: 340ms vs 2.1s local under memory pressure.»

Per-task arithmetic ($2.49 vs $11.80) materializes in production once daily invocations exceed low hundreds. Winning strategy: intelligent routing, not wholesale replacement. Grok for volume, Claude for precision.

10. FAQ — technical reference

Grok 4.5 vs Opus 4.8?
Opus wins raw accuracy (SWE-Bench Pro 69.2% vs 64.7%). Grok wins speed, token efficiency, cost — often 4×. Agentic: Grok edges Opus on AutomationBench-AA (51.4% vs 48.5%).

Free tier?
Limited free in Grok Build + Cursor at launch. Post-promo: $2/M input, $6/M output API. Cursor subscription includes in model pool.

Cursor integration?
All plans. Model selector → Grok 4.5. 2× usage first launch week.

Context window?
500K tokens — sufficient for most large codebase agent tasks.

CursorBench removal?
Training data contamination from Cursor codebase snapshot. Results withdrawn; independent re-test pending.

OpenRouter?
Yes — OpenRouter, Vercel AI Gateway, Cloudflare, Snowflake, Databricks Mosaic.

11. Verdict & reference constants

① Grok 4.5 API: $2/$6 per 1M tokens. ② Cached input: $0.50/M. ③ Output efficiency: 15,954 tok/task vs Opus 67,020. ④ SWE-Bench Pro: 64.7% (Fable 5: 80.4%). ⑤ AutomationBench-AA: 51.4%. ⑥ Throughput: ~90 TPS measured, first token <500ms. ⑦ Hallucination: 54% AA-Omniscience. ⑧ Intelligence Index: 54/100 (+16pp vs prior Grok).

Grok 4.5 ≠ most accurate coding model mid-2026. Delivers best intelligence-per-dollar for agentic coding work: $2.49 real-world task vs $11.80 Claude Code. Credible challenger to Claude dominance in coding agent market.

macOS native: Cursor + Grok 4.5 zero-friction. Но long-running agent loops на 16GB unified memory → swap thrashing, p99 latency degradation. MACGPU remote Mac node (M4 Pro 32GB) dedicated для 7×24 agent batches; local machine — Cursor interactive editing + git diff review only. Optimal split: Grok API cost savings + remote Mac stability.