Independent local-AI lab Benchmarked on site
REVISED 02 DEC 2026
← ALL RECIPES UPSTREAM RECIPES · TESTED BY US1× DGX SPARK

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.

ORIGIN · UPSTREAM & COMMUNITY RECIPES (NOT BUILT BY LASSE AI) Ash Hart / TensorFold packages the Qwen model in MLX. Yahya Emara, Chi-Chih Chang / Cornell Abdelfattah Lab (Hibana) developed the Hibana engine. The Spark recipe by prestonlogan builds on Peter Dedene’s setup and combines RadixArk NVFP4 with 3-bit experts and prestonlogan’s distilled MTP head.
4-USER SPEED (HIBANA) 204.0 tok/s combined across 4 requests
4-USER SPEED (TENSORFOLD) 98.7 tok/s native aarch64 binary
STRICT JSON SCHEMAS 24/24 zero malformed calls (TensorFold)
MULTI-TURN TOOLS 38/100 BFCL TensorFold · 35/100 Hibana
  1. Choose hardware
  2. Launch the server
  3. Verify the endpoint
  4. Connect your tools
01
HARDWARE CHECK

What you need on a DGX Spark

ENGINE PROFILE SLOTS & CONTEXT 4-USER THROUGHPUT TOOL & JSON SCORES
TensorFold 1.3.4 (recommended) 4 slots · 33K ctx 98.7 tok/s aggregate 24/24 JSON · 38/100 BFCL
Hibana fast profile 4 slots · 33K ctx 204.0 tok/s aggregate 35/100 BFCL multi-turn
HARDWARE & MEMORY

1× NVIDIA DGX Spark (128 GB unified)

Uses ~90–94 GiB peak unified memory with four parallel 33K-token slots active, leaving ~24–26 GiB headroom for the operating system and your tools. Does not fit on a 32 GB desktop card.

WHICH ENGINE TO PICK

TensorFold vs. Hibana

Start with TensorFold 1.3.4 if you want a single binary, strict 24/24 JSON schema reliability, and easy maintenance. Pick Hibana if raw multi-user speed (204.0 tok/s) matters most and you are comfortable maintaining a Python + FlashInfer stack.

02
GET IT RUNNING

Launch the 4-slot Spark server

RECOMMENDED · TENSORFOLD 1.3.4 NATIVE AARCH64 (4 SLOTS · PORT 8080)
# 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
MAX THROUGHPUT · HIBANA FAST PROFILE (4 SLOTS · 204 TOK/S)
# 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

On GB10 CUDA, leave TensorFold KV cache at its default (BF16) — passing --kv-cache fp8 is rejected on this model path.

Give this prompt to Claude Code or Codex directly on your DGX Spark to download the release binary, pull the checkpoint, and verify all 4 concurrent slots.

AI AGENT INSTALL PROMPT
Set up Qwen3.8 Flash Next for 4 concurrent users on my DGX Spark (aarch64 GB10) using Lasse AI's tested recipe:
- Engine: TensorFold v1.3.4 linux-aarch64 (https://github.com/ashhart/TensorFold/releases/tag/v1.3.4)
- Model: TensorFold/Qwen3.8-Flash-Next-MLX-4bit-MTP

Steps:
1. Verify available memory (`free -h`) leaves at least 24 GiB headroom and download TensorFold v1.3.4 linux-aarch64 + the Hugging Face model.
2. Start `tensorfold-native serve` with `--backend cuda --host 127.0.0.1 --port 8080 --context 33792 --parallel 4 --prompt-cache-gib 4 --max-tokens 32768 --no-update-check` (keep default BF16 KV cache; do NOT pass `--kv-cache fp8`).
3. Verify `curl http://127.0.0.1:8080/v1/models` and send 4 parallel test prompts to confirm clean 4-slot throughput against our 98.7 tok/s reference.
03
VERIFY & MAKE IT USEFUL

Verify it works, then connect your tools

Once the server is running, it exposes a local OpenAI-compatible API at http://127.0.0.1:8080/v1 — the model server itself sends nothing over the internet (check any client app’s own privacy settings).

QUICK TERMINAL CHECK (3 SECONDS)
curl http://127.0.0.1:8080/v1/models
01 · PRIVATE CHAT & DOCUMENTS

Open WebUI

Best for everyday chat, PDFs and images in your browser. In Open WebUI under Settings → Connections, point the OpenAI API URL here (key: local):

OPENAI API URL
OPENAI_API_BASE_URL=http://127.0.0.1:8080/v1
02 · CODING AGENTS

Codex, Cline, OpenCode & Continue

Any OpenAI-compatible coding agent works straight against your local server. Pick the OpenAI-compatible provider (confirm exact model ID from /v1/models):

BASE URL
http://127.0.0.1:8080/v1
MODEL ID
qwen38-flash-next
API KEY
local
03 · YOUR OWN SCRIPTS

Python & OpenAI SDK

Drop-in swap in the standard OpenAI SDK — handy for summarizing emails, extracting JSON, or automating routine tasks.

PYTHON · OPENAI SDK
from openai import OpenAI
client = OpenAI(
    base_url="http://127.0.0.1:8080/v1",
    api_key="local",
)
04 · FOR YOUR TEAM OR OFFICE

Need this wired into your business?

If you want local AI working across your team’s emails, documents or workflows without data leaving the building, let’s talk through your setup.

04
MEASURED EVIDENCE & CAVEATS

Numbers behind this recipe

Show detailed measurements, tradeoffs & test records