Generated title card reading 'Qwen3.8-27B-UBTree vs Qwen3.8-27B — same weights, faster decode', with three figures reading '1.84B draft parameters', '6.55 acceptance length', '845 tok/s at TP8', and a footer reading 'All UBTree figures are vendor-run on 8x L20X and have not been independently reproduced.'
Engineering & Research

Qwen3.8-27B-UBTree vs Qwen3.8-27B: Same Weights, Faster Decode

Author

jinhao.song

Date Published

Models in this article · 1View all models →
Back to all posts

There is no honest way to benchmark Qwen3.8-27B-UBTree against Qwen3.8-27B as though they were two models, because one of them cannot generate a token on its own. The checkpoint published on 1 December 2026 is a 1.84-billion-parameter draft network; the 27-billion-parameter model is its target, its tokenizer, its embedding table and its output head. Load the draft alone and you get an architecture with nothing to say. Load both and you get exactly the same text Qwen3.8-27B would have produced, in fewer target forward passes. The comparison is therefore not “which model is better” but “is the decoder worth the extra 3.68 gigabytes and the extra operational risk” — and that question has a much more specific answer.

What this comparison actually is

The naming makes the confusion almost inevitable. A repository called Qwen3.8-27B-UBTree sits next to Qwen3.8-27B in the same catalogue, carries a version-like suffix, and gets listed by trackers as a new model. It is not one. The card's own title is Qwen3.8-27B-UBTree-B16, where B16 is the draft block size, and the body says outright that the draft “alone does not provide a text-generation service.” What shipped is a speculative-decoding head trained specifically for one target, in the same family as the two Ling drafts the same authors released in October.

That framing matters for anyone planning to evaluate it. There is no prompt to try, no chat template of its own, no benchmark score to compare against the base model's 73.0 on Terminal-Bench 2.1 or 61.7 on SWE-bench Pro. The base model's capabilities are unchanged by construction, and the draft's only claim is about how fast those capabilities arrive.

Inside the draft: five layers, one selector

The method comes from a paper the same group published on arXiv in late September 2026, revised in October. Its argument is that parallel drafters lose their edge as the target distribution gets more uncertain, because the candidates they propose are too similar to each other. UBTree splits the job: a unigram proposer emits the top 64 candidates at each future position in one forward pass, and a lightweight bigram selector scores how well neighbouring candidates fit together, so the tree can carry genuinely different continuations rather than 64 paraphrases of the greedy path. The target then verifies the assembled tree in a single pass and keeps the longest accepted branch.

The shipped checkpoint implements that in five full-attention layers warmed from DFlash training, with a tree budget of 32 nodes at serving time against a 65-node default and a 64-node verification budget in the training configuration. It taps five intermediate layers of the target — 5, 19, 33, 47 and 61 of 64 — for the hidden states the selector conditions on. None of this touches the target's weights, which is why the output distribution is identical: verification is exact, and rejected drafts are discarded rather than blended in.

What the six benchmark rows say

The card publishes one table, and it measures the draft against another draft rather than against autoregressive decoding. Each cell pairs acceptance length with throughput, at tensor parallelism 8 on eight L20X GPUs, concurrency 1, BF16 and greedy xhigh-thinking decoding, with an 8,192-token output cap.

• GSM8K — 7.562 accepted tokens per round, 890.98 tok/s, against DFlash2's 4.994 and 677.64

• MATH-500 — 7.133 and 926.78, against 4.599 and 676.14

• AIME 2025 — 6.230 and 830.40, against 4.318 and 650.52

• HumanEval — 6.666 and 882.16, against 4.580 and 683.21

• MBPP — 6.175 and 804.58, against 4.760 and 695.92

• LiveCodeBench — 5.523 and 736.15, against 3.866 and 582.52

• Six-dataset mean — 6.548 and 845.18, against 4.520 and 660.99

Generated two-column scoreboard titled 'Qwen3.8-27B-UBTree vs Qwen3.8-27B — the scoreboard'; the UBTree column lists a draft head for the target, 1.84B parameters stored, identical and lossless output text, 845 tokens per second at TP8, 3.68 GB of added memory, and an MIT draft licence with an Apache 2.0 base; the Qwen3.8-27B column lists the target model itself, 27B parameters, identical and lossless output text, 113 tokens per second hosted, no added memory, and an Apache 2.0 licence; footer reads 'UBTree figures vendor-run on 8x L20X at concurrency 1, unreproduced; hosted speed per OrcaRouter's model page.'

The consistent story is the acceptance length, not the throughput. A mean of 6.548 means the target accepts roughly six and a half tokens per verification pass, which is what produces the speedup; the throughput column then depends on how well the tree construction and the Gated DeltaNet verification path were optimised for that specific GPU count. The project's own site reports a different configuration for Qwen3.8-27B — TP4, batch size 1, thinking disabled — and a 4.78× average speedup, which is the figure most likely to be quoted and the least directly comparable to the card. Meanwhile the paper's published results are on Qwen3-4B and Qwen3-8B, with 5.84–6.94× over autoregressive decoding and wins over DARTree in all 28 comparisons. The 27B checkpoint is the first evidence that the method scales to this target, and it is one measured run per dataset.

What a run costs in hardware

• Weights to store — 1.84B draft parameters, 3.68 GB in BF16, on top of the 27B target

• GPUs in the reference profile — 8× L20X with tensor parallelism 8

• Context in that profile — 16K, not the target's 262K

• Concurrency — 1; the published numbers describe a single request stream

• Extra output — none; verification is exact, so quality and token counts match the base model

• Licence — MIT for the draft, Apache 2.0 for the target

The 16K serving context is the detail most likely to bite. A deployment configured exactly as the card describes cannot use Qwen3.8-27B's long-context strength; you would need to retune the profile, and retuning moves the throughput numbers. The eight-GPU requirement is also a property of the reference configuration rather than a hard floor — the Ling-tiny draft runs on a single GPU — but nothing published yet says what this checkpoint does at one or two GPUs, and the acceptance length that makes the whole idea work was measured at TP8.

Where the speedup disappears

Speculative decoding trades spare compute for latency. At concurrency 1 there is spare compute, so a draft that proposes six accepted tokens per round roughly multiplies throughput. At high batch sizes the arithmetic inverts: the GPU is already saturated with real work, the draft consumes memory bandwidth and scheduling slots that batched requests could have used, and the gain shrinks — sometimes below zero once the draft is large relative to the batch. Every number in this piece was measured at concurrency 1, which is the regime of a coding assistant serving one developer and not the regime of a public endpoint serving hundreds.

The second place it disappears is high-entropy text. The method exists because parallel drafts converge on the same candidates when the target is uncertain; UBTree mitigates that with the bigram selector, and the card shows the acceptance length holding up on hard benchmarks — 5.523 on LiveCodeBench, the lowest row in the table. That is still a healthy number, but it is the row to watch if your workload is open-ended generation rather than math and code, where acceptance is highest. A draft head is tuned to a distribution, and this one was tuned on reasoning and code traces.

The third is tooling. Serving it today means cloning the project repository, creating a dedicated environment, installing its bundled SGLang, and pinning to commit 329c30b of a contributor's branch. The upstream pull request that would put UBTree into SGLang proper has been open since 13 October 2026, covers the Ling drafts rather than this checkpoint, and remains unmerged. That is normal for a research release and it is still a maintenance liability: you are tracking a fork that can drift from the mainline your other services run on.

Screenshot of SGLang pull request 44050, titled '[Feat] speculative: Add native UBTree decoding for Ling3', marked Open, proposing to merge 103 commits from AsaHIXx:asahi/ubtree into sgl-project:main, with 18 comments and 54 files changed; the description lists only the inclusionAI Ling-3.0-tiny and Ling-3.0-flash draft checkpoints and the sidebar notes that at least one approving review is required to merge.

Hosted today, self-hosted tomorrow

If your goal is simply to use Qwen3.8-27B, none of the above applies. The model is live on OrcaRouter at $0.33 per million input tokens and $2.40 per million output, with 0% markup on the provider's list price, a 262K context, and self-hosted serving that our page measures at 113 output tokens per second with a p50 first-token time of 2.80 seconds. A hosted endpoint already applies whatever decoding optimisations its operator can support; what it does not expose is a draft head you can tune, which is the entire value of this checkpoint. The case for OrcaRouter here is the opposite of the case for UBTree: one key across 200-plus models with automatic failover, so the routing decision stays reversible while the draft experiment runs on your own hardware.

Screenshot of OrcaRouter's model page for Qwen3.8-27B showing a 262K-token context window, input pricing of $0.33 per 1M tokens, output pricing of $2.40 per 1M tokens, a p50 time to first token of 2.80 seconds, a p95 of 9.04 seconds, text plus image plus video input, and a Zero Data Retention badge.

The honest cost comparison is therefore not $0.33 against zero. It is $0.33 per million output tokens against eight GPUs, an operations burden, and a fork. Self-hosting wins on unit economics only at sustained utilisation, and the draft improves that calculation by raising tokens per GPU-second — which is exactly why the acceptance-length number matters more than the headline speedup.

How to decide this month

Skip the draft if you call the model through an API, if you serve at high concurrency, if you need the full 262K context today, or if you need a supported upstream path. In each of those cases the 3.68 gigabytes and the fork buy you a speedup you cannot collect.

Take it seriously if you run low-concurrency, latency-sensitive inference on eight or more modern GPUs, your traffic is code or reasoning rather than open-ended prose, and you are willing to pin a fork. In that configuration a mean acceptance length near 6.5 is a substantial improvement over block drafting, and the MIT licence removes the legal friction. Before committing, run the card's own protocol against your workload and measure acceptance length rather than throughput — it is the number that transfers between hardware, and the one that will tell you within an hour whether the draft suits your distribution.

What would change this verdict is not another benchmark table but a merge. If UBTree lands upstream in SGLang, the fork cost vanishes and the calculation becomes purely about GPUs and batch size. Until then, the repository is a promising checkpoint with a clear mechanism, one vendor's measurements, and a release that its own project page has not yet acknowledged.