English · 中文 · 日本語 · 한국어 · Español · Français · Deutsch
Quick Start · Performance · Models · CLI & API · llms.txt
FLYX is a zero-dependency local LLM engine that fits in a single ~66 MB Windows .exe — fast speculative decoding, native long context, tuned per GPU, no setup required. Run supported GGUF models as they are and serve them to your browser, scripts, and coding agents over OpenAI- and Anthropic-compatible APIs.

Built-in web dashboard: model management, chat, live throughput, memory breakdown, and one-click agent setup.
- Up to 6× faster generation — Built-in speculative decoding (MTP, DFlash2, DSpark, and prompt lookup): 565.5 tok/s on Qwen3.8-27B and 438.9 tok/s on Inkling-2-Mini on an RTX 5090 (Performance).
- Up to 1M native context on a consumer PC — Runs Inkling-2-Mini at 1M context on 16 GB VRAM + 32 GB RAM.
- Flash-Next QSA on 16 GB VRAM + 32 GB-class host memory — Qwen3.8-Flash-Next UD-IQ1_S ran at 352,256 tokens of configured context on Linux with 28.7 GiB of available host memory at launch. Measured setup and memory limits.
- Tuned per GPU, zero manual flags — Ships measured kernel tuning tables for 16 NVIDIA GPUs and automatically sizes context length, K/V precision, and GPU/RAM placement from available memory. No guessing offload counts, batch sizes, or cache types.
- No install, no dependencies, ~66 MB — CUDA and C++ runtimes are linked in; only the NVIDIA driver (≥ 580) is required. No CUDA Toolkit, Python, or Docker. Single ~66 MB
.exeon Windows (double-click to run), or a tarball on Linux. - Built-in web dashboard & terminal monitor — Starts straight into a browser UI (7 languages) with guided next-step hints to search/download Hugging Face or local models, chat (text & images), read localized API docs, and watch live throughput, VRAM/RAM split, sessions, requests, and logs (monitor guide).
- One-click coding agent integration — Speaks OpenAI (Chat Completions, Responses) and Anthropic Messages with tool calls and multi-turn prompt reuse. Launch Claude Code or Codex CLI straight into your project folder from Integration (Windows), or copy ready-to-run commands for DeepSeek Harness, OpenCode, and Pi.
- Verified accuracy — Every GPU kernel is tested against a
float64reference; default FP8 K/V stays within KL 0.0009–0.0016 of 16-bit on 27B; speculative decoding is token-for-token identical to plain decoding (numerics).
v0.3.1— Qwen4-35B-A3B on 16 GB: faster prompts, loads and MTP, and causal DFlash2:- Faster MTP — the MTP drafter's experts are held in 4 bits for drafting: UD-IQ4_XS decodes at 126.7 tok/s on chat against 111.0 plain on a 16 GB RTX 5070 Ti, with the same tokens. A shipped routing prior makes the first request about 9% faster at a 16 GB split.
- Causal DFlash2 — RadixArk's drafter for Qwen4-35B-A3B, downloaded from its author (its model card states no license), writes code at 205–210 tok/s on a 16 GB RTX 5070 Ti: +57–61% over plain decoding.
- Faster prompts — int8 prompt passes for the experts' GGUF types: a 32K prompt is 1.43× (UD-IQ4_XS) and 1.94× (UD-Q4_K_XL) faster on a 16 GB RTX 5070 Ti.
- Faster loads — a repeat load with MTP opens the model once when the machine's free memory is about where it was at the last load: 23.6 s instead of 41.6 s for UD-IQ4_XS on a 16 GB card (Windows). On Windows a model file larger than the free RAM is now read unbuffered for the GPU: UD-IQ4_XS's backend open takes 7.8–8.7 s instead of 10.2–13.2 s.
- Long prompts under offload — each request's plan prices the whole request: Inkling-2-Mini NVFP4's 128K prefill is 19% faster on 16 GB.
v0.3.0— Models larger than the GPU, Qwen4, and Flash-Next at 352K:- CPU/host offload — MoE cold experts stay in host memory (read over PCIe, computed on the CPU, or both, chosen per machine) and dense layers stream from RAM. Inkling-2-Mini NVFP4 (17.5 GB) decodes at 101.6 tok/s plain and 129.9 tok/s with DSpark on a 16 GB RTX 5070 Ti, with the same tokens on every path.
- Faster long prompts — prefill borrows cold experts' VRAM for wider passes: 27% less prefill time for Inkling-2-Mini NVFP4 at 32K and 128K.
- Long-context QSA — Qwen3.8-Flash-Next runs at 352K context on 16 GB VRAM with 32 GB-class host memory (Linux), its QSA K/V in a packed 4-bit host store.
- Qwen4 — day-0 support for the official layout: dense 4B and 27B, the 35B-A3B MoE, the official tokenizer, chat template and
reasoning_effort, with streamed layers and offloaded experts (Q4_K included). Qwen4-35B-A3B's released GGUFs (UD-Q4_K_XL, UD-IQ3_XXS) load with default options on a 16 GB card and match llama.cpp. - Still zero dependencies — one Windows
.exe.
v0.2.3— Faster long context,.flyxpacks, Qwen4Exp, and documents:- Long context — Inkling-2-Mini decodes plain at 145.3 tok/s at 200K context on an RTX 5090 (2.07× v0.2.2's 70.2).
--kv-method autonow switches to the 2-bit copy where the session's real GPU placement says, measured at load when a drafter runs. flyx pack— a GGUF with its drafters, vision projector and measured settings in one.flyxfile, its blocks byte for byte; the dashboard lists a repository's.flyxtiers.- New models — Qwen4Exp (text and vision, with every drafter family) and image input for Inkling-2-Mini.
- Documents — PDF, Word, PowerPoint, Excel and text files in the OpenAI and Anthropic APIs, read in process.
- Still zero dependencies — one Windows
.exe, ~60 MB.
- Long context — Inkling-2-Mini decodes plain at 145.3 tok/s at 200K context on an RTX 5090 (2.07× v0.2.2's 70.2).
v0.2.2— EAGLE-4, DSpine and DFlash drafters, LoRA adapters, and a tighter VRAM fit:- More drafters — EAGLE-4 (with EAGLE-2 draft trees), DSpine, DFlash and DeepSpec's DSpark join MTP, DFlash2 and DSpark. Qwen3.8-27B + DFlash2 writes code at 546.6 tok/s on an RTX 5090 (5.84× plain decoding).
- LoRA — PEFT adapters from
--loraor the dashboard's LoRA tab, run unmerged on a fused CUDA path. - Tighter fit — loads into ~440 MiB less free VRAM on Windows; Linux packages for Ubuntu 22.04+ at about half the download size.
- Dashboard — a dark theme, one-click LAN access and
--chat-template-kwargs.
v0.2.1— Speeds verified on four GPUs, Inkling-2-Mini with DSpark, and image input:- Qwen3.8-27B + DFlash2 writes code at 565.5 tok/s on an RTX 5090 (6.03× plain decoding), 305.7 on an RTX 4090, 332.8 on a 16 GB RTX 5070 Ti, and 234.1 on an RTX 3090.
NVFP4W4A4 prefill on the 5090 runs at 15,496 tok/s. - Inkling-2-Mini + DSpark — a new sparse-MoE model, with DSpark attached automatically: 438.9 tok/s on code on the 5090 (1.92× plain decoding), 322.4 on the 4090, 276.2 on the 5070 Ti, and 222.0 on the 3090.
- Vision — image input from the CLI, the OpenAI and Anthropic APIs, and dashboard paste / drop, for vision-capable models with an
mmprojprojector. - Still zero dependencies — one Windows
.exe, now ~57 MB.
- Qwen3.8-27B + DFlash2 writes code at 565.5 tok/s on an RTX 5090 (6.03× plain decoding), 305.7 on an RTX 4090, 332.8 on a 16 GB RTX 5070 Ti, and 234.1 on an RTX 3090.
v0.2.0— Initial open-source release of FLYX: standalone ~59 MB zero-dependency Windows.exe& Linux tarball, native full-context GGUF & NVFP4 inference with automatic GPU/RAM K/V extension, built-in speculative decoding (MTP / DFlash2), 7-language web dashboard, and one-click Claude Code / Codex CLI integration.
Decode speed in tokens/s, verified on four GPUs (greedy). Plain is decoding with no drafter; the two Speculative columns turn the drafter on for chat and for code prompts, with the speedup over plain in parentheses.
Qwen3.8-27B + DFlash2 — chat / mixed: 3 prompts × 128 tokens; code: 1 prompt × 128 tokens.
| GPU | Quant | Plain | Speculative · chat / mixed | Speculative · code |
|---|---|---|---|---|
| RTX 5090 (32 GB) | NVFP4 |
93.8 | 315.5 (3.36×) | 565.5 (6.03×) |
| RTX 4090 (24 GB) | UD-Q4_K_XL |
49.4 | 171.6 (3.47×) | 305.7 (6.18×) |
| RTX 3090 (24 GB) | UD-Q4_K_XL |
42.8 | 131.2 (3.06×) | 234.1 (5.46×) |
| RTX 5070 Ti (16 GB) | UD-IQ3_XXS |
68.8 | 154.4 (2.24×) | 332.8 (4.84×) |
Inkling-2-Mini + DSpark — chat / mixed: 8 prompts × 128 tokens; code: 8 prompts × 384 tokens.
| GPU | Quant | Plain | Speculative · chat / mixed | Speculative · code |
|---|---|---|---|---|
| RTX 5090 (32 GB) | UD-IQ3_XXS |
225.5 | 259.8 (1.15×) | 438.9 (1.92×) |
| RTX 4090 (24 GB) | UD-IQ3_XXS |
166.7 | 202.9 (1.22×) | 322.4 (1.92×) |
| RTX 3090 (24 GB) | UD-IQ3_XXS |
126.2 | 136.5 (1.08×) | 222.0 (1.75×) |
| RTX 5070 Ti (16 GB) | UD-IQ3_XXS |
150.9 | 169.3 (1.12×) | 276.2 (1.80×) |
× is the speedup over plain decoding on the same prompts, from unrounded rates; Plain shows the chat / mixed run. Speculative output matched plain decoding token for token in every run that recorded token IDs (all but the Windows Qwen mixed run). Linux, except the RTX 5070 Ti on native Windows 11.
Also measured: Qwen3.8-27B's built-in MTP drafter (no extra file) reaches 286.6 / 158.0 / 121.7 / 167.2 tok/s on the mixed prompts (5090 / 4090 / 3090 / 5070 Ti). RTX 5090 NVFP4: W4A4 prefill at 15,496 tok/s; 203.8 tok/s with MTP at 128K context (plain: 73.4); 164.5 tok/s at 256K with 100% needle retrieval. Hardware, drivers, and exact commands: docs/benchmarks.md.
Grab the latest release from GitHub Releases — requires only an NVIDIA driver (≥ 580):
- Windows: Double-click
flyx-0.3.1-windows-x86_64-cuda13.exe(or run.\flyx-0.3.1-windows-x86_64-cuda13.exe servein PowerShell). The server starts and opens the dashboard automatically (picking another free port if8080is busy). - Linux / WSL2: Extract the tarball and run:
./bin/flyx serve
# Or load a Hugging Face GGUF directly into the standard HF cache:
./bin/flyx serve unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_XLTwo more to try — the DSpark drafter and the vision projector download with the model:
# Inkling-2-Mini, with DSpark attached automatically
flyx serve unsloth/Inkling-2-Mini-GGUF:UD-IQ3_XXS
# Ask about an image
flyx run unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_XL --image photo.png --chat -p "Describe the image."Open the dashboard at http://127.0.0.1:8080 → pick or download a model in Model → launch Claude Code / Codex directly (or copy any agent command) from Integration.
| Client / Endpoint | Base URL |
|---|---|
| OpenAI SDKs (Chat Completions, Responses, Completions) | http://127.0.0.1:8080/v1 |
Anthropic SDKs & Claude Code (ANTHROPIC_BASE_URL) |
http://127.0.0.1:8080 |
| Web Dashboard | http://127.0.0.1:8080/ |
Telemetry JSON (flyx monitor) |
http://127.0.0.1:8080/v1/telemetry |
Build from source (CUDA 13, CMake 3.24+, Ninja, g++ 11+ / MSVC 2022)
cmake --preset dev && cmake --build --preset dev # outputs in ~/flyx-build/bin
# Run or serve directly by Hugging Face name
~/flyx-build/bin/flyx run unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_XL --chat -p "Write a haiku about GPUs."
~/flyx-build/bin/flyx serve unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_XL --port 8080WSL2 note: Keep build trees and model files on the Linux filesystem (
~/models,~/flyx-build);/mnt/<drive>degrades model load times severely.
Python usage & curl example
curl http://127.0.0.1:8080/v1/chat/completions -H "Content-Type: application/json" \
-d '{"messages": [{"role": "user", "content": "Hello!"}]}'import flyx
eng = flyx.Engine("~/models/Qwen3.8-27B-UD-Q4_K_XL.gguf", lib="~/flyx-build/bin/libflyx.so")
reply = eng.session().chat_full(
[{"role": "user", "content": "Name the capital of France."}],
enable_thinking=False,
max_new_tokens=64,
)
print(reply["content"])Run it in a container (optional)
docker build -f packaging/Dockerfile.server -t flyx:local .
docker run --gpus all --init -p 127.0.0.1:8080:8080 -v flyx-data:/data flyx:local # the log prints the URL to open
docker run --gpus all --init -p 8080:8080 -e FLYX_API_KEY=secret -v flyx-data:/data flyx:local
docker compose -f packaging/docker-compose.yml up -d --build # the same, with volumes and a health probeThe image is the release build of this checkout — 218 MB for two GPU architectures (86-real;89-real, 12 minutes on a 16-job host), no CUDA toolkit in it. The binary needs no Docker: this is the path for a pinned deployment, a card per container. The container serves with a key — FLYX_API_KEY, or one docker-entrypoint.sh generates, keeps in the volume and prints as http://127.0.0.1:8080/#key=… — because a request that arrives through a published port is not localhost to the server, and a keyless one there refuses the dashboard's own reads. docs/building.md's Docker section.
| Dimension | Supported | Notes |
|---|---|---|
| Architectures | Qwen3.5 / Qwen3.8 (qwen35), Qwen4Exp (qwen4exp, qwen4, qwen4moe, qwen4_moe, qwen4dense, qwen4_dense, text and vision), Qwen3 (qwen3), Inkling-2-Mini (inkling2_loop, sparse MoE), gpt-oss-20b / 120b (gpt-oss, sparse MoE, GGUF), Llama (MiniCPM5-1B) |
Llama from .flyx only |
| Speculative drafters | MTP, DFlash2, DFlash, DSpark, DSpine, EAGLE-4, prompt lookup | MTP and DSpark attach automatically; DFlash2, DFlash, DSpine and EAGLE-4 are companion files (--drafter-file, or Draft with it in the dashboard) |
| Vision | Image input with an mmproj projector, fetched automatically from the model's Hub repo |
Qwen3.5, Qwen3.8, Qwen4Exp and Inkling-2-Mini |
| Documents | PDF, Word, PowerPoint, Excel and text files in the OpenAI and Anthropic APIs, read in process (document input) | Scanned PDF pages go as images to a model with vision |
| Model formats | GGUF (F32, F16, BF16, Q2_0, Q4_0–Q8_0, Q2_K–Q6_K, IQ1–IQ4, MXFP4, GGML NVFP4, F8_E4M3); .flyx (BF16, NVFP4; format 2 with the target's own LoRA adapters, V-LoRA, run unmerged; a DV drafter, drafting only when named: --drafter dv, design; a GGUF packed with its drafters and recommended settings by flyx pack, models) |
Keep all split GGUF parts in the same folder. |
| GPUs | RTX 30 / 40 / 50 series, L4, L40S, A100, H100 (sm_80–sm_120; sm_100 in Linux release) |
Single GPU per process (CUDA_VISIBLE_DEVICES); driver ≥ 580 |
| Platforms | Windows (native MSVC), Linux, WSL2 | Single-file .exe / ZIP / wheel on Windows; tarball / manylinux wheel on Linux |
For AI agents, start with llms.txt.
- Use & Integrate: docs/server.md · docs/models.md · docs/monitor.md · docs/benchmarks.md
- Build & Test: docs/building.md · docs/testing.md
- Design & Contracts: docs/design/architecture.md · docs/design/numerics.md · docs/design/gguf.md · docs/design/tree-verification.md · docs/design/dv.md
- Contribute & Governance: AGENTS.md · CONTRIBUTING.md · SECURITY.md · docs/prior-art.md
- Discord: Join the FLYX Discord
- WeChat: Scan the WeChat group QR code
- Issues & Feedback: GitHub Issues
For collaborations and partnerships, please contact us at contact@enwove.ai.
Apache-2.0. Third-party attributions are listed in NOTICE and docs/prior-art.md.