New in 0.6.9: Qwen4-35B-A3B on any NVIDIA card(s). The installer writes a generated preset for setups we did not measure (one card or several, any VRAM). Up to 267 tok/s on two RTX 3080 cards (20 GB + 10 GB) in a real coding session (260 at 64K-256K context), 57% faster than llama.cpp, pictures. Also runs Qwen3.8-Flash-Next and Inkling 2 Mini. Built for coding agents: no infinite loops, no broken tool calls, no answers cut off.
Speedy is a measured, tuned fork of Strata. It runs large open-weight models on consumer NVIDIA cards and serves them over the OpenAI and Anthropic APIs, so the coding agent you already use just needs a new base URL. DeepSeek V4.1-Flash and Qwen3.6 run too (docs/MODELS.md).
Speed is half of it. The other half is what local models usually get wrong in real work: agents that loop, tool calls that don't parse, thinking that runs out before the answer. Speedy fixes those on the server.
Everything here was measured on one desktop PC with two used gaming cards: RTX 3080 20 GB + RTX 3080 10 GB. Numbers are tokens per second; decode is how fast the answer is written, prefill how fast a prompt is read.
Unsloth's UD-Q4_K_XL file, one stream, with the model's MTP drafter. llama.cpp ran in the same test on the same PC and file.
| Decode, tok/s | Speedy, 2x RTX 3080 (20 GB + 10 GB) | Speedy, 1x RTX 3080 20 GB | llama.cpp, 2x RTX 3080 |
|---|---|---|---|
| short prompt | ~173 | ~150 | 110 |
| after ~113K tokens | 142 | 99 | 91 |
| after ~442K tokens | 133 | 111 | 58 |
| after ~700K tokens (1M preset) | 120 | ||
| after ~950K tokens (1M preset) | 113 |
Other files on the same two cards (short / ~113K): UD-Q3_K_XL ~190 / 165, UD-Q2_K_XL ~190 / 148, OrcaRouter abliterated Mix-33G ~174 / 147; UD-Q6_K ~160 / 147 and Q8_0 ~119 / 125 (smoke test, at ~28K). Details in docs/QWEN4.md.
A fact hidden in the prompt was found 3 of 3 times at every length, up to 950K tokens. Top-1 agreement with llama.cpp 0.983.
Smaller files, same two RTX 3080 cards: UD-Q3_K_XL ~190 short, 165 at ~113K, 131 at ~442K; UD-Q2_K_XL ~190, 148, 146 tok/s.
Bigger files, smoke-tested at 512K: UD-Q6_K ~160 short, Q8_0 ~119 tok/s (--quant Q6_K / Q8_0).
OrcaRouter's abliterated Mix-33G (--quant orca), same cards, 1M: ~174 short, 147 at ~113K tok/s.
Real coding session (OpenCode building a 3D game, temperature 1.0, tools), 1,797 requests on two RTX 3080 cards (20 GB + 10 GB):
| Context in the request | Peak tok/s | Median tok/s |
|---|---|---|
| under 64K | 267 | 173 |
| 64K-256K | 260 | 164 |
| 256K-512K | 238 | 156 |
MTP drafter, pictures, 1M context on two cards (512K on one), tool calls and Qwen4's effort levels (off / low / high / xhigh) included. Linux and Windows. Details and install: docs/QWEN4.md.
Our top speed: one stream, the Signal fine-tune of Qwen3.8-Flash-Next with our fine-tuned draft head (free on Hugging Face, no login needed). The draft head guesses ahead and the main model checks every guessed token.
| Model file | Decode, chat | Decode, code | Decode after a 110K-token prompt | Prefill, 110K-token prompt |
|---|---|---|---|---|
| Signal AP-Q4_K_XL best quality | 187 | 218 | 145 | 3,006 |
| Q2_0 fastest | 200 | 216 | 186 | 3,941 |
| IQ3_S fastest 3-bit | 205 | 196 | 195 | 4,037 |
Context grows from 229K to 1M tokens. Signal is a manual download (how); all files, methods and the one-card numbers: docs/BENCHMARKS.md.
Decode for chat / code / JSON prompts. Plain is the model alone. Drafter adds the DFlash 2 draft model; its gain depends on how predictable the text is. The last column is the total when 64 requests run at once.
| Pack | Weights | 1 stream, plain | 1 stream, drafter | 64 streams, plain, total |
|---|---|---|---|---|
| SQ-20 | exact (bit-identical to the original, per the pack's publisher) | 85 / 82 / 87 | 120 / 149 / 163 | 868 |
| SQ-15 | not exact (96.7% same top token) | 93 / 91 / 95 | 114 / 161 / 163 | 630 |
| SQ-10 smallest, fastest | not exact (92.4%) | 109 / 106 / 112 | 132 / 179 / 221 | 781 |
| Long context (SQ-10, plain) | Decode | Recall |
|---|---|---|
| after a 256K-token prompt | 40 | 5 of 5 |
| after a 512K-token prompt | 41 | 5 of 5 |
| after a 1M-token prompt | 2 | 5 of 5 |
What to know: this is the only tested Inkling setup (two cards), the drafter's text was checked to match plain text on SQ-20 only, and at 1M about half of the context is kept in system RAM, which is why decode drops there. How each number was measured, the presets and the switches: docs/INKLING.md.
Windows
- Clone the repository, or download and extract a release.
- Run
START-HERE.bat(in PowerShell:.\START-HERE.bat). - Pick the model (Qwen4-35B-A3B is the default on one 20 GB card or 20 GB + 10 GB, and can be picked on any NVIDIA card) and the file size. On an RTX 20, 30, 40 or 50 card setup downloads a ready-made engine; on other cards it compiles from source (docs/SOURCE_INSTALL.md).
Linux, Qwen4-35B-A3B (runs on any NVIDIA card(s); measured on RTX 3080 20 GB + 10 GB and on the 20 GB card alone; other setups get a generated preset)
git clone https://github.com/DevDock-AI/Speedy.git speedy && cd speedy
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
./setup.sh --family qwen4 # downloads the model (~39 GB), gets the Qwen4 engine, prepares the drafter, writes the config
# smaller download: python3 tools/setup_qwen4.py --quant Q3_K_XL (or Q2_K_XL)
# OrcaRouter's abliterated model (gated, two cards): python3 tools/setup_qwen4.py --quant orca (docs/QWEN4.md)Linux, other models
git clone https://github.com/DevDock-AI/Speedy.git speedy && cd speedy
export PATH=/usr/local/cuda/bin:$PATH
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=86 \
-DSTRATA_MMQ_KQUANTS=ON -DSTRATA_MMQ_TQ_OVERLAY=ON -DSTRATA_NATIVE_EXPERTS=ON -DSTRATA_Q6K_EXPERTS=ON
cmake --build build --target strata -j
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
./setup.sh # downloads the model, prepares it, writes a config tuned for your card and starts the serverSet -DCMAKE_CUDA_ARCHITECTURES to your card: 75 for RTX 20, 86 for RTX 30, 89 for RTX 40, 120 for RTX 50.
Full steps: docs/BUILD-LINUX.md. Windows reads prompts somewhat slower than Linux.
Then point your client at it. OpenCode, Claude Code, Codex CLI and other OpenAI- or Anthropic-compatible clients
work by setting the base URL (docs/CODING_AGENTS.md). Set an API key before you listen on
anything other than 127.0.0.1 (SECURITY.md).
What you need: NVIDIA RTX 20-50 cards. Qwen4-35B-A3B: any NVIDIA card(s), one or several, any VRAM (measured on 20 GB + 10 GB and on one 20 GB card; other setups get a generated preset), and RAM for its experts (~20 GB) and 11.5 GB word table. Qwen3.8-Flash-Next: a lot of system RAM, because the part that does not fit on the card stays in RAM; plan for about 128 GB with the 4-bit files; smaller files and models need less (docs/MODELS.md).
Inkling 2 Mini is a separate engine, strata-inkling: the release zips include it (Linux and Windows, RTX 20 to 50),
or build it with two commands; then a ready-made preset (docs/INKLING.md).
Speedy is measured on our two RTX 3080s; your cards and quant get a generated preset. An AI coding agent (Claude Code, Codex, OpenCode, ...) pointed at this repository tunes it much faster than by hand. Paste this:
Read AGENTS.md and docs/TUNING.md in this repository. Detect my GPUs and RAM, run the setup (with --generate if no
measured preset fits), then tune context, expert cache, layer split and the MTP drafter with tools/strata_bench.py and
tools/needle_bench.py until decode tok/s is best without losing recall. Work on a copy of the config, change one thing
at a time, and keep a log of every run.
More: per-card guides in docs/cards/, everything we tried in docs/TUNING-HISTORY.md. The license allows AI-assisted changes for personal use.
- π― Finishes real coding tasks. 22 of 24 on a Terminal-Bench 2.1 subset and 24 of 24 on our coding suite, with OpenCode driving the real server (details). A loop breaker notices an agent going in circles and names the next step.
- π§ Reliable tool calls. Names are checked against what the client declared and malformed calls are repaired: 24 of 24 well-formed in the release check.
- π§ Thinks, then answers. Medium reasoning with a 32K-token budget by default, reminders to wrap up, and room reserved so a reply is not cut off before the answer.
- π Our own draft head. Fine-tuned for Qwen3.8-Flash-Next and free to download: DevDock-AI/Qwen3.8-Flash-Next-Speedy-MTP (no login needed).
- β‘ Fast on cards you can afford. Every speed change is adopted only after a back-to-back comparison and a quality check. A follow-up turn in a long conversation is read from cache.
- π Long context. 229K tokens as Qwen3.8-Flash-Next ships, growing to 1M in the same config.
- π Drop-in API. OpenAI- and Anthropic-compatible, images in chat included.
- π Qwen4-35B-A3B. MTP drafter, pictures, up to 1M context, tool calls and Qwen4's off / low / high / xhigh effort levels (docs/QWEN4.md).
Every default can be turned off, and a request's own settings always win (docs/SPEEDY_DEFAULTS.md). The benchmark scores are single runs on our own task subset; how to read them is in docs/BENCHMARKS.md.
./setup.sh writes a config for your card. If you have one of the cards below you can also start from the exact
configs we measured: one folder per GPU model under configs/cards/, each with a CARD.md
(hardware, build flags, numbers). Paths and GPU IDs are placeholders you fill in
(docs/CONFIG-PLACEHOLDERS.md). Then start the server with it:
ulimit -l unlimited
.venv/bin/python serve/server.py --engine strata --config configs/mine/strata-ud-iq4_xs.json --port 8080| Folder | Contents |
|---|---|
rtx3080-20gb/1x/ |
one RTX 3080 20 GB: Qwen4-35B-A3B (512K, pictures), and every Qwen3.8-Flash-Next file size at 229K and at 1M context |
rtx3080-20gb/2x/ |
RTX 3080 20 GB + RTX 3080 10 GB: Qwen4-35B-A3B (1M and 512K, pictures), and Qwen3.8-Flash-Next UD-Q4_K_XL, UD-IQ4_XS, UD-IQ3_XXS with the current defaults, plus a llama-swap.yaml to switch between them |
rtx3080-10gb/1x/, 2x/ |
one and two RTX 3080 10 GB, plus llama-swap.yaml |
Got a different card? Copy configs/cards/_template/ (how),
or let an AI coding agent tune one for you (docs/cards/). Inkling presets are in configs/inkling/.
AMD builds through Strata's HIP backend (docs/AMD_HIP.md); it compiles in CI but is untested.
The server checks GitHub for a newer release in the background (anonymous, never installs anything by itself;
STRATA_UPDATE_CHECK=0 turns it off). ./speedy-update shows the release notes, asks, and updates
(Windows: python serve\update.py); --check only reports and --rollback goes back to what ran before.
| Document | Contents |
|---|---|
| docs/BUILD-LINUX.md, docs/SOURCE_INSTALL.md | build and install, Linux and Windows |
| docs/QWEN4.md | Qwen4-35B-A3B: speed vs llama.cpp, install, preset, limits |
| docs/SPEEDY_DEFAULTS.md, docs/CONFIGS.md | the built-in defaults and every flag |
| docs/BENCHMARKS.md | full speed tables, coding-agent and quality results, method, noise floor |
| docs/INKLING.md | Inkling 2 Mini: build, presets, numbers, switches |
| docs/MODELS.md | every supported model and file size (DeepSeek V4.1-Flash and Qwen3.6 too) |
| CHANGELOG.md | what changed in each release |
| docs/DETAILS.md | API routes, clients, images, server options |
| docs/MULTI_GPU.md, docs/TUNING-HISTORY.md | using two or more cards; everything tried, adopted and rejected |
| docs/TROUBLESHOOTING.md, docs/upstream/ | when something breaks; Strata's original guides |
Results from other GPUs are very welcome, on Windows too: open an issue with the Performance report template. Speed claims need a back-to-back comparison on the same machine, your hardware and a quality check (CONTRIBUTING.md); security issues go privately (SECURITY.md).
Speedy Personal & Non-Commercial License v1.0 (LICENSE) for original Speedy contributions: free to run, study, modify and use for personal, non-commercial purposes (AI-assisted changes included); commercial use or public redistribution of modified versions needs written permission. That covers our Inkling changes too. Speedy is built on Strata (MIT, licenses/Strata-MIT.txt); code taken from Strata and other third-party components keeps its own license and notices (NOTICE, licenses/). Model weights are not included and keep their own licenses.
Credits. Built on Strata by Niko1221 and the Strata contributors. Dual-GPU groundwork from Hardin22's Strata-DualGPU. Upstream work carried: lask3802 (#2689/#2690), Stefano Sinden / bitaccesscomau (#4283, #4119), merbanan (#4039), havok2-htwo (#3559), cobra91, chimpera, moses-sun, wannagoxuf, ruibeikaa, Klaus Friedel, Gopi, Jackwwg83 (#4567), Zac Chen / xyzzing (#3919), sergqwer (#2968, #2964), gopinath87607 (#3307, #3309, #3310), G0-0000 (#4226). Ideas: StrataFast, architectds (IMMA attention), Cloudflare Code Mode. Inkling engine: Strata's strata-inkling, Project Maya (two-card hand-off design), tjm8874 (DFlash 2 kernels), Inco AI / z-lab (DFlash 2 drafter). Optional: gpu-unlock (Zagitta). Kernels derived from llama.cpp / ggml. Models: Qwen, Inkling 2 Mini, Unsloth UD quants, ISTA-DASLab GSQ-RCO quants. Benchmarks: IFBench, LiveCodeBench. Full attribution: NOTICE.
If Speedy saved you some GPU money, buy me a coffee β