AgentionAI โ€” Gyro Coder 3.8 Flash Next

Qwen3.8-Flash-Next Gyro-Coder โ€” GGUF

A 125B-parameter coding model on one 24 GB card.

Qwen3.8-Flash-Next is a 125B mixture-of-experts model, the kind that normally needs a workstation full of GPUs. Gyro-Coder brings it to a single RTX 3090, 4090 or 7900 XTX: 19.9 GiB of GPU memory.

New: Gyro-Coder-L for 32 GB cards. The same experts at about 3.2 bits per weight: 27.5 GiB of GPU memory, and closer to the full model than Gyro-Coder on every set we measure. On C++ it is closer than Gyro-M, which keeps all 512 experts.

Updated 2026-10-29: Gyro-Coder-L v1.2 (Qwen3.8-Flash-Next-Gyro-Coder-L-TQ3_0.gguf, same name and size). Thanks to a detailed community report, three experts that matter for tool calls and symbols are back in the expert set, in place of three that did less. Tool calls no longer break under sampling: across 100 <parameter= sites in real agent sessions, v1.0 wrote a broken tag at 4 and v1.2 at none. Roman numerals are fixed too, and KLD is unchanged on every set. v1.2 replaces both v1.0 and the v1.1 preview.

Two things make that possible:

  • Only the experts that code. Each layer keeps the 256 of its 512 experts that matter for programming, picked by an evolutionary search over a space of 10โทยณยฒโธ possible combinations (see below). That leaves 65B parameters on the GPU.
  • 2.125 bits per weight, without the usual damage. The experts are stored with our own trellis encoder, the same one that puts Gyro-M ahead of IQ3_XXS and UD-Q2_K_XL quants that need 20-25% more memory.

On held-out Python it picks the same next token as the full model 93% of the time. Give it clear instructions (implement this, fix that, refactor, explain) and it delivers. For open-ended work and general knowledge, Gyro-S or Gyro-M is the better pick.

Runs in our llama.cpp build (Docker, see Quick start). Strata support is coming.

Headline Detail
19.92 GiB of GPU weights 21.1 GiB with 64k context (q8_0 KV): fits a 24 GB card
94.5% top-1 agreement on C++ KLD 0.118 (Python 93.1%, 0.165)
13/16 coding tasks passed auto-graded, 8 tasks x 2 seeds; the same experts at 8 bits pass 15/16
Gyro-Coder-L: 95.5% top-1 on C++ KLD 0.077 in 27.54 GiB (Gyro-M, all 512 experts: 0.082 in 34.98 GiB)
Gyro-Coder-L v1.2: 0 broken tool-call tags in 100 sampled <parameter= sites (v1.0: 4); 292 tool calls, 0 format errors

Pick your file

Your hardware File GPU memory (weights)
24 GB card (RTX 3090 / 4090, 7900 XTX) Qwen3.8-Flash-Next-Gyro-Coder-TQ2_0.gguf 19.92 GiB
32 GB card (RTX 5090, R9700), code Qwen3.8-Flash-Next-Gyro-Coder-L-TQ3_0.gguf 27.54 GiB
32 GB, general use as well as code Gyro-S 27.64 GiB
48 GB+, general use as well as code Gyro-M 34.98 GiB

The TQ2_0 / TQ3_0 in the names are only size classes for the Hub: stock llama.cpp cannot load this file.

A needle in a very large haystack

Each layer keeps 256 of its 512 experts. That is about 10ยนโตยฒ possible choices for one layer, and about 10โทยณยฒโธ for the whole model: written out, the number fills about four pages. If you had tested a billion candidate models every second since the Big Bang, you would have covered about 10โปโทยณโฐยน of them.

The layers don't act alone either: what one layer keeps changes what every later layer sees, and each candidate is a full model that has to be built and tested before you know whether it is any good.

We started by mapping which experts carry which domains. From there, an evolutionary search proposed and scored about 2,200 candidate expert sets across 14 runs. The best were built as full models and put through coding, loop and knowledge tests. This is the one that passed.

Quality

KL divergence and top-1 agreement against the full model (Q8_0, all 512 experts), -c 2048.

Set Gyro-Coder KLD โ†“ top-1 โ†‘ Gyro-Coder-L KLD โ†“ top-1 โ†‘
C++ (held-out source files) 0.118 94.5% 0.077 95.5%
web (TypeScript / JS) 0.142 92.5% 0.108 93.7%
SQL 0.145 92.7% 0.114 93.6%
Python 0.165 93.1% 0.132 94.0%
Rust 0.223 88.7% 0.189 89.5%
shell 0.417 80.9% 0.371 82.3%
knowledge (descriptions of everyday things) 0.301 80.8% 0.237 83.6%
held-out (2026 technical writing and code) 0.579 70.8% 0.521 72.0%

Half the experts are gone, so general text and knowledge lose the most (Gyro-M: held-out 0.291); code stays close to the full model.

Coding tests: 13 of 16 passed (8 auto-graded tasks: LRU cache, interval merging, bug fix from a trace, refactor, bash script, SQL, CSV parsing in JS, multi-file change; 2 seeds each, thinking on, 64k tokens). The same expert set at 8 bits passes 15 of 16. Gyro-Coder-L v1.2 passes 13 of 16 and the bash task 3 of 10 (4 runs hit the 64k token limit).

Gyro-Coder-L v1.2 vs v1.0:

Test v1.0 v1.2
Broken <parameter= tag, per site, sampled (temp 0.6, top-p 0.95, top-k 20, min-p 0.05) 0.69% 0%
Sites with any broken-tag risk, out of 100 4 0
int_to_roman written correctly, 5 runs 3 4
Bare 13-pair Roman table, greedy wrong correct
Agent sessions (tool calls): code tasks / Roman task โ€” 16/16 / 4/4, 292 calls, 0 format errors
KLD, all 8 sets above โ€” within 0.001 of v1.0

Symbol tables are still a weak spot of the pruned files (Greek letters: 2 of 5 runs correct); for those, use Gyro-M.

Speed

Strix Halo (Vulkan, MTP draft): 11โ€“22 tok/s per stream with two streams running at once (measured while generating long answers).

Quick start

1. Download Gyro-Coder (70.6 GiB on disk; Gyro-Coder-L 78.2 GiB; put it on a fast NVMe drive):

pip install -U huggingface_hub
hf download agentionai/Qwen3.8-Flash-Next-Gyro-Coder-GGUF Qwen3.8-Flash-Next-Gyro-Coder-TQ2_0.gguf --local-dir ~/models
# 32 GB card: Qwen3.8-Flash-Next-Gyro-Coder-L-TQ3_0.gguf (and use that name below)

2. Run it with our llama.cpp build (Vulkan, in Docker):

# AMD (and Intel) GPUs
docker run --rm -it --device /dev/dri --group-add "$(getent group render | cut -d: -f3)" \
  -v ~/models:/models -p 8080:8080 agentionai/agention-llama:server \
  -m /models/Qwen3.8-Flash-Next-Gyro-Coder-TQ2_0.gguf -ngl 999 -fa on --jinja --ngram-on-disk \
  -c 65536 -ctk q8_0 -ctv q8_0 --temp 0.6 --top-p 0.95 --top-k 20 --min-p 0.05

NVIDIA: replace --device /dev/dri --group-add ... with --gpus all -e NVIDIA_DRIVER_CAPABILITIES=all.

Web chat at http://127.0.0.1:8080, OpenAI-compatible API at http://127.0.0.1:8080/v1: point your coding agent or editor plugin there.

Strata: support is coming. Strata 0.2.2 does not know this file yet (Gyro-S and Gyro-M already run there); we will update this card when it does.

Recommended settings

  • Sampling: --temp 0.6 --top-p 0.95 --top-k 20 --min-p 0.05 (the settings all our tests used).
  • Keep --ngram-on-disk, with the model on fast NVMe: the 50.7 GiB n-gram table stays on disk, which is why the file (70.6 GiB) is much larger than its GPU footprint.
  • Give it clear instructions; it does best on well-specified tasks.

Changelog

  • 2026-10-29: Gyro-Coder-L v1.2 replaces v1.0 under the same file name (and the v1.1 preview): three experts swapped back in after a community report on broken tool-call tags; tool calls and Roman numerals fixed, KLD unchanged.
  • 2026-10-26: Gyro-Coder-L v1.1 preview (improved encode of the same experts).

Credits

Built and tested on AMD Ryzen AI Max (Strix Halo). Hardware supported by AMD

Tensor format: trellis-coded quantization with Hadamard rotation, in the family of QTIP (Tseng et al., 2024). Encoder, trellis types and kernels: AgentionAI. Base model: Qwen/Qwen3.8-Flash-Next. Thanks to the community tester whose report on broken tool-call tags led to v1.2. Runtimes: llama.cpp, Strata, strix-llama.cpp.

The Gyro format is open: specification, reference decoder and encoder, and bit-exact tests (Apache 2.0) at agentionai-group/agention-gyro. The released files come from our own production encoder.

Support AgentionAI

These quants are released freely. If they save you VRAM or make Qwen more useful, you can buy me a coffee or some GPU time and sponsor continued quantization and benchmarking on Buy Me A Coffee. AgentionAI is a one-person team and can use your help.

Downloads last month
20,331
GGUF
Model size
117B params
Architecture
qwen4exp
Hardware compatibility
Log In to add your hardware

2-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for agentionai/Qwen3.8-Flash-Next-Gyro-Coder-GGUF

Quantized
(530)
this model

Space using agentionai/Qwen3.8-Flash-Next-Gyro-Coder-GGUF 1