Get the Agent OS + join 4,000+ founders inside the AI Profit Boardroom → Join AIPB ($59/mo)
Real head-to-head · same prompt, one shot

Claude Sonnet 5 vs Qwen 3.8

The agentic SWE frontier — 82% SWE-bench Verified, Dev Team mode. vs Alibaba's 2.4T flagship — benched through Qoder.

Head-to-head verdict: Qwen 3.8 wins 27–8 with 3 ties.

Claude Sonnet 5 · context1M tokens
Qwen 3.8 · contextQoder-hosted
Claude Sonnet 5 · price$3 / $15 per M ($2/$10 intro)
Qwen 3.8 · priceQoder plan
Claude Sonnet 5 · vendorAnthropic
Qwen 3.8 · vendorAlibaba

What I tested — same prompt, two models

I run the same fixed prompt set through every new model the day it drops — same string, one shot, single HTML file out — and I score the result 0–10 on whether it ran, how close it hit the brief, and how good it looked. Below is what came out when I gave the exact same prompts to Claude Sonnet 5 and Qwen 3.8, side by side, on 38 shared tasks inside the Agent Operating System.

Both models were given identical prompts inside the Agent Operating System — no help, no iteration, no "best of N" tricks. I run each prompt once, save the HTML file the model produces, and score it 0–10 on whether it ran, how close it hit the brief, and how good it looked. The scoring is mine. The verdicts below are pulled from my source comparison guides at agentos.guide where I publish every score and the reasoning behind it.

Claude Sonnet 5 · Reach for it in Agent OS when the job is iterative, tool-using software engineering. For one-shot visual builds, GLM 5.2 (free) beat it 4-1 here.

Qwen 3.8 · Benched on GoldieBench via the Qoder CLI (`qoder-qwen`, model Qwen3.8-Max-Preview) — the only door while it has no public API. Non-game tasks are one-shot like the rest of the field. GAME tasks run in Qoder's real AGENT mode: skill-infused build, then up to 2 QA fix rounds where a vision judge + live console errors are fed back and Qwen 3.8 edits its own file (it took crypt from a black-screen 3.0 to a torch-lit 7.8). Scored on a mid-play frame by the same Opus judge as everyone else. This is a partial run — the full 50-task card replaces it when the batch completes.

Side-by-side on 50 shared tasks

Click any cell to play that model's actual one-shot attempt. Medals are derived from my 0–10 scores per task (highest = 🥇, second = 🥈, third = 🥉).

Task ↓
Claude Sonnet 5
Qwen 3.8
Game
Claude Sonnet 5 on Arcade
Qwen 3.8 on Arcade
Game
Claude Sonnet 5 on Crypt
Qwen 3.8 on Crypt
Game
Claude Sonnet 5 on Dogfight
Qwen 3.8 on Dogfight
Game
Claude Sonnet 5 on Doom
Qwen 3.8 on Doom
Claude Sonnet 5 on Dragonflight
Qwen 3.8 on Dragonflight
Claude Sonnet 5 on Dragonrealm
Qwen 3.8 on Dragonrealm
Game
Claude Sonnet 5 on Flightsim
🥈Qwen 3.8 on Flightsim
Game
Claude Sonnet 5 on Game
Qwen 3.8 on Game
Game
Claude Sonnet 5 on Gtadrive
🥈Qwen 3.8 on Gtadrive
Game
Claude Sonnet 5 on Gtafoot
🥉Qwen 3.8 on Gtafoot
Claude Sonnet 5 on Neonblaster
🥈Qwen 3.8 on Neonblaster
Game
Claude Sonnet 5 on Neonracer
Qwen 3.8 on Neonracer
Claude Sonnet 5 on Nordiccrypt
Qwen 3.8 on Nordiccrypt
Game
Claude Sonnet 5 on Outrun
🥇Qwen 3.8 on Outrun
Game
Claude Sonnet 5 on Racing
🥉Qwen 3.8 on Racing
Game
Claude Sonnet 5 on Rpg
Qwen 3.8 on Rpg
Game
Claude Sonnet 5 on Skyrim
🥉Qwen 3.8 on Skyrim
Claude Sonnet 5 on Twilightvale
Qwen 3.8 on Twilightvale
Page
Claude Sonnet 5 on Aipbpromo
🥇Qwen 3.8 on Aipbpromo
Page
Claude Sonnet 5 on Landing
Qwen 3.8 on Landing
Sim
Claude Sonnet 5 on Blackhole
Qwen 3.8 on Blackhole
Sim
Claude Sonnet 5 on Boids
🥇Qwen 3.8 on Boids
Sim
Claude Sonnet 5 on Cloth
🥇Qwen 3.8 on Cloth
Sim
🥉Claude Sonnet 5 on Fluid
Qwen 3.8 on Fluid

Where Claude Sonnet 5 beat Qwen 3.8

The tasks where I gave Claude Sonnet 5 a higher 0–10 score on the same prompt — with the actual commentary from my source guides.

Game Game
Claude Sonnet 5 8.2 · Qwen 3.8 6.5 (+1.7)

What I saw: Strong, polished 3D Three.js build with clean neon aesthetic, glowing player orb, colorful octahedron collectibles, spinning obstacles, shadows, starfield, and full HUD/lives/timer loop — clearly shippable. Falls just short of the field's best due to being a fairly familiar colle…

Doom Game
Claude Sonnet 5 8.0 · Qwen 3.8 7.4 (+0.6)

What I saw: Renders a clean raycaster maze with atmospheric red-lit walls, working minimap, HUD health/kills bar, crosshair and a monster visible at screen edge; solid feature set (hitscan shooting, chasing AI, damage flash, touch controls) makes it strong and shippable, though the wall shad…

Claude Sonnet 5 7.6 · Qwen 3.8 7.0 (+0.6)

What I saw: Renders a clean 3D neon-ring flight scene with a full HUD (score, distance, speed/Mach, fury bar, radar, touch controls) and a recognizable winged dragon body with glowing spikes. Solid and shippable, but the dragon model reads a bit blobby/awkward from behind and the scene feels…

Arcade Game
Claude Sonnet 5 8.2 · Qwen 3.8 7.8 (+0.4)

What I saw: Clean, polished neon Breakout that renders perfectly with glowing bricks, gradient paddle, particle bursts, and a live in-progress state (score 10, a brick already cleared). Solid physics with side-aware collisions and level scaling, but it's a well-executed take on the most comm…

Claude Sonnet 5 6.8 · Qwen 3.8 6.4 (+0.4)

What I saw: Renders a functional first-person maze with warm torch glow, dust motes, minimap, and clean Nordic-styled UI, but the view is washed-out and flat — walls read as a beige grid without depth, stone/rune detail is barely visible, and it lacks the atmospheric contrast and dungeon men…

Where Qwen 3.8 beat Claude Sonnet 5

The tasks where I gave Qwen 3.8 a higher 0–10 score on the same prompt — with the actual commentary from my source guides.

Aurora Visual
Qwen 3.8 8.6 · Claude Sonnet 5 2.5 (+6.1) · Layered luminous curtains

What I saw: Gorgeous multi-ribbon aurora with convincing teal-to-violet gradients, glowing hems, vertical light shafts, twinkling stars and layered mountain ridges — polished and clearly on-brief. Only minor nit is the slightly stark ridge silhouettes, but the overall composition and depth t…

Solar Sim
Qwen 3.8 8.6 · Claude Sonnet 5 2.5 (+6.1) · Polished orbital sim

What I saw: Strong render: convincing textured sun with corona, distinct banded Jupiter, textured Earth/Venus/Mercury, orbit rings, asteroid belt, and a highly polished editorial UI with working clock, info panel, chips, and speed control. Minor nit — the info panel's dashes for sun's orbita…

Qwen 3.8 8.4 · Claude Sonnet 5 3.0 (+5.4) · Atmospheric twilight village

What I saw: Strong twilight atmosphere with cohesive low-poly village, snow, lit lanterns, character model, and polished HUD (minimap, quest, elite bar) all rendering cleanly on-brief. Held just under top tier because the screenshot shows no visible enemies engaged and combat/weather can't b…

Orbit Sim
Qwen 3.8 8.6 · Claude Sonnet 5 3.5 (+5.1) · Cinematic N-body

What I saw: Stunning render — glowing central star with 371 orbiting bodies, colorful nebulae, and dust lanes create a genuinely cinematic gravitational field, backed by real N-body physics with softening and live telemetry. Polished 'Flight Deck' controls (gravity/time sliders, trails, burs…

Gtadrive Game
Qwen 3.8 8.6 · Claude Sonnet 5 4.5 (+4.1) · Dusk City Cruiser

What I saw: Gorgeous dusk-lit voxel city with a polished HUD (stars, health/car bars, minimap, cash, cops-down) and visible traffic plus a well-modeled player car with drive-by crosshair; the atmospheric skybox, shadows, and complete GTA feature set (jack cars, wanted stars, cop combat) push…

Strengths & weaknesses I logged

Claude Sonnet 5

Strengths

  • 82.1% SWE-bench Verified — first model past 80% on real GitHub-issue repair
  • Dev Team multi-agent mode + 1M context for repo-level agentic work
  • Precision on hard logic — won the raycaster the open-weight field kept botching

Trade-offs

  • One-shot creative-visual builds trail GLM 5.2 here (lost 4 of 5) — no iteration to catch its own bugs
  • A temporal-dead-zone bug blanked its N-body orbit sim on the first shot

Qwen 3.8

Strengths

  • Skyrim-style open worlds — the Dragon Realm build rendered a lit snowfield, first-person sword and working roaming enemies (7.8)
  • Held up across game genres early — voxel sandbox and Doom raycaster both came out shippable
  • Runs as a real agentic coder inside Qoder (writes + iterates on files), not just a chat model

Trade-offs

  • Torch-lit dungeon (crypt) came out generic (6.3); one open-world RPG one-shot black-screened (twilightvale 2.5) — classic three.js r128 API drift
  • Preview is Qoder / Token-Plan only — no OpenRouter or public API, so it can't be routed into an app the way the OpenRouter models can

Pricing & context — the spec sheet

Spec Claude Sonnet 5 Qwen 3.8
VendorAnthropicAlibaba
Context window1,000,000 tokensServed through Alibaba's Qoder agent platform; the 3.8-Max preview has no standalone public context window yet.
Price$3 / $15 per M ($2/$10 intro)Qoder plan
Pricing detail$3.00 input / $15.00 output per million tokens; introductory $2.00/$10.00 through 2026-08-31.Qwen3.8-Max-Preview is Alibaba's ~2.4T-parameter flagship, positioned just behind Claude Fable 5. It is NOT on OpenRouter or a public API yet — the only access today is inside Qoder (Alibaba's agentic coding platform, free 2-week Pro trial). Benched here via the Qoder CLI on model `Qwen3.8-Max-Preview`, one-shot.
Release2026-06-302026-07
Bench coverage47/47 scored · avg 7.01/1041/41 scored · avg 8.22/10

The verdict — which should you pick?

Across 38 scored shared tasks, Qwen 3.8 averaged 8.24/10, beating Claude Sonnet 5's 6.97/10 by 1.27 points. Pick Qwen 3.8 when the build has to ship on the first prompt and you can afford the trade-offs in the comparison below.

If you only run one of these inside your stack, the head-to-head average above is the call. If you can run both, my honest play is to wire Claude Sonnet 5 and Qwen 3.8 both into the Agent Operating System and dispatch each from the kanban by task type — agentic software engineering — write / run / test / fix loops on real repos → Claude Sonnet 5, one-shot 3d game and world prototypes where atmosphere matters → Qwen 3.8. That's the same setup I run for the 4,000+ founders inside the AI Profit Boardroom.

FAQ — Claude Sonnet 5 vs Qwen 3.8

Which is better, Claude Sonnet 5 or Qwen 3.8?

On Goldie Bench, Claude Sonnet 5 averages 6.97/10 across the shared tasks, with 0 gold, 2 silver, 3 bronze overall. Qwen 3.8 averages 8.24/10, with 10 gold, 9 silver, 5 bronze. Qwen 3.8 wins the head-to-head 27–8.

How much does Claude Sonnet 5 cost vs Qwen 3.8?

Claude Sonnet 5: $3.00 input / $15.00 output per million tokens; introductory $2.00/$10.00 through 2026-08-31. Qwen 3.8: Qwen3.8-Max-Preview is Alibaba's ~2.4T-parameter flagship, positioned just behind Claude Fable 5. It is NOT on OpenRouter or a public API yet — the only access today is inside Qoder (Alibaba's agentic coding platform, free 2-week Pro trial). Benched here via the Qoder CLI on model `Qwen3.8-Max-Preview`, one-shot.

What's the context window for Claude Sonnet 5 vs Qwen 3.8?

Claude Sonnet 5 has a 1,000,000 tokens context window. Qwen 3.8 has a Served through Alibaba's Qoder agent platform; the 3.8-Max preview has no standalone public context window yet. context window.

When should I pick Claude Sonnet 5 over Qwen 3.8?

Pick Claude Sonnet 5 for: Agentic software engineering — write / run / test / fix loops on real repos; Repo-level reasoning across a 1M-token context (Dev Team multi-agent mode); Precise logic — raycasters, physics — where one-shot open models slip. The trade-off is the weaknesses we logged on the bench: One-shot creative-visual builds trail GLM 5.2 here (lost 4 of 5) — no iteration to catch its own bugs; A temporal-dead-zone bug blanked its N-body orbit sim on the first shot.

When should I pick Qwen 3.8 over Claude Sonnet 5?

Pick Qwen 3.8 for: One-shot 3D game and world prototypes where atmosphere matters; Anyone already in the Qoder IDE/CLI wanting a near-frontier model free on the Pro trial; A cheaper stand-in for Fable 5 on creative-visual builds. The trade-off is the weaknesses we logged on the bench: Torch-lit dungeon (crypt) came out generic (6.3); one open-world RPG one-shot black-screened (twilightvale 2.5) — classic three.js r128 API drift; Preview is Qoder / Token-Plan only — no OpenRouter or public API, so it can't be routed into an app the way the OpenRouter models can.

How does Goldie Bench score Claude Sonnet 5 vs Qwen 3.8?

Every demo on this page was built by Julian Goldie inside the Agent Operating System — same fixed prompt for both models, one shot, single HTML file out. Each result gets a 0–10 score on whether it ran, how close it hit the brief, and how good it looked. The highest score on each task gets gold; second gets silver; third gets bronze. See methodology for full provenance.

The same stack Julian uses

Run this stack yourself.

Every demo on this bench was built inside the Agent Operating System — one prompt, one shot, single HTML file out. The Agent OS, the prompts, the templates, the weekly walkthroughs and 4,000+ founders shipping with it every day all live inside the AI Profit Boardroom.

4,000+founders
258documented wins
38countries
$59/momonthly