Vibe Coding Without the Cloud: Qwen3-Coder on an RTX 5070 Laptop Wrote Snake on the Third Try
Vibe coding means an AI agent writes code from your description, usually in the cloud and on an ever-pricier subscription. The author ran Qwen3-Coder locally on a laptop with an RTX 5070 (8 GB of VRAM) and 24 GB of RAM via the Strata app. The Snake game only worked on the third attempt: the model first reported it was ready, even though the game ended on the first tick. The conclusion: local is possible, but you need a detailed spec and verification of every step.
AI-processed from Habr AI; edited by Hamidun News
Vibe coding means an AI agent writes code from your description, while you mostly formulate the task and check the result. It usually requires cloud Claude, GPT, or Gemini: subscriptions are getting more expensive, limits are being cut, and working code and keys from configs end up on someone else's servers. The author of the Habr review tested whether it's possible to do without the cloud on an ordinary gaming laptop with an RTX 5070 (8 GB of VRAM) and 24 GB of RAM. He ran the local Qwen3-Coder model, connected an agent to it, and asked it to write a Snake game. A working version only appeared on the third iteration, that is, after two unsuccessful fix attempts.
What the hardware is and how it all works
The test machine is a Maibenben X18A with a Ryzen 9 8945HX processor, an RTX 5070 graphics card, and 24 GB of RAM. That's modest for large models, so the author chose not to use Ollama or vLLM, and instead used the Strata app. It can split a model between system RAM and VRAM and detects the hardware automatically.
The idea is simple. Qwen3-Coder-30B-A3B in Q4_K_M compression weighs about 19 GB. It doesn't fit entirely into the 8 GB graphics card, but together with system RAM (24 + 8 = 32 GB) there's enough room. If system RAM isn't enough to hold all of the model's "experts," Strata enables low-RAM mode and reads the missing parts from the SSD. The app recommends leaving about 20% of memory free for other work.
Strata runs a local server with an API compatible with OpenAI and Anthropic at 127.0.0.1:8080. OpenCode, Codex CLI, and Claude Code can connect to it. For Claude Code, it's enough to set the ANTHROPIC_BASE_URL variable. The same agent can be switched between the local model and a paid subscription.
What happened in practice
The first test was Snake in a single HTML file. The model reported that everything was ready, but the game ended right after launch. The starting direction was {0, 0}, and the head ran into itself on the first tick. The second iteration brought four targeted fixes: the snake started moving, but it hit the wall before the player could press a key, and the "Restart" button disappeared. A working version with score, high score, and restart appeared in the third iteration. For that, the author rewrote the requirements as a list in a new session.
The second test was Blender via MCP. This is a protocol that lets a model call external tools: create an object, execute Python code, take a screenshot. The chain Qwen3 8B → blender-mcp → Blender built a cylinder with a radius of 1 m and a height of 2 m, with a 0.6 m sphere on top, on the first call. The author's practical rules:
- Q4_K_M (about 5 GB for an 8-billion-parameter model) is a reasonable minimum for tool calling; Q5_K_M (about 5.8 GB) is more accurate.
- Give the model one action per request: first "create an object," then "assign a material." The model does not hold long chains.
- Watch the context: Blender tools add a couple of thousand tokens to the prompt, and 24K runs out quickly.
The third test was CAD tasks. The model built an enclosure for the ESP32-C3 (internal dimensions 56 × 32 × 20 mm, a cutout for USB-C, four standoffs, and a lip for the lid) with a FreeCAD script and no hints. A version in OpenSCAD was also produced. Gears were harder: calculating the involute tooth profile is difficult, and a small model either writes its own math with errors or confuses the library parameters. The author had to suggest the MCAD library right away. He also recommends running a separate verification prompt that checks the result against the task.
Heat, upgrades, and limitations
During hours of generation the processor reached 70–80 °C, the rear panel 50–55 °C, and the keyboard stayed cool. The author noticed no throttling. The RAM is a single stick, so you can add a second 24 GB module for 48 GB total. The author also installed a separate SSD for models and projects.
For large models he mentions the --n-cpu-moe flag in llama.cpp. Attention and shared layers stay on the graphics card, while the CPU processes the experts. This is how Qwen3-Coder-30B-A3B runs even on 8 GB of VRAM.
The limitations should be stated plainly. This is a single personal experiment on small tasks. It includes no measurements of generation speed in tokens per second and no quality comparison with cloud models. The author himself admits that Claude, GPT, and Gemini are still smarter. The model twice confidently reported a finished result that did not work, so verification remains the human's job.
The practical takeaway: local vibe coding suits firmware, simple enclosures, small 3D models, and scripts, especially when the code can't be sent outside. It requires a detailed spec, breaking tasks into steps, and manual checking. If you work under an NDA or fear a subscription being cut off, try the Strata and OpenCode combo on your own hardware. That way you'll see for yourself where the limits of what's possible lie.
- Nov 23, 2026Asus ProArt P16 for $7,000 Runs a 125-Billion-Parameter AI Model Without the Cloud
- Nov 23, 2026In a Survey of 11,000 Developers, 42% Complain About AI Code They Can't Understand, and 34% About Errors
- Nov 23, 2026DeepSeek Releases R1, an o1-Level Reasoning Model Under MIT License, with API Pricing from $0.55 per Million Tokens
- Nov 23, 2026Dwelly's AI Agents Handle 55% of Rental Steps in Britain Without Humans
Key Questions Answered
What the hardware is and how it all works?
The test machine is a Maibenben X18A with a Ryzen 9 8945HX processor, an RTX 5070 graphics card, and 24 GB of RAM. That's modest for large models, so the author chose not to use Ollama or vLLM, and instead used the Strata app. It can split a model between system RAM and VRAM and detects the hardware automatically. The idea is simple. Qwen3-Coder-30B-A3B in Q4_K_M compression weighs about 19 GB. It doesn't fit entirely into the 8 GB graphics card, but together with system RAM (24 + 8 = 32 GB) there's enough room.
What happened in practice?
The first test was Snake in a single HTML file. The model reported that everything was ready, but the game ended right after launch. The starting direction was {0, 0}, and the head ran into itself on the first tick. The second iteration brought four targeted fixes: the snake started moving, but it hit the wall before the player could press a key, and the "Restart" button disappeared. A working version with score, high score, and restart appeared in the third iteration.
What are the key details on Heat, upgrades, and limitations?
During hours of generation the processor reached 70–80 °C, the rear panel 50–55 °C, and the keyboard stayed cool. The author noticed no throttling. The RAM is a single stick, so you can add a second 24 GB module for 48 GB total. The author also installed a separate SSD for models and projects. For large models he mentions the --n-cpu-moe flag in llama.cpp. Attention and shared layers stay on the graphics card, while the CPU processes the experts. This is how Qwen3-Coder-30B-A3B runs even on 8 GB of VRAM.
Build & Ship Production AI Agents Without Boilerplate Code
Start your free 72-hour trial at Hamidun Academy (academy.hamidun.com) — interactive lessons on Claude Code & Cursor, live Tech Radar, and production agent templates.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.