The hybrid quant employs different quantization levels on a per layer basis to enable
both high performance and small file size at the same time. The quants
employed are all K to avoid slow CPU processing of IQ quants. Two quants are available,
Q6_K_H for strongest reasoning and Q4_K_H for largest context.
The Q6_K_H layer quants are as follows (refreshed from original on 4/19/2026)
The quant was optimized across a curated set of reasoning test prompts showing strong
performance and robust convergence with greedy samplings.
A second smaller Q4_K_H quant is available targeting use cases with large context needs on smaller VRAM GPUs as
follows (refreshed from original on 4/19/2026) :
This quant has min Q3_K_L across layers, Q6_K_S last layer, Q6_K output and Q4_K embedding. It
enables about 87k token Q8_0 context on a 12G VRAM GPU with all weights on GPU. It still shows very
good reasoning performance, but does not handle correctly one hard physics problem the Q6_K_H gets right.
High context yarn config is as follows:
Arbitrarily set base context for yarn rope scale compute to 35840 (35k), then with a context of 89344 tokens the
rope scale = 89344 / 35840 = 2.49.
Then on model start pass --rope-scaling yarn --yarn-orig-ctx 35840 --rope_scale 2.49 (must be ajusted if kv other than 89344)
Later versions of llama.cpp have a bug which soft caps context length to the training context, effectively disabling yarn
context extension. Patch server-context.cpp according to https://github.com/ggml-org/llama.cpp/issues/22140 to fix it.
To disable thinking inject a dummy think block after the assistant prompt template where think block
delimiters are defined as: