Swift-Qwen3.8-Flash-Next Β· EXL3
downloads
--revision 3.25bpw_hq_ng5.
builds
| branch | layer bpw | head | weights | requires |
|---|---|---|---|---|
| 3.25bpw_hq_ng5 | 3.25 | 5.0 | 52.47 GiB Β· 7 shards | ExLlamaV3 β₯ v1.5.1 |
measurements Β· KLD
| build | KLD mean | KLD p90 | perplexity | Ξ ppl |
|---|---|---|---|---|
| noise floor (BF16 vs BF16) | 0.021 | 0.042 | β | β |
| Swift BF16 (reference) | β | β | 3.9453 | β |
| 3.25bpw hq ng5 | 0.107 | 0.214 | 3.9493 | +0.10% |
runtime Β· 2x RTX 5090 32 GB
| build | MTP decode | draft acceptance |
|---|---|---|
| 3.25bpw hq ng5 | 164β241 tok/s across eval categories, roughly 2x over MTP-off on coding tasks Β· peak ~48.3 GiB weights across both cards | 1.86β3.49 draft tokens per step Β· at length 4: coding 74β92%, agentic/code 77β100%, creative 39β49%, translation 53β60% |
how it was made
Only the weights were requantized and EXL3 metadata added; LICENSE, LICENSE-QWEN and NOTICE are the unmodified upstream files. Raw metrics (
qb_results.json, draft_stats.json) live under eval/ on the build branch.
Original model card
Unmodified README of Swift1.5-Qwen3.8-Flash-Next, kept below for reference.
Swift 1.5 Qwen3.8-Flash-Next
Swift 1.5 Qwen3.8-Flash-Next is UkisAI's reasoning-efficient derivative of Qwen3.8-Flash-Next. It uses 63.4% fewer thinking tokens, with a 1.8x speed up while keeping the accuracy loss <1% vs base on xhigh.
Demo
We gave base Qwen3.8-Flash-Next and Swift 1.5 Qwen3.8-Flash-Next the same prompt:
Create a 3D endless runner that has the fast, playful feel of Subway Surfers, but make the world and characters your own. I want to run through a lively place, dodge things, collect rewards, and feel the pace build the longer I survive. Make it fun to control and visually memorable. Use your judgment for the setting, mechanics, and little details that make it feel like a real game. Build it so I can launch and play it locally, then tell me how to run it.
Try the game yourself here: https://ukisai.com/swift-games/flash-next
Base Qwen3.8-Flash-Next took 8 minutes 52 seconds to build its game. Swift 1.5 took 4 minutes 56 seconds.
Training approach
We made Swift Flash Next efficient by figuring out which tokens were linked to pathological overthinking and penalizing them without "attacking" the reasoning length directly then regained the accuracy with RL and OPD, leading to "compressed" token usage while maintaining accuracy.
Swift 1.5 produces shorter reasoning traces. In our testing, we also observe fewer overthinking errors.
This release also features our previously mentioned post-training methods adapted specifically for coding and long-horizon agent work such as personal agents, terminal use and software engineering.
Our training data is viewable here: https://huggingface.co/datasets/ukisai/Qwen3.8-27B-multi-turn-agent-sft albeit it is not used out of the box, but rather re-sampled, turned into proper RL environments etc.
Evaluation
All scores compare the Qwen3.8-Flash-Next BF16 base with the Swift 1.5 BF16 checkpoint. Token columns report thinking tokens, except Terminal-Bench 2.1, which reports total generated output tokens.
| Benchmark | Score | Mean tokens | Median tokens | |||
|---|---|---|---|---|---|---|
| Base | Swift 1.5 | Base | Swift 1.5 | Reduction | Reduction | |
| General reasoning | ||||||
| GPQA-Diamond | 89.80% | 89.60% | 17,683 | 7,823 | β 55.8% | β 63.4% |
| MMLU-Pro | 87.75% | 87.20% | 3,528 | 1,519 | β 57.0% | β 24.0% |
| C-Eval | 93.27% | 93.60% | 1,048 | 586 | β 44.1% | β 7.1% |
| IFBench | 73.20% | 70.13% | 8,310 | 4,411 | β 46.9% | β 55.6% |
| Mathematics | ||||||
| AIME 2026 | 98.67% | 96.67% | 23,015 | 15,806 | β 31.3% | β 51.1% |
| HMMT (Nov 2025) | 98.00% | 97.33% | 25,487 | 16,530 | β 35.1% | β 54.7% |
| Multimodal | ||||||
| ERQA | 70.80% | 69.30% | 4,036 | 1,788 | β 55.7% | β 47.7% |
| Coding | ||||||
| LiveCodeBench v6 | 88.40% | 90.39% | 17,833 | 9,849 | β 44.8% | β 52.0% |
| Agentic coding | ||||||
| Terminal-Bench 2.1* | 67.64% | 69.66% | 40,591 | 45,428 | β 11.9% | β 17.9% |
* Note: Terminal-Bench 2.1 results for Flash-Next are not an apples-to-apples comparison with Swift 1.5 27B. Flash-Next used default task timeouts, leading to lower scores for both the base model and Swift Flash-Next.
How to reproduce
Serving: BF16 Β· Qwen3 reasoning parser Β· context 262,144 Β· thinking xhigh Β· MTP disabled.
Sampling: temperature 1.0 Β· top_p 0.95 Β· top_k 20 Β· min_p 0 Β· presence_penalty 0 Β· repetition_penalty 1.
Benchmarks: five seeds (0β4) for the seeded question benchmarks; Terminal-Bench 2.1 uses five attempts per task. LiveCodeBench is full release v6 mean pass@1 over seeds.
Terminal-Bench 2.1: Harbor 0.20.0 / Terminus-2 2.0.0, pinned 89-task dataset, JSON parser, interleaved thinking, temperature 1, top_p 1, 131,072-token server context, 3,600-second LLM call timeout and native per-task limits. Swift used concurrency 8; its context-recovery fix was applied during the run.
| Benchmark | Output cap |
|---|---|
| GPQA-Diamond | 100,000 |
| MMLU-Pro | 100,000 |
| C-Eval | 16,384 |
| IFBench | 81,920 |
| AIME 2026 | 250,000 |
| HMMT Nov 2025 | 250,000 |
| ERQA | 100,000 |
| LiveCodeBench v6 | 100,000 |
Efficiency across reasoning efforts
GPQA-Diamond at each reasoning_effort setting, Swift 1.5 against the base at the same setting:
| Reasoning effort | Score | Mean tokens | Median tokens | |||
|---|---|---|---|---|---|---|
| Base | Swift 1.5 | Base | Swift 1.5 | Reduction | Reduction | |
| Xhigh | 89.80% | 89.60% | 17,683 | 7,823 | β 55.8% | β 63.4% |
| Medium | 86.36% | 83.74% | 4,157 | 2,483 | β 40.3% | β 25.1% |
| Low | 87.17% | 84.75% | 3,966 | 2,645 | β 33.3% | β 19.7% |
At xhigh, Swift 1.5 trails base by 0.20 percentage points while using 55.8% fewer mean and 63.4% fewer median thinking tokens. Medium and low save tokens but also lose 2.62 and 2.42 percentage points respectively.
Quantized models
| Format | Repository | Runtime |
|---|---|---|
| AWQ INT4 (W4A16) | Swift-1.5-Qwen3.8-Flash-Next-W4A16-AWQ | vLLM (compressed-tensors) |
| AutoRound INT4 (W4A16) | Swift-1.5-Qwen3.8-Flash-Next-W4A16-AutoRound | vLLM (auto-round) |
| NVFP4 | Swift-1.5-Qwen3.8-Flash-Next-NVFP4 | NVIDIA Blackwell |
| GGUF | Swift-1.5-Qwen3.8-Flash-Next-GGUF | llama.cpp |
| GSQ-RCO GGUF (compact 2β3 bit) | Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF | llama.cpp |
How to use
The BF16 checkpoint is about 360 GB, so it needs a multi-GPU node. We evaluated it with tensor parallelism 8.
GGUF download
The GGUF version is available for compatible llama.cpp-based runtimes. For the smallest files, use the GSQ-RCO GGUF version: 66.5β76 GB mixed-precision quants refined for Swift 1.5 Flash-Next.
UkisAI API
Swift 1.5 Flash-Next is served through an OpenAI-compatible API at
https://ukisai.com/api/flash-next/v1. It is free for research purposes and needs no
API key. The model id is flash-next.
from openai import OpenAI
client = OpenAI(base_url="https://ukisai.com/api/flash-next/v1", api_key="none")
response = client.chat.completions.create(
model="flash-next",
messages=[{"role": "user", "content": "Explain speculative decoding in two sentences."}],
)
print(response.choices[0].message.content)
curl https://ukisai.com/api/flash-next/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model": "flash-next", "messages": [{"role": "user", "content": "Hello, Swift."}]}'
vLLM
Use a vLLM build with Qwen3.8-Flash-Next support:
vllm serve ukisai/Swift-Qwen3.8-Flash-Next \
--dtype bfloat16 \
--tensor-parallel-size 8 \
--max-model-len 262144 \
--reasoning-parser qwen3 \
--enable-auto-tool-choice \
--tool-call-parser qwen3_xml \
--trust-remote-code \
--port 8000
Reasoning effort is set per request through the chat template, for example
"chat_template_kwargs": {"reasoning_effort": "low"}. xhigh is the default; medium and low are also supported.
SGLang
Alternatively, use an SGLang build with Qwen3.8-Flash-Next support, such as the
lmsysorg/sglang:qwen38flashnext image:
sglang serve \
--model-path ukisai/Swift-Qwen3.8-Flash-Next \
--tp 8 \
--context-length 262144 \
--mem-fraction-static 0.85 \
--reasoning-parser qwen3 \
--tool-call-parser qwen3_coder \
--port 8000
Adjust tensor parallelism and context length to your GPU memory. See the base model's vLLM recipe and SGLang cookbook for installation and hardware-specific settings.
Transformers
Use a Transformers release with Qwen3.8-Flash-Next support:
import torch
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "ukisai/Swift-Qwen3.8-Flash-Next"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
To extend the context to 1,000,000 tokens, follow the YaRN settings on the Qwen3.8-Flash-Next model card.
Optional MTP decoding
The checkpoint includes the base model's one-layer MTP head. To enable self-speculative decoding, append the corresponding flags to the server command above:
# vLLM
--speculative-config '{"method":"mtp","num_speculative_tokens":1}'
# SGLang
--speculative-algorithm NEXTN --speculative-num-steps 3 \
--speculative-eagle-topk 1 --speculative-num-draft-tokens 4
The benchmark scores above were measured without MTP.
License and access
Swift 1.5 Qwen3.8-Flash-Next is a derivative of Qwen3.8-Flash-Next (Copyright (c) 2026 Qwen, Qwen Community License 1.0). UkisAI's contribution, including the adapted weights, is licensed under the Swift Open License v1.0. See NOTICE for the change notice and attribution details.
Personal, research, educational, evaluation, and commercial use of the Swift contribution are free for individuals and organizations with gross annual revenue, including affiliates, of up to US$1,000,000. Above that threshold, commercial use requires a separate Swift Enterprise License. Contact UkisAI for terms.
The base model's terms still apply to it. Under the Qwen Community License 1.0, organizations that run a Model-as-a-Service or AI Work Assistant business need a separate license from Qwen before any commercial use, and products above 100 million monthly active users or US$20 million monthly revenue must prominently display the model name. Nothing in the Swift Open License limits your rights in Qwen3.8-Flash-Next itself under the Qwen Community License.
Citation
@misc{swift-qwen3.8-flash-next,
title = {Swift 1.5 Qwen3.8-Flash-Next},
author = {UkisAI},
year = {2026},
url = {https://huggingface.co/ukisai/Swift-Qwen3.8-Flash-Next}
}
Acknowledgements
We acknowledge the NVIDIA Innovation Lab, Amazon Web Services, and Google Cloud for providing compute credits and infrastructure support for Swift's development, training, and evaluation.
Model tree for scorpoon/Swift-Qwen3.8-Flash-Next-exl3-3.25bpw
Base model
Qwen/Qwen3.8-Flash-Next