Claude Sonnet 5vsGrok Code Fast 1
Claude Sonnet 5 | Grok Code Fast 1 | |
|---|---|---|
| Benchmarks | ||
Nonsense detection BullshitBench v2Given 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. | 80% | — |
Prompt injection robustness Gray Swan IPI · k = 1Attackers 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. | 0.6% | — |
Prompt injection robustness Gray Swan IPI · k = 10Attackers hide malicious instructions inside content the AI reads — a web page, an email, a document — and try to hijack what it does. This variant gives the attacker 10 tries and counts an attack as successful if any of them works. Lower is better. | 4.7% | — |
Prompt injection robustness Gray Swan IPI · k = 15Attackers hide malicious instructions inside content the AI reads — a web page, an email, a document — and try to hijack what it does. This variant gives the attacker 15 tries and counts an attack as successful if any of them works. Lower is better. | 5.9% | — |
Agentic coding SWE-Bench ProCan 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. | 63.2% | — |
Agentic coding CursorBench v3.2Cursor's own test of harder, real-world coding tasks inside a code editor, on the refreshed v3.2 task set. Scores aren't comparable with v3.1. Higher is better. | 61.5% | — |
Agentic coding CursorBench v3.1Cursor's own test of harder, real-world coding tasks inside a code editor. Higher is better. | 61.2% | — |
Next.js coding Next.js EvalsVercel'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. | 79% | — |
Supabase coding Supabase Evals · with skillsSupabase's own open benchmark: a coding agent is dropped into a real Supabase project and asked to do real work — set up a schema, fix a broken security policy, debug an Edge Function — and every run is checked against a live Supabase stack. This is the headline number, where the agent has Supabase's own skills loaded, as most people building on Supabase would. The score is the share of scenarios it got right. Higher is better. | 95.5% | — |
Supabase coding Supabase Evals · no skillsThe same Supabase scenarios, but with none of Supabase's skills loaded — so it measures what the model already knows about building on Supabase, rather than how well it follows Supabase's supplied instructions. Higher is better. | 90.9% | — |
Agentic computer work Frontier-Bench v0.1A 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. | 14.6% | — |
Agentic terminal coding Terminal-Bench 2.1Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? Higher is better. | 80.4% | — |
Web browsing BrowseCompCan the AI browse the web and track down hard-to-find answers? Higher is better. | 84.7% | — |
Multidisciplinary reasoning Humanity's Last Exam · no toolsHumanity's Last Exam — extremely hard expert questions across many subjects, written so you can't just look up the answer. “No tools” means the AI answers on its own. Higher is better. | 43.2% | — |
Multidisciplinary reasoning Humanity's Last Exam · with toolsHumanity's Last Exam — extremely hard expert questions across many subjects. “With tools” means the AI is allowed to search the web or run code while answering. Higher is better. | 57.4% | — |
Agentic computer use OSWorld-VerifiedCan the AI actually operate a computer — clicking, typing, and using real apps — to finish tasks on its own? Higher is better. | 81.2% | — |
Knowledge work GDPval-AAMeasures how well the AI does economically valuable knowledge work, judged against human experts. Shown as a rating (like a chess Elo) — higher is better. | 1618 | — |
Community preference Arena Elo (Text)Real people chat with two anonymous AIs side by side and vote for the answer they prefer. Votes become a chess-style Elo rating on arena.ai — it measures which AI people actually like, not test scores. Higher is better. | 1463 | — |
Community preference (code) Arena Elo (Code)Like the text arena, but people vote on which AI writes better code. The votes become a chess-style Elo rating on arena.ai. Higher is better. | 1543Best | 1163 |
| Overview | ||
| Company | Anthropic | SpaceXAI |
| Release date | Jun 30 2026 | Aug 28 2025 |
| Access | Proprietary | Proprietary |
Which is better: Claude Sonnet 5 or Grok Code Fast 1?
Claude Sonnet 5 leads Grok Code Fast 1 on 1 of the 1 benchmark they both report (Arena Elo (Code)). Grok Code Fast 1 shipped 306 days before Claude Sonnet 5, so benchmark comparisons should account for the intervening progress.
Published specifications for these two models are limited — see each model page for the latest details.
On Arena Elo (Code), Claude Sonnet 5 leads at 1543 vs Grok Code Fast 1 at 1163.
Frequently asked questions
Claude Sonnet 5 was released by Anthropic on Jun 30 2026.
Grok Code Fast 1 was released by SpaceXAI on Aug 28 2025.
Other comparisons
Claude Sonnet 5vsGPT-5.6-CyberGrok Code Fast 1vsGPT-5.6-CyberClaude Sonnet 5vsGemini 3.7 FlashGrok Code Fast 1vsGemini 3.7 FlashClaude Sonnet 5vsMuse GlimmerGrok Code Fast 1vsMuse GlimmerClaude Sonnet 5vsDeepSeek-V4-Pro-0813Grok Code Fast 1vsDeepSeek-V4-Pro-0813Claude Sonnet 5vsMistral Medium 3.5Grok Code Fast 1vsMistral Medium 3.5Claude Sonnet 5vsKimi K3Grok Code Fast 1vsKimi K3