← Back to Coding Agents

Coding agent build-off

Claude Opus 4.8 vs Subconscious GLM-5.2

Seven identical, spec-heavy prompts handed to each model. Same instructions, no follow-ups, a single self-contained HTML file out. Open each result and judge the output yourself.

Main takeaways

  • GLM-5.2 is open source, which makes this especially impressive. An openly available model going toe-to-toe with a frontier closed model on builds this demanding is a remarkable showing for open weights.
  • Both produced similar impressive results. Both models took every prompt and handed back a single working HTML file on the first try, no hand-holding or follow-up edits. Both models show off visually the capabilities of frontier intelligence.
  • The cost came out about even. Claude ran $5.15 across all seven, GLM $4.95, basically a wash. GLM was the cheaper pick on the five everyday builds, but was slightly more expensive on the more thought intensive processes.
  • GLM was slower to complete the tasks. GLM took around 2-3x as long as Claude.

The seven build-offs

01 / health-dashboard

Health & Wellness Dashboard

Claude $0.51·GLM $0.27View prompt →
  • Responsive "Vitals" dashboard with four trend stat cards
  • Stacked sleep-stage bar chart and a heart-rate line with average reference
  • Steps chart with a color-coded goal line
  • Animated activity rings and a light/dark toggle
  • Chart.js from CDN, exact hardcoded data

Claude Opus 4.8

open full →
$0.51cost
1m 50sAPI
622lines

Subconscious GLM-5.2

open full →
$0.27cost
4m 25sAPI
694lines

02 / minesweeper

Minesweeper

Claude $0.41·GLM $0.38View prompt →
  • Fully playable classic Minesweeper with first-click safety, flood fill, and chording
  • Three difficulty presets, including the 30x16 Expert board
  • Flag / question cycling and touch long-press
  • The classic number palette and a smiley reset
  • Mine counter and timer

Claude Opus 4.8

open full →
$0.41cost
1m 21sAPI
605lines

Subconscious GLM-5.2

open full →
$0.38cost
5m 39sAPI
1,011lines

03 / solar-system

3D Solar System

Claude $0.60·GLM $0.24View prompt →
  • Interactive Three.js solar system with a glowing, point-lit sun
  • Eight planets on delta-timed orbits; Earth's moon parented to a moving Earth
  • Saturn's tilted rings, faint orbit paths, and a 3,000-point starfield
  • Click-to-focus camera
  • Control panel for time-scale, orbit paths, and screen-tracking planet labels

Claude Opus 4.8

open full →
$0.60cost
2m 9sAPI
695lines

Subconscious GLM-5.2

open full →
$0.24cost
4m 51sAPI
563lines

04 / landing-page

SaaS Landing Page: "Cadence"

Claude $0.69·GLM $0.30View prompt →
  • Full marketing landing page for a fictional async-standup SaaS
  • Sticky nav that solidifies on scroll; hero with a pure-CSS product mockup
  • Logo strip and feature / step / testimonial grids
  • Pricing table with a monthly/annual toggle and an FAQ accordion
  • Scroll-in animations; fixed copy, Inter from a CDN

Claude Opus 4.8

open full →
$0.69cost
2m 24sAPI
826lines

Subconscious GLM-5.2

open full →
$0.30cost
3m 15sAPI
1,481lines

05 / threejs

Three.js Shattering Crystal

Claude $0.65·GLM $0.18View prompt →
  • Interactive 3D icosahedral crystal that fractures into its faces on click
  • Faces fly out on parabolic trajectories with particles
  • Reassembles perfectly after three seconds, frame-rate independent
  • Hand-rolled orbit controls
  • PBR material with a procedural env-map and fully specified bright lighting

Claude Opus 4.8

open full →
$0.65cost
2m 36sAPI
683lines

Subconscious GLM-5.2

open full →
$0.18cost
7m 37sAPI
716lines

06 / fluid

WebGL Fluid Simulation

Claude $0.86·GLM $0.93View prompt →
  • Real-time GPU fluid simulation solving the incompressible Navier-Stokes equations in fragment shaders
  • Drag to inject dye and velocity
  • Ping-pong framebuffers run advection, divergence, a Jacobi pressure solve, gradient subtraction, and vorticity confinement
  • Live FPS, a tunable control panel, and a reset
  • No external assets at all

Claude Opus 4.8

open full →
$0.86cost
3m 15sAPI
681lines

Subconscious GLM-5.2

open full →
$0.93cost
12m 58sAPI
1,087lines

07 / wilson-loop

Lattice Gauge Theory: Wilson Loop

Claude $1.43·GLM $2.04View prompt →
  • The hard one: a correct Monte Carlo simulation of 2+1D compact U(1) lattice gauge theory
  • Metropolis updates via staples
  • Live plaquette-energy heatmap and MC history
  • cos(theta_P)-vs-beta scan with the strong-coupling overlay, static potential, and Creutz-ratio string tension
  • The physics must be checkable against known results

Claude Opus 4.8

open full →
$1.43cost
6m 11sAPI
766lines

Subconscious GLM-5.2

open full →
$2.04cost
11m 7sAPI
934lines

© 2026 Subconscious Systems Technologies, Inc.

Subconscious