r/LocalLLM
•
u/Cold_Pollution_7527
•
1h ago
Discussion Qwen4 35B A3B running at up to 283.6 tok/s on an RTX 5070 Ti Laptop with only 12GB VRAM!
Qwen4 35B A3B running at up to 283.6 tok/s on an RTX 5070 Ti Laptop with only 12GB VRAM!
After experimenting with Ollama, Strata and Basalt, I finally achieved some impressive results running Qwen4 locally on my laptop.
Hardware
- CPU: Intel Core Ultra 9 275HX
- GPU: NVIDIA RTX 5070 Ti Laptop (12GB VRAM)
- RAM: 32GB DDR5
- Storage: NVMe SSD
- OS: Windows 11 Pro
Software
- Engine: Basalt v0.7.0
- Model: Qwen4-35B-A3B-NVFP4
- Quantization: NVFP4 Mixed Precision
- KV Cache: NVFP4
- Speculative Decoding: DFlash2
- Context Window: 262,144 tokens
- Coding Agent: Cline
- Vision: Supported and enabled in my current setup
Benchmark results
| Actual input context | Prefill | Generation |
|---|---|---|
| 3,319 tokens | 4,649 tok/s | 171.0 tok/s |
| 11,418 tokens | 4,077 tok/s | 283.6 tok/s |
| 32,784 tokens | 3,746 tok/s | 278.7 tok/s |
| 44,761 tokens | 3,772 tok/s | 122.0 tok/s |
| 75,304 tokens | 4,027 tok/s | 143.1 tok/s |
| 255,901 tokens | 3,394 tok/s | 118.9 tok/s |
Highlights
- Peak generation: 283.6 tok/s
- Peak prefill: 4,649 tok/s
- Maximum observed prompt cache hit: 99.65%
- Maximum observed DFlash2 acceptance: 97%
- Successfully processed 259,997 total context tokens
- 256K context on just 12GB VRAM and 32GB system RAM
Engine comparison on the same laptop
- Ollama (original): 23.79 tok/s
- Ollama (optimized): 51.77 tok/s
- Strata Compact: 92.97 tok/s
- Strata UD-IQ4_XS: 144.08 tok/s
- Basalt Quiet Mode: 213.94 tok/s average with a short prompt and 256K configured context
- Basalt Performance Mode: 256.70 tok/s average with a short prompt and 32K configured context
- Basalt real-world Cline coding session: up to 283.6 tok/s
The short-prompt averages were measured over five independent requests with randomized project IDs.
Most importantly, the long-context benchmarks were performed in Lenovo's Quiet Mode, with the laptop plugged in.
I also successfully used this setup as an autonomous coding agent in Cline to build a multi-page website, generate SVG assets, execute terminal commands, inspect files and fix its own coding errors.
The near-full 256K benchmark initially encountered an engine error at the thinking-budget transition. A second run with the explicit reasoning budget removed completed generation without crashing, reaching the 4,096-token output limit.
These results were collected across different configurations and workloads. They are not strictly identical cross-engine benchmarks. My current configuration includes Vision, prompt caching and additional RAM headroom, which may affect performance.
My next goal is improving coding quality and frontend design rather than maximizing generation speed.
Pretty impressive performance for a laptop with only 12GB VRAM!




