FreeToken cuts the memory used to cache earlier tokens by about half
Version 0.2.3 also lets developers run DeepSeek V4.1 text models packaged for llama.cpp.
- 8-bit KV cache
- Requires --dtype bfloat16 and TP 1; default stays auto
- DeepSeek-V4 KV rows
- fp8_ds_mla uses 584 B instead of 1024 B
- Gemma-4 MTP drafting
- Uses mtp-*.gguf via --speculative-draft-model-path
- Speculative limits
- No TP above 1, non-Gemma-4 sliding-window or DSV4 window-tier KV
- GLM-4.7 DF11 option
- --online-quant df11 saves about 8 GiB VRAM; reconvert old FTW
FreeToken v0.2.3 adds fp8_per_token_head and int8_per_token_head KV cache formats that use about half the KV memory, requiring --dtype bfloat16 and TP 1.
Model support and drafting
FreeToken now serves DeepSeek-V4.1 GGUF text checkpoints and Gemma-4 E2B and E4B text models from HF safetensors or GGUF.
The --speculative-algorithm mtp flag now drafts for Gemma-4 dense, E2B, E4B and MoE models with an mtp-*.gguf assistant draft.
GLM-4.7 checkpoint changes
GLM-4.7 now serves attention and input embeddings in bf16 by default, so older DF11 FTW checkpoints no longer load and must be reconverted with ft checkpoint.
Builders running Gemma-4, DeepSeek-V4.1 or GLM-4.7 models with FreeToken.
Pass --online-quant df11 to keep DF11 compression on GLM-4.7, or reconvert older GLM-4.7 FTW checkpoints with ft checkpoint.
Developer Tools
The new fp8_per_token_head and int8_per_token_head formats store K and V in 8 bits per element plus one fp32 scale per token and head, and are read by the triton, qsa_sparse, m3_sparse and dsa attention backends. By default, the auto setting keeps the compute dtype, while DeepSeek-V4 stores its window and compressed KV as fp8_ds_mla rows at 584 B instead of 1024 B.
For speculative decoding, the Gemma-4 mtp-*.gguf assistant draft is passed through --speculative-draft-model-path, and v0.2.3 also adds --speculative-token-map for a smaller MTP draft head and DFlash 2 GGUF draft loading for Qwen3.8-Flash-Next. On GLM-4.7, keeping DF11 compression with --online-quant df11 uses about 8 GiB less VRAM than the new bf16 default.