Loading...
Loading...

Three frontier models, 100 real coding tasks, one verdict. Here's how the May 2026 leaderboard actually shakes out.
SWE-bench, HumanEval, GPQA โ these are saturated, contaminated, or both. By May 2026, every frontier model scores 85%+ on the public sets. The benchmarks tell you nothing about which model actually ships.
So I built my own: 100 tasks scraped from real PRs, bugs, and refactors I've shipped in the last year. Five categories. Three frontier models. No leakage.
Here's what 30 hours of evaluation found.
| Category | GPT-5 | Claude Opus 4.7 | Gemini 2.5 Ultra |
|---|---|---|---|
| Codebase refactor | 71% | 88% | 79% |
| Bug fix from logs | 76% | 84% | 81% |
| New feature impl | 79% | 86% | 82% |
| Migration scripts | 72% | 89% | 78% |
| Test generation | 88% | 85% | 84% |
| Documentation | 84% | 87% | 89% |
| Code review accuracy | 73% | 86% | 78% |
| Long-context retrieval (500K+) | 62% | 81% | 92% |
| Tool use (50 turn agent) | 78% | 94% | 81% |
| Speed (tokens/sec) | 143 | 89 | 121 |
| Cost (per task avg) | $0.42 | $0.61 | $0.31 |
Claude Opus 4.7 wins on quality. Gemini wins on cost + context length. GPT-5 wins on raw speed.
I expected GPT-5 to dominate after the OpenAI hype. It didn't.
It's still excellent at:
But for real engineering work: refactors, debugging, migrations โ Claude 4.7 beats it consistently. GPT-5 over-edits, hallucinates helper imports, and gets distracted by adjacent issues.
I've spent 8+ hours/day with all three. Claude is what I open by reflex now.
Why:
CLAUDE.md and actually respects itIt's not flashy. It's just reliable.
If your task involves reading 1M+ tokens of context, Gemini wins by a mile.
Real example: I dumped a 950K-token customer support log + the entire codebase. Asked: "Trace the 7-day spike in checkout errors to its root cause."
Plus Gemini is half the price. For research, log analysis, multi-doc reasoning โ it's my pick.
Cost per 1M output tokens:
| Model | Input | Output |
|---|---|---|
| GPT-5 | $15 | $60 |
| Claude Opus 4.7 | $15 | $75 |
| Gemini 2.5 Ultra | $7 | $21 |
Gemini is 4ร cheaper than Claude. For high-volume background tasks, this matters.
But Claude with prompt caching drops effective cost ~70%. Caching is the great equalizer if your prompts have a stable system message + variable user input.
Tokens/sec at p50:
GPT-5: 143 t/s โโโโโโโโโโโโโโโโ fastest
Gemini: 121 t/s โโโโโโโโโโโโโ
Claude Opus 4.7: 89 t/s โโโโโโโโโ slowestFor UI streaming (chatbots), GPT-5 feels snappier. For background work, the speed difference is invisible.
| Use case | Winner |
|---|---|
| Daily coding assistant | Claude Opus 4.7 |
| Image input / vision tasks | GPT-5 |
| 1M-token context | Gemini 2.5 Ultra |
| Cheapest high-quality | Gemini |
| Production agent loops | Claude 4.7 |
| Test generation | GPT-5 |
| Quick prototyping | GPT-5 |
| Long-running tasks | Claude 4.7 |
| Real-time browsing | Gemini |
| Free tier value | Gemini |
You don't have to pick one. My production stack uses all three:
const router = (task) => {
if (task.contextTokens > 500_000) return gemini25;
if (task.requiresVision) return gpt5;
if (task.isLongAgent) return claudeOpus47;
if (task.isCheapBackground) return gemini25Flash;
return claudeOpus47; // default
};AI Gateways (Vercel, OpenRouter, Portkey) make this routing one line to implement.
By Q4 2026:
The race isn't slowing down. Pick a gateway, not a model.
If you can only pick one model in May 2026: Claude Opus 4.7.
If you can pick two: add Gemini 2.5 Ultra for cost + context.
If you can pick three: keep GPT-5 around for vision and test generation.
The era of "one model to rule them all" is over. The era of model routing is here. ๐
GPT-5 = fast, multimodal, weaker for code.
Claude Opus 4.7 = best engineering work, expensive.
Gemini 2.5 Ultra = best context window, cheapest.
Use all three through a gateway. Stop arguing about which is "best" โ they're best at different things. ๐
80.3% vs 58.6% vs 54.2% on SWE-Bench Pro. I dug through every benchmark I could find comparing Fable 5, GPT-5.5, and Gemini 3.1 Pro โ here's what the numbers actually mean for your stack.
Three frontier models, five benchmarks, one honest verdict. Opus 4.8 leads on real-world coding and knowledge work. GPT-5.5 edges ahead on terminal tasks. Gemini 3.1 Pro is... trying. Here's the full picture.
I spend 8+ hours a day with AI assistants. Here's my brutally honest take on Claude, ChatGPT, and Gemini โ who wins at what, and why I keep switching between them.