LocalTPS

Can NVIDIA RTX 5090 (32GB) Run Qwen3-Coder-Next 80B (MoE)?

Quick Verdict:Partially (with RAM offload) — at 64K context (Q4_K_M), Qwen3-Coder-Next 80B (MoE) requires 48.1 GB vs 32 GB VRAM, offloading 36% of weights to system RAM at ~115.7 tok/s.

Hardware

GB
Memory Type

Model & Context

MoE · 79.7B (1.6B active)
HF config.json
12/48 KV · Hybrid Stateunsloth/Qwen3-Coder-Next-GGUF
Coding Agent Context Presets
65,536 tokens · KV: FP16
Context Window64K / 256K
KV Cache Quant
MTP Speculative Decoding
Usable (Slight Lag)

Offloading 36% of weights to RAM. Switch to Q4_0 KV Cache for full-GPU speed.

Generation Speed
115.7 tok/s
Offload Penalty Applied
Time to First Token (TTFT)
25.8 sec
32,000 prompt tokens
VRAM Status
RAM Offload
48.1 / 32 GB
64% GPU · 36% RAM
VRAM Allocation BreakdownTotal Required: 48.15 GB / 32 GB VRAM
VRAM Limit (32 GB)
Model Weights (GGUF):45.20 GB
KV Cache:1.66 GB
Runtime Overhead:1.29 GB
Offloaded to System RAM (+16.15 GB)

Technical FAQ

How much VRAM does Qwen3-Coder-Next 80B (MoE) need at 64K context?

With Q4_K_M GGUF weights (45.20 GB), FP16 KV Cache (1.66 GB), and runtime overhead (1.29 GB), total VRAM required at 65,536 tokens is 48.15 GB.

Is NVIDIA RTX 5090 (32GB) fast enough for Cline or OpenCode with Qwen3-Coder-Next 80B (MoE)?

Rated "Usable (Slight Lag)" at 64K context: 115.7 tok/s decode and 25.8s TTFT for 32,000 prompt tokens. Offloading 36% of weights to RAM. Switch to Q4_0 KV Cache for full-GPU speed.

How much VRAM does Q4_0 KV Cache save on Qwen3-Coder-Next 80B (MoE)?

Switching KV Cache from FP16 to Q4_0 at 64K context cuts KV memory from 1.66 GB down to 0.58 GB, lowering total memory to 47.07 GB (132.9 tok/s).

Is it cheaper to run Qwen3-Coder-Next 80B (MoE) locally or via Cloud API / RunPod?

For full-time coding agent usage (5M input + 1M output tokens/day), OpenRouter costs ~$55.00/mo, while renting NVIDIA A100 80GB PCIe on Vast.ai costs ~$167.20/mo. Upgrading to NVIDIA H100 GPU accelerator (SXM card) (64GB) ($2,240 MSRP) pays back in ~61.3 months.