# Qwen3.8 Flash Next

Built for serving four people or parallel background agents at once on a single 128 GB DGX Spark — choose TensorFold for the cleanest one-binary install and strict JSON, or Hibana for peak 4-user speed.

[Canonical HTML page](https://lasse-ai.com/recipes/qwen3-8-flash-next/)

## Origin and credits

Built by upstream projects and independently tested by Lasse AI.

- [Ash Hart / TensorFold](https://github.com/ashhart/TensorFold)
- [Yahya Emara, Chi-Chih Chang / Cornell Abdelfattah Lab (Hibana)](https://github.com/sharar-project/hibana)
- [Peter Dedene](https://github.com/dedene/Hibana-Qwen3.8-Flash-Next-DGX-Spark)
- [prestonlogan](https://github.com/prestonlogan/Qwen3.8-Flash-Next-Single-DGX-Spark-Ultrafast)
- [Qwen](https://huggingface.co/Qwen/Qwen3.8-Flash-Next)
- [RadixArk NVFP4](https://huggingface.co/RadixArk/Qwen3.8-Flash-Next-NVFP4)
- [TensorFold v1.3.4](https://github.com/ashhart/TensorFold/releases/tag/v1.3.4)
- [TensorFold MLX](https://huggingface.co/TensorFold/Qwen3.8-Flash-Next-MLX-4bit-MTP)
- [prestonlogan MTP](https://huggingface.co/prestonlogan/Qwen3.8-Flash-Next-MTP-Draft-Head)

## Hardware and prerequisites

One 128 GB NVIDIA DGX Spark. Four 33K-token slots use around 90–94 GiB peak unified memory, leaving around 24–26 GiB of headroom.

| Preset | Engine | Quantization | Context | Vision | Speculative decoding | Port |
| --- | --- | --- | --- | --- | --- | --- |
| 1× DGX Spark · TensorFold 1.3.4 | TensorFold 1.3.4 | MLX-4bit | 33792 | Unspecified | MTP | 8080 |
| 1× DGX Spark · Hibana | Hibana | RadixArk NVFP4 + W3 | 33792 | No | Distilled MTP (relaxed acceptance) | 8080 |

### 1× DGX Spark · TensorFold 1.3.4 (`spark-tensorfold`)

API: `http://127.0.0.1:8080/v1`

Parallel slots: 4

```sh
# Download TensorFold v1.3.4 linux-aarch64 from https://github.com/ashhart/TensorFold/releases/tag/v1.3.4
hf download TensorFold/Qwen3.8-Flash-Next-MLX-4bit-MTP --local-dir ./qwen38-flash-next
./bin/tensorfold-native serve ./qwen38-flash-next \
  --backend cuda --host 127.0.0.1 --port 8080 \
  --context 33792 --parallel 4 --prompt-cache-gib 4 \
  --max-tokens 32768 --no-update-check
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:8080/v1/models
```

### 1× DGX Spark · Hibana (`spark-hibana`)

API: `http://127.0.0.1:8080/v1`

Parallel slots: 4

```sh
# Inside your Hibana Spark recipe checkout (RadixArk NVFP4 + W3 checkpoint + distilled MTP):
env PROFILE=fast TUNING=v1.1 PROPOSER=mtp SSD=off HOST_FLOOR_GIB=26 \
  HIBANA_VISION=0 CONTEXT=33792 PARALLEL=4 HOST=127.0.0.1 PORT=8080 \
  bash tools/serve.sh
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:8080/v1/models
```

## Connect clients

Use the API URL from the selected preset. Confirm the model ID with `/v1/models`. The recipe's example model ID is `qwen38-flash-next`.

- **Open WebUI** — Enter the OpenAI API URL under Settings → Connections.
- **Coding agent** — Select an OpenAI-compatible provider and enter the API URL and model ID.
- **Python SDK** — Use the port of the selected preset.

```python
from openai import OpenAI

client = OpenAI(base_url="http://127.0.0.1:8080/v1", api_key="local")
```

`local` is a placeholder. If the server requires authentication, use the key configured on the server.

## Caveats

- Hibana’s fast profile uses relaxed acceptance (~24% faster than exact acceptance in our test), can diverge from greedy tokens and needed a small fix on the tested commit.
- Hibana needs a configured Spark recipe checkout with RadixArk NVFP4, W3 and distilled MTP. TensorFold 1.3.4 requires the linux-aarch64 binary.
- TensorFold packages Qwen’s model in MLX. The Hibana route uses RadixArk NVFP4, Hibana’s 3-bit experts and prestonlogan’s distilled MTP head with a recipe based on Peter Dedene’s Spark setup.

## Measurements

- **4-request aggregate speed** — Hibana fast profile 204.0 tok/s vs. TensorFold 1.3.4 98.7 tok/s. [1](https://lasse-ai.com/tests/2026-11-25-qwen3-8-flash-next-speed-and-tool-use-with-hibana/) [2](https://lasse-ai.com/tests/2026-11-25-qwen3-8-flash-next-speed-and-tool-use-with-tensorfold/)
- **Tools & structured output** — TensorFold passed 24/24 strict JSON schemas and 38/100 BFCL multi-turn; Hibana scored 35/100 BFCL. [1](https://lasse-ai.com/tests/2026-11-25-qwen3-8-flash-next-speed-and-tool-use-with-tensorfold/) [2](https://lasse-ai.com/tests/2026-11-25-qwen3-8-flash-next-speed-and-tool-use-with-hibana/)

## Test records

- [Qwen3.8 Flash Next: speed and tool use with Hibana](https://lasse-ai.com/tests/2026-11-25-qwen3-8-flash-next-speed-and-tool-use-with-hibana/)
- [Qwen3.8 Flash Next: speed and tool use with TensorFold](https://lasse-ai.com/tests/2026-11-25-qwen3-8-flash-next-speed-and-tool-use-with-tensorfold/)
