How it works

Long prompts on GGUF

On GGUF, Quail matched llama.cpp's own server everywhere except long prompts: a 4,096-token prompt reached its first token 8–24% later.

Why

The comparison reads long prompts right after the level with 8 requests at once. Quail left those earlier requests' caches in llama.cpp's shared cache. The long prompt's attention then worked across tens of thousands of positions it didn't need. llama.cpp's server moves idle requests out first.

What changed

Result

4,096-token prompt, first tokenBeforeNowllama-server
Qwen3 8B10.3 s10.0 s9.5 s
Qwen3.6 35B-A3B5.3 s4.8 s4.8 s
Gemma 4 26B-A4B7.8 s6.0 s6.1 s

Keeping those caches costs memory: Quail's footprint now grows by up to about 8 GB while it serves, as llama-server's does. (#138, #144)