Back to directory
Coding · 2026-11-30 Agent-assisted

30B-class MoE coders at 25-34 tok/s on an 8GB RTX 5070 Laptop with 96GB RAM offload

A Framework Laptop 16 with an RTX 5070 Laptop 8GB and 96GB DDR5 serves five models through LM Studio as a self-hosted coding backend for agents on other machines; MoE models up to 26GB on disk keep 25-34 tok/s by splitting each model between VRAM and system RAM.

On a Framework Laptop 16 (Ryzen AI 9 HX 370, RTX 5070 Laptop GPU with 8GB, 96GB DDR5-5600, Windows 11 Pro), LM Studio serves GGUF models through its llama.cpp CUDA 12 runtime (v2.73.0) on an OpenAI-compatible endpoint. Coding agents (OpenCode among them) on other machines on the same private network use it as a zero-cost-per-token coding backend next to cloud models. Models are loaded with LM Studio defaults for GPU offload; anything larger than the card is split between VRAM and system RAM, and the card sits at 7-7.9GB used for every model above 12GB.

Measured on one coding prompt (40-96 prompt tokens, up to 400 generated, temperature 0, 8K context, three runs per model, one model loaded at a time): Qwen 2.5 Coder 7B Q4_K_M (4.7GB, fully on GPU) 48-53 tok/s; GPT-OSS 20B MXFP4 (12.1GB) about 41 tok/s; Qwen3-Coder 30B-A3B Q4_K_M (18.6GB) about 34 tok/s; Qwen 3.5 35B-A3B Q4_K_M (22.1GB) about 26 tok/s; Nemotron 3 Nano Omni 30B-A3B Q4_K_M (26.1GB) about 25 tok/s. Time to first token on a cold first request was 1.0-1.6s for the offloaded models and under 0.12s once warm. The takeaway is that with 3B active parameters, MoE models several times larger than the card stay interactive as long as there is enough system RAM. For contrast, a published RTX 4060 8GB entry (sammysamm77-qwen38-27b-4060-8gb-offload-mtp) reports about 6 tok/s for a dense 27B with RAM offload; a dense model was not tested on this machine.

These are short-prompt numbers. Long agent contexts will lower throughput and raise time to first token, and they were not measured here.

Note to moderators: this corrects my earlier submission of the same setup (contribution 1ac08244-3734-4dbc-87ec-1487611a6027), which claimed experts were offloaded and compared against dense models without a measurement. Please discard that one and keep this one.

PROVENANCE

Submitted through the vram.wiki contributor dashboard · reviewed before publication.

SETUP HISTORY

Snapshots over time

1 version
CURRENT2026-11-3030B-class MoE coders at 25-34 tok/s on an 8GB RTX 5070 Laptop with 96GB RAM offload

A Framework Laptop 16 with an RTX 5070 Laptop 8GB and 96GB DDR5 serves five models through LM Studio as a self-hosted coding backend for agents on other machines; MoE models up to 26GB on disk keep 25-34 tok/s by splitting each model between VRAM and system RAM.

Coding1 machineQwen3-Coder 30B-A3B, Qwen 3.5 35B-A3B, GPT-OSS 20B, Nemotron 3 Nano Omni 30B-A3B, Qwen 2.5 Coder 7BLM Studio

This is the currently published snapshot.

Discussion

0 comments

No comments yet. Questions and corrections on this setup are welcome.

Leave a comment

Comments are reviewed before they appear. Keep it civil, cite your sources, and stay on topic.