Daily MaverickNOD TO SUPPORTERS: Promise of more tickets for Newlands Test after public outcryInquirerKasadyaan parade lights up Dumaguete streetsPunchTinubu approves new NNPC refinery for EdoInquirer EntertainmentCalista relaunches as four-member group with new single ‘Vendetta’한겨레‘겨울철 별미’의 속사정 [유레카]UOLMineradora suspende projeto no Paquistão após morte de 8 refénsالنهاربعد 11 عاماً من الغياب... استقبالٌ حاشد لعمر الشغري في بلدته بريف بانياسANSA SportMondiali nuoto 25m: staffetta 4x100 mista femminile in finale col primato italianoZDF heuteStart-up statt Einstiegsjob: Gründen boomt bei den JungenObservador DesportoAviso amarelo para Bragança e Guarda devido ao nevoeiroThe Sydney Morning HeraldStruggling to catch the lightSRF NewsKrieg im Nahen Osten – Israel: Militärchef der Hamas in Gaza getötet
betaThe Daily Newsstand · Free, Always
Sunday, December 6, 2026
Automatic translation is active. Articles in other languages will open in English.Enable automatic translation of articles from other languages into English.

Basalt 0.7.0 Runs Qwen4-35B-A3B Structured Output at 1,099 Tokens per Second on an RTX 5090

The article's text, from Joho no Todai's page.

Translate

1,099 tokens per second for structured output on an RTX 5090

The developer of Basalt, a local large language model (LLM) inference engine, released version 0.7.0 at 01:29 UTC on December 6. The open-source project targets NVIDIA Blackwell GPUs and uses the MIT license. This release adds Qwen4-35B-A3B support. Basalt is a fork of the local inference engine Strata.

For the GeForce RTX 5090 measurements in the release notes, the developer set a 400 W power limit and quantized the KV cache, which temporarily stores information from earlier input, to INT8. The test kept the n-gram embedding table in system memory and used DFlash 2 to process one request.

Generation speed at the Basalt 0.7.0 release
Qwen4-35B-A3B・RTX 5090
By power limit (tokens per second)

Output type400W
Release
DFlash 2
400W
Separate test
DFlash 2
475W
Development build
Structured output1,0991,0601,222.7
Chat531469567.7
Prose generation410346427.7

Structured output, which generates data in a predefined format, reached 1,099 tokens per second. Chat reached 531 and prose generation 410. Structured output was about 2.7 times as fast as prose generation.

Prefill processed a 32K-token input at 31,466 tokens per second. Processing long reference material or source code is much faster than generating an answer about it.

The developer’s model card lists another measurement with the RTX 5090 capped at 400 W: 1,060 tokens per second for structured output, 469 for chat, and 346 for prose generation.

A contributor’s community benchmarks used prerelease commit cbe704b1 and set the RTX 5090 power limit to 475 W. They measured 1,222.7 tokens per second for structured output, 567.7 for chat, and 427.7 for prose generation.

The release notes list a known regression of a few percent to about 12% from prerelease builds for single-request chat and prose with speculative decoding enabled. The developer attributed it to the increased cost of short verification passes and mentioned a fix planned for 0.7.1. Comparing the results requires considering the build and workload as well as the power limit.

Running a 34.4 GB model on a 16 GB Blackwell GPU

Qwen4-35B-A3B uses a mixture-of-experts (MoE) architecture. Each layer selects eight of 256 experts based on the input and uses them with a shared expert. According to Qwen’s specifications, the language model itself has 35 billion parameters, about 3 billion of which are activated. It also includes a 20-billion-parameter n-gram embedding and a 2-billion-parameter multi-token prediction (MTP) component.

The converted Basalt files take up 34.4 GB. The developer converted the original BF16 weights released by Qwen and distributes the result under Apache 2.0. The previous conversion was 46.2 GB, so the new files are about 26% smaller.

The conversion uses quantization to represent values with fewer bits. Weights for the selected experts are stored in NVFP4, the main matrix weights and output layer in INT8, and the hyperconnections that carry information across layers in FP8. The n-gram embedding table uses IQ4_NL.

The embedding table looks up entries based on recent token sequences. Since generation does not require a matrix operation across the whole table, Basalt reads it directly from the SSD by default. Specifying --ple-io ram speeds up lookups at the cost of about 11 GiB of system memory.

According to the developer’s guide, a 32 GB GPU keeps all experts in VRAM. A 16 GB GPU keeps experts that do not fit in system memory and adjusts their placement as the conversation uses them. Image and video processing, speculative decoding, and concurrency reportedly work with one 16 GB GeForce RTX 5060 Ti.

A user posted benchmark results for the new 34.4 GB model on Ubuntu with 128 GB of system memory. Using prerelease commit 6f85b7d with one 16 GB RTX 5060 Ti, they reported 8,412 tokens per second for prefill on a 262,738-token input and 117.6 tokens per second for generation.

The same user reported a crash during prefill with two RTX 5060 Ti cards. The developer fixed the per-GPU shared-memory setup in commit 3e67b18. The 0.7.0 release includes the fix.

If all model data has to fit on one expensive GPU, VRAM capacity sharply limits the models available. Storing frequently computed data separately from data looked up as needed can make more use of a PC you already own. On a 16 GB GPU, available system memory matters alongside speed.

The main model verifies predicted tokens

Basalt uses speculative decoding to speed up generation with Qwen4-35B-A3B. RadixArk’s DFlash 2, the default on a single GPU, proposes seven tokens in each pass for the main model to verify. Basalt defaults to MTP on multiple GPUs, and MTP is also available on a single GPU.

The developer says DFlash 2’s candidates for structured output are almost always accepted. That helps explain the large speed gap between fixed-format output and free-form prose. In the model card, prose generation with MTP reached 385 tokens per second, beating DFlash 2 at 346. The better choice depends on the workload.

With greedy sampling, which always selects the highest-probability token, outputs were reportedly bit-for-bit identical with speculative decoding on and off. This comparison applies only to outputs from the converted Basalt model.

The developer’s accuracy evaluation also documents differences from the original BF16 model. It compared predicted probability distributions from the BF16 model running in vLLM and the quantized model across 205,459 assistant tokens from 417 conversations.

Quantization accuracy of Qwen4-35B-A3B for Basalt
Compared with BF16 using the same histories (417 conversations)

CategoryTokens evaluatedTop-token
agreement
Reasoning10,73297.76%
Code generation59,55897.63%
Tool use5,21196.60%
Long-context processing4,01194.54%
Chat92,12491.44%
Multilingual tasks33,82391.18%
Overall205,45993.71%

Using a fixed token history to predict the next token, the most probable candidate matched 93.71% of the time overall. Agreement was 97.63% for code generation and 97.76% for reasoning. It was 91.44% for chat and 91.18% for multilingual tasks.

Agreement measures how closely the next-token prediction matches the original model. Answer accuracy and the share of programs that run correctly are different measures. During generation, selected tokens feed back into the next input. Evaluating final output quality would also require testing real tasks.

Quantization decisions also varied by workload. In the developer’s experiments, quantizing intermediate inputs to the selected experts to FP4 lowered top-token agreement from 93.62% to 92.08%. The impact was largest in chat and multilingual tasks. Basalt keeps these intermediate values at 16 bits during generation and uses FP4 products in expert computation for inputs of at least 1,024 tokens.

The choices from weight storage through generation reflect an effort to speed up computation with fewer bits while preserving prediction accuracy.

Up to 64 concurrent requests

The release expands continuous batching support beyond Qwen models and Gemma 4 to models including Inkling 2 Mini, DeepSeek-V4.1-Flash, and Hy4-flash. Supported models handle up to 64 concurrent requests when there is enough cache capacity, admitting queued requests as active ones finish.

In a Qwen4-35B-A3B test generating 4,096 structured output tokens per request, the system produced a total of 3,458 tokens per second with eight concurrent requests and 5,585 tokens per second with 32. The release notes list the same GPU and power limit as for the single-request test.

Dividing throughput evenly among 32 requests would give each about 175 tokens per second. That figure has different implications for someone who cares about a single response and a server handling requests from many apps.

Qwen4-35B-A3B supports a maximum context of 1,048,576 tokens. Both the 64-request cap and maximum context length depend on available cache memory. The design can queue requests or offload their state when space is scarce, so each of 64 requests cannot always receive the maximum context.

Long inputs also raise the question of whether instructions near the end will be followed. A user on an RTX 5090D and Windows 11 with WSL2 reported that the model ignored instructions at the end of long inputs in a development build labeled 0.7.0. It followed an instruction in a 795-token input but did not follow it in tests with 3,147 tokens or more. The report used the older 46.2 GB conversion, so the conditions differ from those of the new 34.4 GB model.

ERNIE-5.5-Flash and GLM-5.3-Flash handle one request at a time in 0.7.0. When upgrading, users also need to check the parallel setting. Leaving it in the configuration causes startup to stop, and the release notes point to a migration script.

Server response vs. model response

Inference server startup has also changed. It starts listening before completing model checks in the background.

With seven models configured to load on demand, the first response from / and /v1/models dropped from 12.8–15.3 seconds to 0.13–0.16 seconds. That measures the time until an HTTP response, which precedes model generation. Requests for models still being checked can wait up to 60 seconds.

Basalt also supports building from source and running on RTX Spark laptops (N1X) with Arm-based Windows. It provides interfaces compatible with the OpenAI and Anthropic APIs.

One appeal of running AI locally is choosing the model, numerical precision, and speed. Even a fast GPU can be hard to use fully without software suited to the workload. An update like Basalt’s makes it interesting to see what else the hardware you bought can do as the software improves.

View the original on Joho no Todai →