RustingStrata Runs Oversized MoE Models 25% Faster on a 12 GB GPU
A pure-Rust GGUF inference engine beats llama.cpp on a 12GB RTX 3060, running MoE models far bigger than VRAM at over 100 tokens per second.
Takeaways
- RustingStrata is a pure-Rust GGUF inference engine with CUDA and Vulkan backends, no ggml.
- On a 12 GB RTX 3060, Qwen3.6-35B-A3B UD-Q5_K_M decodes at 80.5 tok/s versus llama.cpp at 64.4.
- Experts that do not fit in VRAM run on CPU in parallel with GPU, adapting to router activity.
- MTP speculative drafts push decode up to 160 tok/s on smaller quants of the same MoE.
- One-line install, OpenAI and Anthropic compatible server, batched multi-user serving built in.
- Custom license allows commercial hosting but forbids selling RustingStrata itself as a product.
RustingStudio has released RustingStrata, a local inference engine designed to run mixture-of-experts models whose GGUF files exceed available VRAM. The project describes the engine as pure Rust, exposes OpenAI- and Anthropic-compatible APIs, and supports CUDA, Vulkan, and experimental ROCm without a C++ build step or ggml dependency.
Project benchmarks show Qwen3.6-35B-A3B decoding at 80.5 tokens per second on a 12 GB RTX 3060, compared with 64.4 tokens per second for a tuned llama.cpp run using the same 25.2 GiB model file. That result matters because models larger than VRAM usually lose substantial performance to CPU execution and data transfers across PCIe.
Hot experts stay on the GPU
A mixture-of-experts model contains many specialized parameter blocks, called experts, while a router activates only a subset for each token. In Qwen3.6-35B-A3B, the name indicates roughly 35 billion total parameters and about 3 billion active parameters per token. This sparse design reduces computation, although the complete set of expert weights still consumes memory.
RustingStrata tracks routing activity and moves frequently selected experts into VRAM while keeping colder experts in system memory. CPU experts execute alongside GPU work during each decoding step, and grouped execution loads an expert once for all requests assigned to it. Slot state that exceeds VRAM capacity also remains in system memory.
The CUDA backend compiles kernels at runtime through NVRTC. Vulkan provides a second GPU path, and the project uses the same high-level execution design across both backends. This architecture removes the usual C++ compilation toolchain from installation, although the required GPU runtime and drivers must still be present.
Multi-Token Prediction can reduce the number of full model passes. A smaller draft head proposes several future tokens, then the main model verifies those proposals together. Performance depends on how often the draft tokens are accepted, so gains vary with the model, prompt, and calibration settings.
Project benchmarks favor the split
The published single-request tests used an RTX 3060 with 12 GB of VRAM and a Ryzen 5 7600X. Decode measurements followed a prompt of about 4,000 tokens.
| Model and phase | RustingStrata | llama.cpp |
|---|---|---|
| UD-Q5_K_M decode | 80.5 tok/s | 64.4 tok/s |
| UD-Q5_K_M prefill | 1,530 tok/s | 1,118 to 1,122 tok/s |
| UD-Q2_K_XL decode | 113.4 tok/s | 66.5 tok/s |
The Q5 model occupies 25.2 GiB, about 27 GB in decimal units, so it cannot reside entirely on the 12 GB card. The Q2 row uses a smaller and more aggressive quantization; comparisons between engines remain useful within that row, while comparisons across Q2 and Q5 also reflect different memory and output-quality trade-offs. With MTP drafts enabled, the repository reports peaks of up to 160 tokens per second.
These figures come from the project maintainers and need independent reproduction. A rigorous comparison should pin engine commits, compiler flags, CPU thread counts, context length, batch settings, quantization files, and MTP configuration. Decode speed alone also leaves output quality, time to first token, power use, and tail latency unmeasured.
Batching raises aggregate throughput
RustingStrata’s CUDA server combines concurrent requests into a single forward pass. The project reports the following aggregate throughput on the same machine:
| Clients | RustingStrata Qwen3-4B Q4_K_M |
vLLM 0.33 Qwen3-4B bf16 |
RustingStrata Qwen3.6-35B-A3B |
|---|---|---|---|
| 1 | 91.3 | 36.7 | 49.0 |
| 4 | 228.1 | 139.9 | 88.9 |
| 16 | 799.0 | 520.1 | 100.7 |
| 64 | 1,698 | 1,688 to 1,765 | 129.3 |
The dense-model comparison uses Q4_K_M weights for RustingStrata and bf16 weights for vLLM, which changes memory use, arithmetic cost, and output quality. The 35B MoE has no vLLM result because its roughly 27 GB file exceeds the card’s VRAM. The table reports aggregate throughput and does not establish per-request latency or responsiveness under load.
Install, calibrate, serve
The Linux installer is available as a shell script:
curl -fsSL https://raw.githubusercontent.com/RustingStudio/RustingStrata/main/install.sh | sh
Piping a remote script into a shell executes its current contents immediately. Reproducible or security-sensitive deployments can download and inspect the script first, then pin the selected release. The project also provides a PowerShell installer for Windows and an Arch User Repository package.
The following command starts the server on port 8080 and opens its local chat interface, which can fetch models from Hugging Face:
rustingstrata serve --gpu --open
The server exposes OpenAI- and Anthropic-compatible interfaces. Production migrations should verify the specific features they require, including streaming, tool calls, authentication, request limits, and error formats.
RustingStrata includes a one-time calibration search for each model and machine:
rustingstrata calibrate --model "$M"
Calibration selects the chunk size, MTP draft length, and short-prompt threshold. Those settings affect the balance among prefill speed, decode speed, memory pressure, and speculative-token acceptance.
Backends have specific limits
- CUDA: NVRTC is loaded at runtime. Supported NVIDIA architectures include Volta at
sm_70, Turing atsm_75, and Ampere or newer atsm_80+. Pascal and older cards use the Vulkan path. - Vulkan: The backend requires Vulkan 1.3 plus
shaderFloat64and integer support for 8-, 16-, and 64-bit values. Reported test hardware includes the RTX 3060, Radeon VII, and V100. Intel Arc is unsupported because it lacks the requiredshaderFloat64capability. - ROCm: The experimental HIP backend runs with
--backend hip. It compiles kernels for the card’sgfxtarget on first use. - CPU: The reference backend targets correctness testing and is impractical for routine generation.
Version 1.4.0 lists support for Qwen3, Qwen3-Next, Qwen3.5 and 3.6, Qwen3.8-Flash-Next, Recursive Flint, Gemma 4, DeepSeek-V4.1-Flash, GLM-5.3-Flash, Hy4-flash, Inkling 2 Mini, and Kolibri 1.1. Architecture, quantization, and feature details are maintained in the model matrix.
Best fit: constrained VRAM
RustingStrata targets developers with 8 to 16 GB consumer GPUs who want to run modern MoE models larger than VRAM. Its adaptive expert placement, concurrent CPU and GPU execution, GGUF support, and simple server make it a strong candidate for local experiments and small self-hosted deployments.
Systems that can hold the complete model in accelerator memory have different priorities. vLLM and SGLang offer mature schedulers, broad integrations, and extensive production use on data-center hardware. Any deployment decision should include workload-specific measurements of prompt latency, decode latency, concurrency, memory stability, quantized output quality, and API compatibility.
The license affects product use
RustingStrata uses a custom license. Version 1.0 permits modification, commercial use, and hosted services, while prohibiting the sale of RustingStrata itself and requiring credit to the original author. Product teams need to review those terms before distributing a fork, bundling the engine, or building a paid offering around it.