The checkpoint · Speed · Quality · What it fits on · Use it · The base model · Bench card
Swift1.5-Huihui-Qwen3.8-Flash-Next-W4A16-Merlin
An uncensored Swift 1.5: the Swift1.5 checkpoint (4-bit UkisAI Swift 1.5, a post-train of Qwen3.8-Flash-Next, 125B mixture-of-experts) with huihui-ai's abliteration carried onto its 96 dense output projections only, made to run at its full 262,144-token context on four 24 GB GPUs. The routed experts, MTP head, n-gram table, tokenizer and configuration are the Swift1.5 checkpoint's, byte for byte (its tokenizer is Qwen's upstream file). It is served by the Merlin engine, a vLLM 0.33.0 fork tuned for Ampere and Ada that keeps the n-gram table in host RAM and the whole KV cache in VRAM. Measured on four RTX 3090s. An independent derivative: not made, reviewed or endorsed by UkisAI, huihui-ai or Qwen.
numbers: Merlin 3.0.2.1 figures, carried forward to Merlin 3.0.2.3 (not re-measured on 3.0.2.3) after a spot check on 3.0.2.2 (2026-11-21: 4K decode and 100K prefill inside their ±3 % run-to-run bands, the same KV pool); Merlin 3.0.2.1 (vLLM 0.33.0) on 4× RTX 3090 w/o NVLINK @ 220W, P2P on, with the gpu-unlock host upgrade, 2026-11-12 bench card (re-measured on the published wheel, 2026-11-11). KV pool: FP8, all in VRAM; three 262K sessions held at once (3.0.0 run, 2026-10-20). Agents: eight 16K conversations, then eight simultaneous 512-token follow-ups, thinking on (effort medium). Decode: one stream, thinking on (effort medium, the server default), exactly 261,888 prompt tokens + 128 out, median of 3 sends, each a different text (197.9–209.3 tok/s; with speculative decoding the rate varies with the text). Prefill: one cold 101,845-token prompt. Each figure is also in a table below.
[!WARNING] Treat it as a model that does not refuse. On StrongREJECT (313 harmful prompts) it refused 29 of the 278 answers it finished (10.4 %; 9.4–18.7 % with a second judge), against 96.8 % for Swift 1.5 (keyword count). Nothing filters its output. Do not use it where a refusal is the safeguard: a privacy rule in a system prompt, a policy an agent must hold against its user, anything handling other people's data or money. Details under Quality. As huihui-ai's card says of the parent, users are solely responsible for what they do with it; halt95 takes no responsibility for its outputs (see the licences' disclaimers).
The checkpoint
| Component | Format |
|---|---|
Attention o_proj (12 layers), shared-expert down_proj (48 layers) | BF16: Swift 1.5's weights with huihui-ai's edit applied |
Gated DeltaNet out_proj (36 layers) | INT8 per channel: Swift 1.5's weights with huihui-ai's edit applied, re-packed |
| Routed experts (512 per layer) | INT4 g128 (Intel AutoRound): Swift1.5 checkpoint, unchanged |
| MTP draft head | INT4 experts, packed in place: Swift1.5 checkpoint, unchanged |
| Attention q/k/v, shared-expert gate/up, other DeltaNet projections, norms, embeddings, lm_head, vision tower | BF16 / INT8 as in the Swift1.5 checkpoint, unchanged |
| N-gram (PLE) embedding table, 51B parameters | FP8, kept in host RAM at serve time (RadixArk), unchanged |
| KV cache | FP8 E4M3 with static scales calibrated on this checkpoint (qsa_kv_scales_swift_huihui_dense.json) |
huihui-ai's edit is the same on every dense tensor it touched: one direction in the output space, reflected (about −0.95×). We recovered it from huihui-ai's weights against the stock model, tensor by tensor, within 1.25× of the BF16 rounding floor, and applied it to Swift 1.5's tensors, which Swift had changed in directions orthogonal to the edit. 96 modules, 132 stored tensors, all listed in EDITED_TENSORS.txt; the launcher requires that file.
Files in this repository
| Files | What they hold | Size |
|---|---|---|
model-000NN-of-00017.safetensors (15) | Routed experts, DeltaNet projections, attention, norms, embeddings, shared expert, vision tower | 66.2 GiB |
model-plefp8-0000N.safetensors (10) | The n-gram embedding table, FP8; loaded into host RAM at serve time | 47.7 GiB |
mtp-routed-experts-int4.safetensors | MTP draft-head experts, INT4 | 1.2 GiB |
model_extra_tensors.safetensors | Further tensors listed in the index | 0.2 GiB |
qsa_kv_scales_swift_huihui_dense.json | Static scales for the FP8 KV cache, calibrated on this checkpoint | 1.4 KiB |
EDITED_TENSORS.txt | The 132 tensors that differ from the Swift1.5 checkpoint | 11.6 KiB |
model.safetensors.index.json | Which file holds each tensor | 24.3 MiB |
chat_template.jinja | Qwen's own chat template, unchanged (byte-identical to the upstream file). Merlin serves Froggeric's fixed Qwen3.8 template (v22.5) by default; see Use it | 8.7 KiB |
config.json, quantization_config.json, tokenizer, processor configs | Model, quantisation, tokenizer and processor settings | 12.3 MiB |
LICENSE, LICENSE-QWEN, NOTICE | Swift Open License v1.0, Qwen Community License 1.0, the upstream notices and every change made here | 23.2 KiB |
SHA256SUMS | SHA-256 of the checkpoint files: sha256sum -c SHA256SUMS in the download folder | 3.6 KiB |
115.3 GiB in total. There are no shards 00002 and 00016: model.safetensors.index.json maps no tensor to them, so nothing is missing.
Speed
| Prompt | Decode, one stream | Time to first token |
|---|---|---|
| 4K | 178 tok/s | 0.66 s |
| 32K | 187 tok/s | 4.59 s |
| 131K | 190 tok/s | 18.5 s |
| 262K | 203 tok/s | 38.0 s |
4× RTX 3090, thinking on at reasoning effort medium (the server default). The needle-prompt ladder (4,046 / 32,566 / 130,386 prompt tokens, every send a cold prefill) and the exact 261,888-token prompt (send 1 cold; in this run send 2 was served cold too and send 3 reused 139,200 tokens). Decode: ≤ 256 tokens out (128 at 262K), median of 3; at 262K each send is a different text and the three ran 197.9–209.3 tok/s (with speculative decoding the rate varies with the text). Time to first token: the median of 3 cold sends below 262K, the cold send 1 at 262K. A separate 259,557-token ladder row decodes at 184 tok/s. The 262K needle was found in 3 of 3 thinking-off sends (3.0.0 run). Every figure in this section is Merlin 3.0.2.1's, carried forward to 3.0.2.3 after a spot check (4K thinking-on decode 178.9 against 178.4 tok/s and 100K prefill 7,046 against 7,076 tok/s, both inside the ±3 % run-to-run band; the same KV pool (924,993 tokens) as on 3.0.2.1).
| Cold prefill, one send | Prefill | Time to first token |
|---|---|---|
| 10,157 tokens | 6,720 tok/s | 1.51 s |
| 101,845 tokens | 7,076 tok/s | 14.4 s |
| 261,888 tokens | 6,893 tok/s | 38.0 s |
One cold request per prompt, 8 tokens out at 10K and 100K. The 261,888-token row is the cold first send of the exact-262K run with thinking on, the same send as the 262K row above. The 101,845-token figure is the hero's prefill number.
| Agents at once | Total tok/s |
|---|---|
| 2 (3.0.0 run) | 218 |
| 4 (3.0.0 run) | not given |
| 8, thinking off (previous build) | 668 |
| 8, thinking on (effort medium) | 719 |
N 16K conversations, then N simultaneous 512-token follow-ups, total tok/s while all N decode; thinking off unless stated. With thinking on a 512-token follow-up may end inside the reasoning and reasoning tokens count, so that total measures decoded tokens, not finished answers. Overlap windows: 4.53 s for the 3.0.0 two-agent row, 5.83 s for thinking off (previous build; its run on the published wheel ended early and was not used) and 5.19 s for thinking on (3.0.2.1): a few seconds each, so read these rows loosely. An eight-agent row moves by several percent between identical runs (661–697 tok/s over six repetitions on Flash-Next). With four agents the replies ended before all four decoded together in the 3.0.0 runs, so no total is given.
| Sessions held at once | Needles found | Re-sent from cache, lowest |
|---|---|---|
| 3 × 262K | 3 / 3 | 99.95 % |
| 6 × 131K | 6 / 6 | 99.91 % |
N needle prompts (thinking off, greedy) sent at once, then re-sent one by one: every re-send served from the prefix cache means the pool held all N. Peak pool use 100 %, 0 preemptions. 3.0.0 run, 2026-10-20; the KV pool (924,993 tokens) is unchanged in 3.0.1, 3.0.2, 3.0.2.1, 3.0.2.2 and 3.0.2.3.
| Measure | 3.0.2 | 3.0.2.1 | Change |
|---|---|---|---|
| Decode, 4K prompt, thinking on | 179.9 | 178.4 | −1 % |
| Decode, 32K prompt, thinking on | 189.4 | 186.9 | −1 % |
| Decode, 131K prompt, thinking on | 188.9 | 190.3 | +1 % |
| Decode, 259K prompt, thinking on | 183.8 | 183.5 | 0 % |
| Decode, exactly 261,888 tokens, thinking on | 192.6 | 203.0 | +5 % |
| Decode, exactly 261,888 tokens, thinking off | 145.8 | 138.3 | −5 % |
| Prefill, 10K prompt | 6,608 | 6,720 | +2 % |
| Prefill, 100K prompt | 7,008 | 7,076 | +1 % |
| Prefill, 261,888-token prompt | 6,830 | 6,893 | +1 % |
| 8 agents, thinking on (effort medium) | 718 | 719 | 0 % |
| 8 agents, thinking off | 681 (3.0.1 run) | 668 (previous build) | −2 % |
tok/s; the change column is the bench card's. Both releases on the same host and settings (gpu-unlock on, thinking effort medium). The exact-262K rows are the median of three 128-token sends, each a different text (thinking on 197.9–209.3 tok/s, off 132.4–163.6); with speculative decoding the tokens produced per step depend on the text, so a difference there is not a speed change: the step time is within 1 % of 3.0.2 in both modes (18.22 against 18.19 ms on, 18.31 against 18.34 ms off), and the +5 % and −5 % follow the tokens produced per step (3.46 against 3.28 on, 2.42 against 2.56 off). The 8-agent figures are one run each and move by several percent between identical runs (661–697 tok/s over six repetitions on Flash-Next), so their change is not a gain or a loss. The 3.0.2 thinking-off 8-agent figure is the 3.0.1 run the 3.0.2 card carried over.
- Host: 4× RTX 3090 (24 GB, sm_86) at 220 W, PCIe Gen4 with P2P, no NVLink, driver 610.43.02, with the Zagitta's gpu-unlock host upgrade on (as for the 3.0.1 and 3.0.2 runs; the 3.0.0 runs did not have it).
- Engine: the figures are Merlin 3.0.2.1's, carried forward to Merlin 3.0.2.3 after a spot check on 2026-11-21 (4K thinking-on decode 178.9 against 178.4 tok/s and 100K prefill 7,046 against 7,076 tok/s, both inside the ±3 % run-to-run band; the same KV pool (924,993 tokens) as on 3.0.2.1). Merlin 3.0.2.1 on vLLM 0.33.0, the published wheel (except the thinking-off 8-agent row: its run on the published wheel ended early, so that row is from the previous build, built on 2026-11-10 before the prefill runs change), served by
merlin servewith the shipped defaults, on three fresh boots; runs of 2026-11-11 (UTC). - Layout: TP2 × PP2 + EP on four cards, MTP K=3, FP8 KV, BF16 draft lm_head, thinking effort
medium, the server default. - Decode: T=0, a needle prompt at depth, every send a cold prefill, 3 sends per cell, median. At exactly 262K the three sends share one cache salt and each uses a different prompt text (send 1 cold; in this run send 2 was served cold too and send 3 reused 139,200 tokens). tok/s = tokens after the first streamed event / time from first to last event.
- Streams are client-timed. Full tables, thinking-off rows and ITL: the bench card.
Quality
This checkpoint, measured on the Merlin engine:
| Check | Result | Setting |
|---|---|---|
| GSM8K-200 | 197 / 200 | 5-shot, thinking off, 2 cut at the 512-token limit |
| GSM8K-200, thinking on | 198 / 200 on four cards | 5-shot, effort medium, none cut at the 8,192-token cap |
| Needles at 131K | 10 / 10 | single-occurrence needles, an image in the prompt, thinking off, greedy, cold cache |
| Needles at 262K | 23 / 23 | as above |
| Needle at exactly 261,888 tokens | 3 / 3 | thinking off |
| Image, 4096 × 2048 (8,388,608 px) | 1 / 1 · 2 / 2 at once (3.0.0 run, 2026-10-20) | thinking off; names both colours of a two-colour image |
GSM8K-200, both rows: Merlin 3.0.2.1, 2026-11-11, four cards, the 3.0.1 card's 200 problems and scorer, temperature 0 (3.0.2 also scored 198 / 200 with thinking on; the 3.0.2 card carried 198 / 200 thinking off from the 3.0.0 run). The needle panel is a 3.0.0-era run on a pre-release engine build, 2026-10-17, not re-run since. Images: 3.0.0 run, 2026-10-20. The four-images-in-one-prompt check ran on the Flash-Next checkpoint only. These are checks of this checkpoint, not a matched BF16 comparison.
Against Swift 1.5, served one after the other in one run (engine v2.5.1, effort xhigh, 2026-10-11/12):
| Check | This checkpoint | Swift1.5 |
|---|---|---|
| StrongREJECT, 313 harmful prompts: refused | 29 / 278 finished (10.4 %), judged; 35 cut off | 302 / 312 (96.8 %), keyword count |
| XSTest safe prompts: refused | 1 / 246 (0.4 %) | 9 / 249 (3.6 %) |
| GSM8K, full test set (1,319) | 96.29 % | 95.98 % |
| Agent turns, completion tokens (6 × 18 turns) | 0.86× (95 % CI 0.64–1.15) | 1.00× |
| Structured output (16 JSON-schema requests, thinking on) | 16 / 16 | 16 / 16 |
| Needle at 258,048 prompt tokens | found | not run |
| MTP mean acceptance length | 2.63 | 2.70 |
StrongREJECT answers (up to 8,192 tokens, no system prompt) were judged blind by GLM 5.3 Flash, one run, not checked against human labels; 16 more were partial refusals, and a second judge that labelled half of them puts the rate at 9.4–18.7 % of the 278. The Swift 1.5 and XSTest figures are keyword counts. GSM8K: +0.30 points (95 % CI −0.66 to +1.29). The agent-token interval includes parity. This ran on the earlier engine with Swift 1.5's earlier tokenizer.json (same vocabulary and merges); refusals were not re-run on 3.0.0. 2026-10-12 bench card.
Swift 1.5, as reported by UkisAI for the BF16 weights against the Qwen3.8-Flash-Next base:
| Benchmark | Base | Swift 1.5 | Thinking tokens, mean |
|---|---|---|---|
| GPQA-Diamond | 89.80 | 89.60 | 17,683 → 7,823 (−55.8 %) |
| MMLU-Pro | 87.75 | 87.20 | 3,528 → 1,519 (−57.0 %) |
| C-Eval | 93.27 | 93.60 | 1,048 → 586 (−44.1 %) |
| IFBench | 73.20 | 70.13 | 8,310 → 4,411 (−46.9 %) |
| AIME 2026 | 98.67 | 96.67 | 23,015 → 15,806 (−31.3 %) |
| HMMT (Nov 2025) | 98.00 | 97.33 | 25,487 → 16,530 (−35.1 %) |
| ERQA (multimodal) | 70.80 | 69.30 | 4,036 → 1,788 (−55.7 %) |
| LiveCodeBench v6 | 88.40 | 90.39 | 17,833 → 9,849 (−44.8 %) |
| Terminal-Bench 2.1 | 67.64 | 69.66 | 40,591 → 45,428 (+11.9 %, all output) |
Reported by UkisAI on their card: BF16 weights, effort xhigh, MTP off. Question benchmarks: 262,144 context, five seeds, temperature 1.0 / top_p 0.95 / top_k 20. Terminal-Bench 2.1: five attempts per task, temperature 1 / top_p 1, 131,072-token server context. Tokens are mean thinking tokens per answer (Terminal-Bench: all generated tokens); UkisAI note that their Terminal-Bench run used default task timeouts. At medium and low Swift 1.5 scored 2.62 and 2.42 points below the base on GPQA-Diamond. None of this was re-run on this 4-bit build. These are Swift 1.5's figures, not this abliterated checkpoint's.
What it fits on
| Measured on | Context per request | KV pool | Held at once | Images |
|---|---|---|---|---|
| 4× RTX 3090, 24 GB (🟢 Tested) | 262,144 tokens | 924,993 tokens, FP8, all in VRAM | 3 × 262K or 6 × 131K (3.0.0 run, 2026-10-20) | 8 MP |
Measured on the reference host: three 262K and six 131K sessions held at once with every re-send served from cache (3.0.0 run, 2026-10-20); a 4096 × 2048 image (8,388,608 px) with at least 1,136 MiB free on every card (3.0.0 run, 2026-10-20).
Other GPUs. The engine also ships profiles for these; the Status column says how far each has been run:
| GPUs | Arch | Profile | Context fit | Status |
|---|---|---|---|---|
| 4× RTX 3090 Ti, RTX A5000 (24 GB) | Ampere, sm_86 | fn-swift1.5-huihui-quad-3090 | ~3 × 262K (as the 3090) | ⚫ Untested |
| 4× RTX 3090 without P2P | Ampere, sm_86 | fn-swift1.5-huihui-quad-3090-nop2p | ~3 × 262K | ⚫ Untested |
| 4× RTX 3080 20GB, RTX A4500 (20 GB) | Ampere, sm_86 | fn-swift1.5-huihui-quad-20g-sm86 | ~1 × 262K | ⚫ Untested |
| 4× RTX 4000 Ada (20 GB) | Ada, sm_89 | fn-swift1.5-huihui-quad-20g-sm89 | ~1 × 262K | ⚫ Untested |
| 4× RTX 4090 (24 GB) | Ada, sm_89 | fn-swift1.5-huihui-quad-24g-sm89 | ~3 × 262K | ⚫ Untested |
| 4× RTX 4080 Super 32 GB (modified) | Ada, sm_89 | fn-swift1.5-huihui-quad-32g-sm89 | ~10 × 262K | ⚫ Untested |
| 2 / 4× 48 GB: RTX A6000, A40 | Ampere, sm_86 | fn-swift1.5-huihui-2x48g-pp2-sm86, fn-swift1.5-huihui-4x48g-tp2pp2-sm86 | ~5 / ~25 × 262K | ⚫ Untested |
| 2 / 4× 48 GB: RTX 6000 Ada, L40S, RTX 4090 48 GB | Ada, sm_89 | fn-swift1.5-huihui-2x48g-pp2-sm89, fn-swift1.5-huihui-4x48g-tp2pp2-sm89 | ~5 / ~25 × 262K | ⚫ Untested |
| 8× 48 GB: RTX 6000 Ada, L40S, RTX 4090 48 GB (modified) | Ada, sm_89 | fn-swift1.5-huihui-8x48g-tp2pp4-sm89 | ~48 × 262K | ⚫ Untested |
| 1 / 2 / 4× A100 80 GB | Ampere, sm_80 | fn-swift1.5-huihui-sm80-80g-x1, -x2-tp2, -x4-tp2pp2 | ~2 / ~21 / ~55 × 262K | ⚫ Untested |
| 4× A100 40 GB, CMP 170HX 40 GB | Ampere, sm_80 | fn-swift1.5-huihui-sm80-40g-x4-pp4 | ~15 × 262K | ⚫ Untested |
| 3 / 4× CMP 170HX 32 GB | Ampere, sm_80 | fn-swift1.5-huihui-sm80-32g-x3-pp3, -x4-pp4 | ~3 / ~9 × 262K | ⚫ Untested |
| 4× A30 (24 GB) | Ampere, sm_80 | fn-swift1.5-huihui-quad-24g-sm80 | ~3 × 262K | ⚫ Untested |
| 2× CMP 170HX 64 GB | Ampere, sm_80 | fn-swift1.5-huihui-sm80-64g-x2-pp2 | ~13 × 262K | ⚫ Untested |
merlin serve and ./setup.sh pick the profile from the GPUs they find. A ~ is the engine's estimate, not a measurement. There is no 4× CMP 170HX 64 GB or eight-card 3090 profile for this checkpoint yet; the eight-card row is the 48 GB Ada one. On sm_80 cards (A100, A30, CMP 170HX) it defaults to an FP8 KV cache since Merlin 3.0.2.3 (BF16 before); those pools are the engine's estimates, not measured on sm_80 cards. The 48 GB Ada rows (new in Merlin 3.0.2.3, including the eight-card one) are estimates too: no 48 GB card has run them, and they default to P2P off. 🟢 measured by us · ⚫ a profile ships, not yet run by us (expected to work). Every profile: the engine's hardware matrix.
| Need | Details |
|---|---|
| Host RAM | 72 GiB tested minimum on four cards (startup is refused below about 69 GiB, plus the KV RAM cache size when it's on). 96 GiB is the reference allocation; the FP8 n-gram table alone takes about 47.7 GiB, which --ple-store disk (experimental, untested on this checkpoint ⚫) reads from NVMe instead. |
| Disk | About 115 GiB for the checkpoint, plus the engine environment and caches |
| Engine host | Linux x86-64 (glibc 2.34 or newer), NVIDIA driver R580 or later (CUDA 13), Python 3.13, GCC/G++ 11 or newer for the release wheel (below 13 is untested; 13 or newer to build from source), /dev/shm of at least 1 GB; GPUs headless with no other CUDA process. merlin doctor checks the host. |
Use it
git clone https://github.com/halt95/merlin-engine.git && cd merlin-engine
./setup.sh --model swift1.5-huihui
One command does the rest: after a small uv and Python bootstrap it checks the GPUs, driver, RAM and disk, shows the engine, package and checkpoint downloads with their sizes before fetching them, installs the prebuilt engine, downloads and verifies this checkpoint, and starts an OpenAI-compatible server on 127.0.0.1:8000; requests name the model flash-next-swift-huihui or flash-next-abliterated. Enter takes the recommended answer at each question; --yes takes them all, --dry-run shows the plan. Run ./setup.sh again to start the server, and git pull && ./setup.sh to update the engine without downloading the model again.
[!IMPORTANT] This checkpoint needs the Merlin engine; stock vLLM was not tested with it.
git clone --branch merlin-v3.0.2.3 --depth 1 https://github.com/halt95/merlin-engine.git && cd merlin-engine
curl -LO https://github.com/halt95/merlin-engine/releases/download/merlin-v3.0.2.3/vllm-0.33.0+merlin3.0.2.3.9c24ea31fe-cp313-cp313-linux_x86_64.whl
MERLIN_WHEEL="$PWD/vllm-0.33.0+merlin3.0.2.3.9c24ea31fe-cp313-cp313-linux_x86_64.whl" bash release/install-env.sh ./venv
venv/bin/hf download halt95/Swift1.5-Huihui-Qwen3.8-Flash-Next-W4A16-Merlin --revision 736e7fb2e95775693f7cc3c1bf525ef0f566818d \
--local-dir ~/models/swift1.5-huihui
(cd ~/models/swift1.5-huihui && sha256sum -c "$OLDPWD/models/swift1.5-huihui/checkpoint.sha256")
venv/bin/merlin serve ~/models/swift1.5-huihui
MERLIN_WHEEL installs the prebuilt engine (sm_80, sm_86, sm_89; Merlin 3.0.2.3 on vLLM 0.33.0; this checkout refuses the 3.0.2.2 wheel, and the dependency lock is unchanged), checked against release/merlin-wheel.sha256; without it the installer compiles the engine instead, about 1.5 hours on 8 cores. merlin serve recognises the checkpoint, picks the largest tested layout for the GPUs it finds (or, with none, the largest untested one that fits, labelled as such) and serves on 127.0.0.1:8000. Add --dry-run to print the resolved command without starting anything. The first start compiles kernels; the server is ready when merlin: Ready: ... prints.
Recommended settings (UkisAI's evaluation settings; Qwen's for non-thinking):
| Mode | temperature | top_p | top_k | presence_penalty |
|---|---|---|---|---|
| Thinking (default) | 1.0 | 0.95 | 20 | 0.0 |
| Non-thinking | 0.7 | 0.80 | 20 | 1.5 |
Thinking: the sampling UkisAI evaluated Swift 1.5 with; non-thinking: Qwen's recommendation for the base model. Both with min_p=0.0 and repetition_penalty=1.0.
- Turn thinking off for a request with
"chat_template_kwargs": {"enable_thinking": false}. With thinking on, a shortmax_tokenscan end inside the reasoning with emptycontent. - Reasoning effort: Merlin serves
mediumby default; UkisAI evaluated Swift 1.5 atxhigh, where it keeps the base model's GPQA-Diamond score within 0.2 points (atmediumit is 2.62 points lower). Pick it per request with"chat_template_kwargs": {"reasoning_effort": "xhigh"}(low/medium/xhigh). - Chat template: Merlin serves Froggeric's fixed Qwen3.8 template (v22.5) by default, not the file in this repository. It accepts system messages after the first turn, so coding agents' per-turn notes stay in place and the prefix cache keeps hitting.
CHAT_TEMPLATE=<path>serves another template;CHAT_TEMPLATE=(empty) serves this repository's own. - With Qwen's own template (
CHAT_TEMPLATE=), earlier turns' reasoning is kept by default and"chat_template_kwargs": {"preserve_thinking": false}keeps only the latest. - Images: up to 42 per request (the launcher's cap), 8 MP each; four 8 MP images in one prompt were checked on the Flash-Next checkpoint.
- Tool calls use the standard
toolsfield, parsed with the Qwen3 coder tool parser. - To reach it from other machines, answer
networkat setup's Access question (it generates an API key), or startmerlin servewithHOST=0.0.0.0andVLLM_API_KEYset; put a TLS reverse proxy in front before opening it beyond your own network.
New in Merlin 3.0.2.3, on by default (changelog):
- Linux wheels need glibc 2.34 or newer (Ubuntu 22.04 and later);
./setup.shchecks it before any download. The release wheel needs GCC/G++ 11 or newer (11 and 12 install with a warning). This lane's speed figures are unchanged: Merlin 3.0.2.3 did not re-measure it.
New in Merlin 3.0.2.2, on by default (changelog):
- Tool calls open only at the start of a line, and the parser no longer hangs. On the Qwen3 parser a call quoted in inline code, a list, a blockquote or the middle of a sentence is returned as text, and the parser no longer stops answering when an output ends on a held tool-call opener with tools offered.
MERLIN_QWEN3_LITERAL_SPANS=0restores the 3.0.2.1 behaviour.
New in Merlin 3.0.2.1, on by default (changelog):
- Shared-prefix checkpoints (FGPC). Sessions that open behind the same system prompt, covering at least one 4,096-token attention block, resume their first turn from a cached checkpoint instead of recomputing the prompt. With a ~9K shared prompt on Flash-Next's swarm launch, 43 of 87 and 41 of 85 first turns came from cache in two runs, against 0 of 82 with it off; speed, a long soak and output tokens stayed within their run-to-run bands.
merlin serve <model> -- --no-enable-mamba-shared-prefix-checkpointturns it off. Measured on Flash-Next; on this checkpoint the speed rows ran with it on, and its reuse was not measured separately. - Long prompts hold running sessions back less (on by default). A long cold prompt takes turns with the running sessions instead of sharing every step with them. In four runs on 4 × RTX 3090 with three sessions decoding through a cold prefill, those sessions kept 31–38 % of their decode speed during a 64K–128K prefill (14–16 % with 512-token slices alone). The costs: the cold prompt's own first token came 17–19 % later at 64K, 12–14 % at 128K and 19–24 % at 262K; the p99 gap between streamed tokens was 0.40 s in three runs and 0.58 s in one (0.23–0.35 s without the runs); and with no session decoding, three cold 64K prompts sent together reached their first token (p95) in 34.5–34.7 s against 28.3–28.9 s. A new prompt still waits for a free session slot when all are in use (
SEQS).PREFILL_RUNS=0turns it off;LPT=<n>sets the 512-token slice used while no session decodes. Measured on Flash-Next; not measured separately on this checkpoint. - Quoted tool calls stay text. On the Qwen3 parser a tool call inside a fenced code block, a tool block quoted in closed reasoning, or a call to a tool the request did not offer is returned as text.
MERLIN_QWEN3_LITERAL_SPANS=0restores the 3.0.2 behaviour (the unoffered-name rule stays on).
Optional Merlin features (as in 3.0.2.2), all off by default (flags and limits):
- KV RAM cache (experimental).
--kv-ram-cache 24gkeeps conversation prefixes the GPU evicts in host RAM and restores them instead of recomputing them, with exactly the same output as a GPU cache hit. On Flash-Next a 262K restore took 1.2–1.4 s instead of about 45 s to recompute (measured on the Flash-Next checkpoint, Merlin 3.0.1). It works with the MTP drafter only (not with--spec dflash2) and adds no context or sessions. Since Merlin 3.0.2.1 it keeps its decode speed once full: 122.3 tok/s one stream on a full cache against 72.6 on 3.0.2, on the reporter's thinking-off 800-token stress probe, with identical output. - More sessions with
--swarm(experimental). Raises the session cap on four RTX 3090s from 8 to 24, with a 48 GB KV RAM cache. ⚫ Untested on this checkpoint (expected to work); it was tested on Flash-Next with P2P. - DFlash2 drafter.
--spec dflash2on four RTX 3090s with P2P decoded 5–18 % faster than the default MTP drafter across the Flash-Next family (measured on Merlin 3.0.1); the server then holds three 262K sessions instead of six 131K ones (KV pin 3,630,000,000 B, pool 815,203 tokens in 3.0.2.1, 3.0.2.2 and 3.0.2.3, so three 262K sessions still fit with the prefill runs on). Since Merlin 3.0.2.2 DFlash2 takes its own prefill-runs tick costs: sessions keep decoding during a long ingest, and a cold prompt's first token comes about 18 to 19 % later../setup.sh --spec dflash2downloads the 1.2 GB drafter. - No INT6 n-gram table here.
--ple int6is refused for this checkpoint: its draft acceptance drops too far with the INT6 table. It serves with the FP8 table (--ple fp8, the default). - PLE table on NVMe (experimental).
--ple-store diskreads the n-gram table from the checkpoint's files on local NVMe instead of holding it in host RAM, which frees about 47.7 GiB. On Flash-Next output matchedramtoken for token, and decode was about 2 % slower once the table was cached and 9–11 % slower on text whose rows were not cached yet. ⚫ Untested on this checkpoint (expected to work);ramstays the default. Costs and limits.
The base model
huihui-ai's abliteration removes the refusal direction from Qwen3.8-Flash-Next (method: remove-refusals-with-transformers); this checkpoint carries that edit onto UkisAI's Swift 1.5, a post-train of Qwen3.8-Flash-Next for shorter reasoning. The architecture is Qwen3.8-Flash-Next's, Qwen's preview of the architecture behind Qwen4:
- Hybrid attention. Three Gated DeltaNet (linear-attention) layers for every Qwen Sparse Attention layer. QSA attends over micro-blocks instead of single tokens, which keeps long-context latency down.
- Sparse experts. 512 experts per layer with 10 routed and 1 shared active per token: 6B of the 125B parameters do the work for each token.
- N-gram embedding. A 51B-parameter bigram/trigram table at layer 2 adds parameter capacity with less computation than adding experts would. Merlin keeps it in host RAM, so the VRAM goes to KV cache.
- Gated residual. Widened residual streams with a data-dependent read gate and a per-branch write gate.
- Multi-token prediction. One MTP layer, trained over several steps; Merlin uses it for speculative decoding.
- Thinking by default, with a non-thinking mode per request; Qwen's template keeps earlier turns' reasoning by default (preserved thinking).
| Property | Qwen3.8-Flash-Next |
|---|---|
| Type | Causal language model with a vision encoder (images and video) |
| Parameters | 125B total, 6B active, plus 51B n-gram embedding and 4B MTP |
| Layers | 48: 12 × (3 × Gated DeltaNet → MoE, then 1 × Qwen Sparse Attention → MoE) |
| Experts | 512 per layer; 10 routed + 1 shared active; expert width 640 |
| Attention | QSA: 24 query / 2 KV heads, head dim 256, budget 512 blocks or 2,048 tokens · Gated DeltaNet: 48 V / 16 QK heads, head dim 128 |
| Context | 262,144 tokens native (Qwen: extensible to 1M with YaRN; this build serves 262,144) |
Architecture as reported by Qwen on the upstream card; Swift 1.5 keeps it.
Other builds
| Checkpoint | Base | GPUs | Decode at 262K |
|---|---|---|---|
| Flash-Next | Qwen3.8-Flash-Next, 125B MoE | 4× 3090 | 204 tok/s |
| Swift1.5 | Flash-Next fine-tune | 4× 3090 | 182 tok/s |
| Swift1.5-Huihui (this card) | Swift1.5, abliterated | 4× 3090 | 203 tok/s |
| Qwen3.8-27B | Qwen3.8-27B, dense | 1×, 2× or 4× 3090 | 75 / 160 / 267 tok/s |
| ThinkingCap | Qwen3.8-27B fine-tune | 2× or 4× 3090 | 163 / 274 tok/s |
| Nemotron 3.5 Super VL | Nemotron 3.5 Super VL, 120B-A12B MoE | 4× 3090 | 101 tok/s |
| Ornith 1.5 | Qwen3.5-122B-A10B fine-tune (ornith-ai), 122B MoE | 4× 3090 | 106 tok/s |
| Hy4 Flash | Tencent Hy4-flash, MoE | 4× 3090 | 109 tok/s |
One stream, thinking on, 261,888 prompt tokens + 128 out, median of 3 sends, each a different text (with speculative decoding the rate varies with the text; the bench cards give the range). Flash-Next: Merlin 3.0.2.3, 2026-11-27 bench card; Qwen3.8-27B and ThinkingCap on four cards and Ornith 1.5: Merlin 3.0.2.2, 2026-11-21 bench cards; the other figures: Merlin 3.0.2.1, 2026-11-12 bench cards (runs of 2026-11-10 to 2026-11-12), carried forward to 3.0.2.3 after a spot check; ThinkingCap's two-card figure is the median of 12 sends. Thinking on at reasoning effort medium, the server default, wherever the checkpoint has effort levels; the Nemotron and Ornith 1.5 templates have none, so those two ran at full thinking. Hy4 Flash: Merlin 3.0.2.3, 2026-11-27 bench card, thinking on at reasoning effort high and K=3 (its shipped default).
Good to know
- Licence: the Swift weights are not Apache-2.0. UkisAI's contribution is under the Swift Open License v1.0 (
LICENSE): commercial use by an organisation with US$1,000,000 or more in gross annual revenue (with its affiliates) is not licensed under it and needs a separate Swift Enterprise License from UkisAI; a qualified non-profit's non-commercial or research use is exempt from that threshold (§§1 and 5). The base-model portions stay under the Qwen Community License 1.0 (LICENSE-QWEN): products above 100 million monthly active users or US$20 million monthly revenue must show the model name prominently, and if the licensee or an affiliate runs a Model-as-a-Service or AI Work Assistant business, commercial use needs a separate licence from Qwen, except internal use that makes neither the software, its outputs nor its model capabilities available to third parties (§§1–2).NOTICElists every change made here. This is a summary, not legal advice; the licence texts govern. huihui-ai's derivative is under the Qwen Community License 1.0. - Narrow evidence: GSM8K, needles, structured output, agent turns and a refusal battery; no broader evaluation of this combination. UkisAI's and huihui-ai's own claims are about their BF16 models.
- Every figure we measured for this checkpoint comes from one setup: 4× RTX 3090 at 220 W, PCIe Gen4 x16 with P2P (the 3.0.1, 3.0.2 and 3.0.2.1 figures also with the gpu-unlock host upgrade on), apart from the earlier-engine comparison with Swift 1.5 under Quality; upstream results and the Other builds rows use their stated setups.
- Only if you shrink the KV pool yourself: keep it larger than
--max-model-lenplus a few blocks. With the shipped settings this cannot occur. - Coming from the
qwen38-flash-next-3090sengine (v2.x or earlier)? It is replaced by the Merlin engine; this checkpoint's files are unchanged.
Changes
| Date | Change to this repository |
|---|---|
| 2026-11-29 | Card updated for Merlin 3.0.2.3 (wheel and install lines; the speed figures are the 3.0.2.1 ones, carried forward after the 3.0.2.2 spot check; the Flash-Next decode in the family table is the 3.0.2.3 one). The weights are unchanged. |
| 2026-11-21 | Card updated for Merlin 3.0.2.2 (install lines; the speed figures are the 3.0.2.1 ones, carried forward after a spot check). The weights are unchanged. |
| 2026-11-12 | Card updated for Merlin 3.0.2.1 (speed figures, new defaults and install lines). The weights are unchanged. |
| 2026-11-05 | Card updated for Merlin 3.0.2 (speed figures, options and install lines). The weights are unchanged. |
| 2026-11-02 | Card updated for Merlin 3.0.1 (speed figures and options). The weights are unchanged. |
| 2026-10-12 | Weights published (with Qwen's upstream tokenizer.json); unchanged since |
Other card-only edits are not listed. Engine releases and their speed changes: the engine's CHANGELOG.
Credits and licence
Qwen (model; Qwen Community License 1.0, see LICENSE-QWEN), UkisAI (Swift 1.5; Swift Open License v1.0, see LICENSE), huihui-ai (the abliteration; method from remove-refusals-with-transformers), Intel (AutoRound experts), RadixArk (FP8 PLE table), DominikBucko (MTP packing recipe), froggeric (the fixed Qwen3.8 chat template the engine serves), the vLLM community PLE-offload work, aikitoria (peer-to-peer on consumer Ampere), Neiko2002, and CoolShades (the idle-power report behind the v2.5.2 engine fix). Upstream fixes are credited in the engine repository.