Local Qwen 35B on 2x RTX 3090 writes 3,805-line voxel game at 247 tok/s
Sisuuu · reddit · 2026-12-06
A developer had a local Qwen4-35B-A3B MoE model, served on 2x RTX 3090s at a mean 247.5 tok/s, build Skyshard — a complete three.js voxel game with procedural islands, greedy meshing, AABB physics, day/night sky, and an installable offline PWA with touch controls.
Division of labor
- The local model (via the pi coding agent) wrote all 3,805 lines of game code
- Claude acted purely as orchestrator: spec, 15 contracts, test gates (Playwright + node:test) — zero game code
- The worker was forbidden from touching tests; once it reported a wrong test instead of editing it
Key numbers (from vLLM /metrics): 638,836 generated tokens, 41M prompt tokens (mostly prefix-cache hits), 86 min wall time, 1,335 tok/s peak, 512K context. Serving recipe: DFlash2 speculative decoding (k=7, 2.7 mean acceptance), W4A16-FP8PLE quantized weights, sm86 kernel overlays (code single-stream 319→464 tok/s).
The honest lesson: after 12 green contracts, a scripted playtest still found 4 fatal bugs — the win-condition beacon could be mined (game unwinnable), and no island was glide-reachable from spawn (core loop broken). Each became a failing gate then a contract, and pi fixed all four.
Caveats: contracts were highly detailed (algorithms and numbers specified), so this demonstrates well-specified execution, not one-prompt game design; runs aren't deterministic. Full repo with docker/vLLM configs, weight hashes, transcripts and metrics is public.
More from coding & agent
- Microsoft's Freehand: minimal agent harness beats Codex, Claude Code by 5.1 pts at 49% less cost — calabi_and_yau · 2026-12-06
- MCPShield: open-source security toolkit with 60 rules to scan and guard MCP servers — kwasiaffi · 2026-12-06
- model-service: open-source backend runs Qwen LLM, image gen, TTS/STT on one GPU — Illustrious-Cloud355 · 2026-12-06
- Dev cites 3,181 GitHub contributions to refute "low effort" AI development claim — AIandDesign · 2026-12-06
- ETH students turn Claude into a free chess coach with MCP Apps, Stockfish and Maia — Weekly_Trade3701 · 2026-12-06
- Tickets are great for audits: who's allowed to mark "done" decides record vs. claim — hwchase17 · 2026-12-06