UkisAI Swift — purple and blue diamond mosaic

Swift-Qwen3.8-27B

Swift-Qwen3.8-27B is UkisAI's reasoning-efficient derivative of Qwen3.8-27B, using 58.3% fewer thinking tokens while maintaining near-identical performance (<1% loss) and as a result getting a x1.95 speed-up on several tasks.

Training approach

Reasoning models often repeat checks or revisit answers they have already found. Swift reduces this extra reasoning.

We identified tokens associated with overthinking in Qwen’s reasoning and penalized their use during training. Swift produces shorter reasoning traces, and we observe fewer overthinking errors in our testing.

Swift includes a transfer component derived from BottleCap AI’s ThinkingCap-Qwen3.6-27B. The resulting model uses the standard Qwen3.8 interface and retains text, image, and video support.

Benchmark results

We evaluated Qwen3.8-27B and Swift on nine benchmarks, with BF16 weights and five runs per model. All base scores come from our own evaluations.

BF16 base vs. Swift · five runs per model
BenchmarkAccuracyMean tokensToken reduction
BaseSwiftBaseSwiftMeanMedian
General reasoning
GPQA-Diamond88.38%88.28%15,0148,855↓ 41.0%↓ 58.3%
MMLU-Pro85.47%84.95%2,9801,603↓ 46.2%↓ 28.3%
C-Eval90.00%90.62%1,492804↓ 46.1%↓ 19.3%
IFBench73.53%71.80%8,0524,657↓ 42.2%↓ 50.5%
Mathematics
AIME 202698.67%94.00%22,01416,143↓ 26.7%↓ 50.2%
HMMT Nov 202599.33%96.00%22,03215,189↓ 31.1%↓ 45.9%
Multimodal
ERQA67.45%66.30%4,1372,045↓ 50.6%↓ 54.6%
Coding & agents
Terminal-Bench 2.166.74%65.84%37,08627,272↓ 26.5%↓ 38.7%
LiveCodeBench v676.76%81.55%11,3748,615↓ 24.3%↓ 45.8%

Swift uses fewer tokens on every benchmark. Accuracy stays close on GPQA and C-Eval and improves on LiveCodeBench. AIME and HMMT show larger accuracy losses, as the table shows.

How to reproduce

Serving configuration

BF16 · vLLM 0.27.1 · Qwen3 reasoning parser · context 262,144. Thinking is enabled at xhigh. Sampling: temperature=1.0, top_p=0.95, top_k=20, min_p=0, presence_penalty=0, repetition_penalty=1.

Benchmark configurations

Five request seeds (0–4) per model, with averages reported across runs. Terminal-Bench uses five trials per task; IFBench uses strict scoring. LiveCodeBench covers the full release_v6.

BenchmarkOutput cap
GPQA-Diamond100,000
MMLU-Pro100,000
C-Eval16,384
IFBench81,920
AIME 2026250,000
HMMT Nov 2025250,000
ERQA100,000
Terminal-Bench 2.1Agent/task limits
LiveCodeBench v632,768

Mean reduction is computed from the base and Swift token means; median reduction compares their median token counts. The headline 58.3% refers to the GPQA-Diamond median reduction, the largest in the suite. LiveCodeBench measures completion tokens; the other rows measure thinking tokens. Terminal-Bench counts tokens per complete trial.

Some base outputs were reused from saved runs. Exact replay requires the original dataset snapshots and harness manifests, which are retained internally.

Reasoning effort

Qwen3.8 lets users set reasoning_effort. We tested medium and low as well as xhigh; Swift uses fewer thinking tokens at all three settings.

Reasoning effortMean thinking reduction
Xhigh↓ 41.0%
Medium↓ 22.7%
Low↓ 25.8%
Effort comparison settings

These are matched BF16 measurements from one benchmark, repeated across five seeds at each effort level, with the same 100,000-token output cap. They establish token savings at each setting; they do not establish unchanged accuracy across the full suite at medium and low effort.

Quantized models

Swift is intended for quantized deployment. We tested mixed-precision W4A16 and AWQ INT4 weights and found that token savings carry over.

INT4 base vs. the same quantized base with Swift
Benchmark / quantizationBase accuracySwift accuracyMean reductionMedian reduction
GPQA-DiamondMixed-precision W4A1688.69%88.38%↓ 32.1%↓ 50.2%
IFBenchMixed-precision W4A1672.58%71.25%↓ 30.1%↓ 38.0%
AIME 2026Mixed-precision W4A1684.00%84.00%↓ 19.0%↓ 37.5%
AIME 2026AWQ INT482.67%84.00%↓ 22.8%↓ 34.8%

On AIME, Swift matches or improves accuracy and reduces output-cap failures by 31–33%. GPQA accuracy stays close to the quantized base; IFBench accuracy is slightly lower.

Quantized evaluation settings

GPQA and AIME use five seeds; IFBench uses four samples per prompt and strict scoring. Output caps: GPQA 100,000; IFBench 81,920; AIME 32,768. GPQA measures thinking tokens; IFBench and AIME measure completion tokens. GPQA and IFBench use historical base runs. AIME uses template-default effort and counts truncated answers as incorrect, so it is a separate comparison from the BF16 math results.

Run Swift

The full model is available on Hugging Face. Serve it with vLLM or SGLang, using a build that supports Qwen3.8. Adjust tensor parallelism and context length to your GPU memory.

vLLM configuration
vllm serve ukisai/Swift-Qwen3.8-27b \
  --dtype bfloat16 \
  --tensor-parallel-size 1 \
  --max-model-len 262144 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_coder \
  --port 8000
SGLang configuration
python -m sglang.launch_server \
  --model-path ukisai/Swift-Qwen3.8-27b \
  --dtype bfloat16 \
  --tp-size 1 \
  --context-length 262144 \
  --reasoning-parser qwen3 \
  --tool-call-parser qwen3_coder \
  --port 8000

For hardware-specific options, see the vLLM recipe or SGLang recipe. The model’s MTP head is included; optional decoding flags are in the model card.

License

Swift is released under the Swift Open License v1.0. Personal, research, educational, evaluation, and commercial use are free for individuals and organizations with gross annual revenue, including affiliates, of up to US$1 million. Commercial use above that threshold requires a Swift Enterprise License.

Contact us for enterprise licensing.

Acknowledgements

We acknowledge the NVIDIA Innovation Lab for providing access to 8× NVIDIA H100 GPUs to train Swift.