A single graphics card can make a model that is far too big for it run noticeably faster. That is the practical result of a new feature in llama.cpp version 0.7.0, which caches Mixture-of-Experts (MoE) model experts on the GPU. Two separate projects, Maya and Abyss, go further and run models in the 284B to 321B range on ordinary desktop PCs.
How the cache works
MoE models only use a few of their experts for each token. The new mechanism keeps a share of the experts that normally sit in system RAM inside GPU memory and reuses them whenever they are needed again. Experts missing from the cache are sent to the GPU for the calculation, and the least recently used ones are swapped out.
The option is called –moe-cache-mib, and it works across multiple GPUs. It has limits: it only applies to model structures, quantization formats and backends that llama.cpp supports, so it will not work on every MoE model. The appeal is that it needs no dedicated engine such as Strata. Anyone eyeing a new GPU can first see what better use of the current card and memory achieves.
A Japanese writer tested it on October 17 on Windows 11 with a Core i5-12400F, 96GB of RAM and four RTX 3090 cards, using a Qwen3.8-Flash-Next GGUF model. On one GPU, code generation with an IQ3_S build ran at 11.20 tokens per second without the cache and 33.37 with a 16GiB cache. For story writing with a Q4-class build, two GPUs with a 36 to 40GiB cache were fastest at about 42 to 43 tokens per second. The same model on Strata reached 98.6 tokens per second, though the tester says the settings differed, so that figure is only a reference. Each condition was measured once, so treat the numbers as rough.
Maya and Abyss
Project Maya, a fork of Strata, targets the GLM-5.3-Flash model from Z.ai. It has roughly 320B parameters in total, with about 18B active per token (Maya’s own listing says 321B). Even when the model does not fit in VRAM, Maya spreads experts across VRAM, RAM and an NVMe SSD according to how often they are used, and it measures the hardware to tune itself. The release notes for v1.1.15, current as of October 18, mention better long-text handling, Windows support and memory use. The README still calls Windows support experimental and says WSL2 is not supported, but the tester got it running natively on Windows.
Abyss, built by zephel01 on top of Maya, adds the 284B DeepSeek V4 Flash model, which activates about 13B parameters per token. It places the busiest experts in VRAM, the next tier in pinned RAM and the rest on SSD. On a Ryzen AI Max+ 395 with 94GB of RAM and an RTX 3090 on a USB4 case, zephel01 reported about 48 to 50 tokens per second with a 96.8GB quantized model. That setup also uses the integrated GPU, so a normal desktop with a 3090 should not expect the same. On Windows with an RTX 3090 the writer reached roughly 10 tokens per second and says the settings are not tuned.
With all three, speed depends on how much sits in RAM versus SSD. For SSDs, random read performance matters as well as raw transfer speed.
Background and a cloud use
Georgi Gerganov started llama.cpp in March 2023 as a pure C/C++ implementation of Meta’s Llama inference code that could run on a CPU alone. GPU backends such as CUDA, Metal and Vulkan came later. By May 2026 it had more than 109,000 stars on GitHub and had become the core of tools such as Ollama and LM Studio.
It also has a place in the cloud. An AWS guide shows how to serve quantized models with llama.cpp on Amazon SageMaker AI, and how to extend the container with SemIf, formerly OpenJev, which returns probabilities over a fixed set of options instead of free text. In AWS’s benchmark of 231 tasks, the GPU endpoint was 4.9 times faster than the CPU one at the median and 32.2 times faster at the 95th percentile.
Sources
- [Weekly GPU News] How to load massive models? From llama.cpp MoE cache to Maya (321B) and Abyss (284B)|yuhmak
- Llama.cpp
- Deploy decision models with llama.cpp on Amazon SageMaker AI | Amazon Web Services
Photo: Fritzchens Fritz from Berlin (CC0)





