Kyojin: open-source engine that runs 100 GB-class open models (GLM-5.3, Qwen3.8, DeepSeek V4.1) on one desktop machine. AMD Strix Halo, NVIDIA RTX and Apple Mac. OpenAI API, built on ExLlamaV3.
Strix Halo (AMD)
Kyojin was built for this machine first: one Ryzen AI Max+ 395 with 128 GB of unified memory, ROCm 7, gfx1151. Model list: models.md. Install: install.md. Kernel notes: strix-halo.md.
| Model | Pack | Prefill | Speculative decode |
|---|---|---|---|
| Qwen3.8-Flash-Next | 95 GB | 1576 at 8K | 47.5 to 73.2 |
| GLM-5.3-Flash | 99.73 GB | 633 at 8K | 27.4 to 36.8 |
| MiMo-V2.6-Flash (1.5.10) | 105.8 GB | 760 at 8K | 28.9 to 37.0 |
| DeepSeek-V4.1-Flash (experimental, SSD tier) | 185 GB | 187 to 257 at 8K | 5 to 11 (plain) |
Tokens per second on one Ryzen AI Max+ 395 with 128 GB (Radeon 8060S, gfx1151, ROCm). Kyojin 1.8.10, measured 2026-11-05 (MiMo: Kyojin 1.5). Prefill at the context shown in each cell, speculative decode across chat, prose and code prompts. DeepSeek-V4.1-Flash is larger than memory: most experts are read from the NVMe (about 3 GB/s), so its prefill is warm/cold and its decode is plain decoding on real sessions; a tool turn of about 2K tokens waits 21 to 35 s for the first token. Details: DS41.md. Method, sources and full tables: benchmarks.md.
Long context: up to 500K tokens
| Model | 128K | 256K | 500K |
|---|---|---|---|
| GLM-5.3-Flash | 584 / 32.4 | 576 / 32.4 | 567 / 32.8 |
Prefill / speculative decode, tokens per second, Kyojin 1.8.10 on one Ryzen AI Max+ 395 with 128 GB. One real document read as a growing prompt (500K = 499,712 tokens); prefill as reported by the server. Both models recalled two facts hidden at 40 % and 85 % of a ~500K-token prompt (needle test, Kyojin 1.5.3, 15/10).
500K needs -c 524288 at launch. Qwen also needs --cache-bits 8: past 262K it uses the 8-bit cache.
Quickstart
Install ROCm torch and build once (install.md), then:
git clone https://github.com/Yamz-Labs/kyojin && cd kyojin
hf download yamz-labs/Qwen3.8-Flash-Next-EXL3-Yamz --local-dir ./qwen-pack
python tools/qwen/serve.py --model ./qwen-pack --port 8000 -c 131072
The server speaks the OpenAI API on port 8000. GLM and MiMo commands: models.md.
Memory vs speed (Qwen3.8-Flash-Next). The 24.4 GiB n-gram table is streamed from disk by default: 22 GiB of RAM stay free (the 8K figures above use this default). Add --ngram-ram (or set EXL3_NGRAM_STREAM=0) to load it into RAM: slightly faster prefill, 22 GiB more RAM used. Same switch for any PLE model; results are identical.
DeepSeek-V4.1-Flash
Experimental. A demonstration that a 763B model runs exactly on one 128 GB machine. It is slow and not meant for daily agent use: real decode is about 5 to 11 tokens per second, and a tool turn adding about 2K tokens takes about 20 to 35 seconds before the first token (the SSD floor is about 24 s).
DeepSeek-V4.1-Flash-1017 (763B parameters, about 16B active) runs on one 128 GB machine with an NVMe: the 172 GiB EXL3 pack is larger than memory, so the engine keeps a pool of experts in RAM and reads the others from the SSD, exactly. It uses the model's own DSpark draft stages and the original Engram tables (about 190 GB, downloaded from the DeepSeek repository). Pack: yamz-labs/DeepSeek-V4.1-Flash-EXL3-Yamz. Setup, SSD tier, Engram and speeds: DS41.md.