Veltra is a C++20 inference engine for Mixture-of-Experts models like Qwen3-30B-A3B. It uses memory-mapped .vlt weight files and hand-written AVX2/AVX-512/NEON kernels (x86 only benchmarked). The expert tensors reuse llama.cpp's K-quant formats; kernels and runtime are Veltra's own with no external ML framework. Apache-2.0 license.
Benchmark results on Qwen3-30B-A3B, AMD Ryzen 9 3900, CPU only, 8 threads, Ubuntu 24.04 (27 November 2026):
| Engine | Decode tok/s (63/524/2088 prompts) | Prompt processing tok/s | 160-task score | Peak RAM |
|---|---|---|---|---|
| Veltra, default | 19.5 / 18.6 / 17.3 | 93 / 97 / 88 | 145 (90.6%) | 9.7 GiB |
| Veltra, --pareto-max (beta) | 25.6 / 24.7 / 22.0 | 105 / 127 / 111 | 140 (87.5%) | 9.4 GiB |
| llama.cpp | 17.0 / 15.6 / 11.9 | 57 / 66 / 57 | 148 (92.5%) | 13.6 GiB |
| ik_llama.cpp | 18.8 / 17.7 / 15.4 | 87 / 96 / 83 | 148 (92.5%) | 12.2 GiB |
Veltra default is +15.0% to +45.2% faster decode and +46.9% to +63.8% faster prompt processing than llama.cpp, with lower memory use. Against ik_llama.cpp -rtr, decode at 2,088 tokens is ~12% faster. Quality gaps vs llama.cpp/ik_llama.cpp are not statistically significant for default mode (p = 0.45 and 0.51). --pareto-max (beta) is BETA, research preview, changes answers, optional off by default.
Key architecture notes: 3-bit attention (.i3 format, 3.25 bits/weight), int8 output head and embeddings, batch-independent MoE decoding. Speculative decoding uses n-gram prompt lookup on by default. Server binary with own libraries is 2.9 MB. Model files differ: Veltra uses 3-bit attention in 42 of 48 layers, 4-bit for other attention matrices, 8-bit embedding and head (vs GGUF's 4-6 bit attention).