# Running Qwen4-35B-A3B Locally at 150–900 tok/s with the Basalt Engine on RTX 50-Series GPUs

- **URL:** https://dottheais.com/guides/qwen4-35b-a3b-basalt-blackwell-local-inference-guide
- **Published:** 2026-12-06
- **Updated:** 2026-12-06
- **Topic:** Local AI & Hardware

## Quick Answer

Basalt is a dedicated local inference engine built for NVIDIA Blackwell (sm_120) GPUs that runs Qwen4-35B-A3B from a single self-contained .basalt file using hardware NVFP4 tensor cores, dynamic VRAM/RAM expert tiering, and speculative decoding—hitting 150–250 tok/s on 16GB 5060 Ti/5070 Ti rigs and 350–900+ tok/s on RTX 5090.

## Key Takeaways

- Packages weights, tokenizer, vision tower, chat protocol, and speculative drafters (MTP / RadixArk DFlash 2) into one .basalt file.
- Exposes both OpenAI-compatible and Anthropic-compatible local APIs for drop-in use with coding harnesses like Hermes.
- 16GB Blackwell GPUs (RTX 5060 Ti / 5070 Ti) keep hot experts in VRAM and stream cold experts from 32–64GB system RAM cleanly.
- Cap practical working context at 256k–512k with --kv int8 and LCM compression to keep decode speeds high.

## Why Basalt Is So Much Faster Than Generic Runners on 50-Series Cards

Standard cross-platform runners leave substantial performance on the table on **NVIDIA Blackwell (Compute Capability `sm_120`)**. **Basalt** targets Blackwell specifically with four optimizations:

1. **Native NVFP4 quantization:** Uses Blackwell's hardware 4-bit FP4 tensor cores directly (`Qwen4-35B-A3B-NVFP4.basalt`), preserving close-to-BF16 precision at a fraction of memory bandwidth.
2. **Single-file bundle:** Weights, tokenizer, vision encoder, chat template, and speculative drafters ship in one `.basalt` artifact—no mismatched mmproj or template configs.
3. **Smart VRAM/RAM expert tiering:** On a 32GB RTX 5090, all active experts sit directly in VRAM. On 16GB cards (5060 Ti / 5070 Ti), frequently activated experts stay pinned in VRAM while overflow experts stream from DDR4/DDR5 RAM.
4. **Built-in speculative decoding:** Supports Multi-Token Prediction (MTP) and RadixArk's **DFlash 2** drafters for dramatic decode acceleration.

## Real Community Hardware Numbers

| Hardware Setup | Context Config | Reported Decode Speed |
| --- | --- | --- |
| **RTX 5060 Ti 16GB + 64GB DDR4** | 256k context (Hermes + LCM) | **150–200 tok/s** |
| **RTX 5070 Ti 16GB + 64GB DDR5** | Up to 512k–1M context | **~250 tok/s** |
| **RTX 5090 (32GB)** | Full VRAM experts + speculative decode | **350–900 tok/s** |

## Recommended Tuning for Daily Coding

- Set `--max-context` to `262144` or `524288` instead of a raw 1M window—near 1M tokens, attention overhead pulls throughput down sharply.
- Enable `--kv int8` to cut KV-cache memory footprint in half.
- If you use **Hermes**, turn on **LCM context compression** at ~400k tokens so older context compacts cleanly without losing recall.
- Not on a Blackwell GPU? **LM Studio** with standard Q4 GGUF quants remains the easiest fallback for RTX 40-series and Apple Silicon Macs.

## Primary Sources

- [Qwen4-35B-A3B-Basalt on Hugging Face](https://huggingface.co/jesdga/Qwen4-35B-A3B-Basalt)
- [Basalt Quality vs BF16 Precision Benchmarks](https://github.com/jesdga95/basalt/blob/v0.7.0/docs/precision/qwen4-35b-a3b.md)
