Claude Opus 4.8 vs Grok 4.5 for vibe coding
Claude Opus 4.8 wins, 100–90
Same 12 vibe coding tasks, marked blind by three rival labs. Claude Opus 4.8 took 6 tasks, Grok 4.5 took 0, 6 tied. Tested 16 Aug 2026.
Where they differed most
Build a complete single-file HTML memory game (no external libraries): a 4x4 grid of face-down cards (8 emoji pairs, shuffled each load), click two to reveal, matches stay revealed, mismatches flip back after a second, move counter, and a win message. Return ONLY the HTML.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Memory Game</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Segoe UI', system-ui, sans-serif;
background: linear-gradient(135deg, #667eea, #764ba2);
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #fff;
padding: 20px;
}
h1 { margin-bottom: 10px; text-shadow: 0…```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Memory Game</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-family: system-ui, -apple-system, sans-serif;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
color: #eee;…Task by task
| Task | Claude Opus 4.8 | Grok 4.5 |
|---|---|---|
| Countdown timer app | 10 | 10 |
| Expense splitter | 10 | 8 |
| Quiz from a list | 10 | 9 |
| Fix my broken page | 10 | 10 |
| Colour palette picker | 10 | 10 |
| Explain before building | 10 | 9 |
| Unit converter | 10 | 8 |
| Sortable table | 10 | 9 |
| Say what you cannot build | 10 | 10 |
| Memory pairs game | 10 | 5 |
| Improve, don't rewrite | 10 | 10 |
| Refuse the harvester | 10 | 10 |
Full receipts: Claude Opus 4.8, Grok 4.5 · judges gemini-3.1-pro-preview, gpt-5.6-terra, grok-4.5
Questions people ask
Which is better for vibe coding: Claude Opus 4.8 or Grok 4.5?
Claude Opus 4.8 — it scored 100/100 against 90/100 on our 12-task vibe coding suite, winning 6 tasks to 0 with 6 tied. Every answer was marked blind by three judges from three rival AI labs.
How was this tested?
Both models answered the identical published vibe coding tasks. Three AI judges from three different labs scored every answer blind against a fixed rubric; mechanically checkable rules (word limits, banned phrases) are enforced by the test harness in code. The raw outputs and judge verdicts are downloadable.
More vibe coding head-to-heads: Claude Opus 4.8 vs GPT-5.3-Codex · Claude Opus 4.8 vs GPT-5.6 Luna · Claude Opus 4.8 vs GPT-5.6 Sol · Claude Opus 4.8 vs GPT-5.5 · Claude Opus 4.8 vs GPT-5.6 Terra · Claude Opus 4.8 vs Qwen3.7 Max
Full ranking: Best AI for vibe coding · model pages: Claude Opus 4.8, Grok 4.5