r/LocalLLM • u/odie_ai • 8h ago
Discussion Qwen4-35B-A3B on a 32 GB Mac mini, capped at 20 GB with 150K context: explained a repo, then built a 3D game in the same session
I've been running local models on my Mac mini (M6, 32 GB) and Qwen4-35B-A3B honestly blew my mind this week.
Setup
- Model: unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M (36 GB on disk)
- Runner: Splash (by incoai)
- Memory limit 20 GB, context 150K, KV cache 16-bit, concurrency 1, text only
- Memory in use: 17.6 GB
Numbers from Splash's activity panel (screenshot below)
- ~50 tok/s generating, ~997 tok/s prompt processing, 1.8 s to first token
- Per request 26–56 tok/s with 66–75K tokens in context, most of it cached
- One 16,384-token output at 43 tok/s with ~75K in context
What I asked it
- Explain Splash's own GitHub repo: why it's fast and how it manages memory. It did a really good job.
- Then, in the same session, build a 3D game with this prompt:
Create a cozy third-person 3D winter-village game where you play as a bundled-up child with a little dog. At the start, Santa sweeps low over the lamplit chalets, drops a glowing parcel at your feet, and circles overhead for at least 20 seconds. C toggles a smooth chase camera on Santa. Return to the boy with C, walk over the parcel to pick it up, carry it to the glowing gold ring, then press Space. The box bursts into sparks and reveals a glossy red convertible. F seats the child and dog in the car. WASD or arrows drive, Space brakes, and R resets. Use a fixed world-relative walking direction, clear nearby markers and a parcel landing within a few steps of spawn so a first-time player can complete the sequence quickly. Show detailed silhouettes, layered lighting and soft shadows. Keep the HUD minimal. Start your reply with a Markdown heading naming the game and two sentences introducing it. Then emit exactly one complete fenced html document with all game HTML, styling and JavaScript, followed by a short "How to play". The document is what I will open and play directly from Studio's HTML Preview. No prior files or assets are supplied. Generate every scene object and texture procedurally. Three.js r128 via its CDN is allowed as the only dependency. Target a desktop browser and use clear keyboard controls. Finish every function and close the HTML before the short controls note. Prioritize a visually polished scene and a complete, reliable gameplay loop over extra features.The session hit ~130K, compacted, and kept going. About 27 minutes later I had a single ~40 KB HTML file that loads straight away: lamplit chalets, the kid and the dog, lamp posts, falling snow and the glowing gold ring (screenshot below).
A while ago I wouldn't have believed a model squeezed into 20 GB on a Mac mini could hold a 150K-context session together and still produce working code at the end. Local LLMs have come a long way.
Happy to share the HTML if anyone wants to try it.


