---
title: "FreeToken cuts the memory used to cache earlier tokens by about half"
id: "story-141"
canonical_url: "https://emergent.fm/stories/141"
markdown_url: "https://emergent.fm/stories/141/article.md"
published_at: "2026-11-24T12:02:20.864Z"
modified_at: "2026-11-24T18:57:11.063Z"
topic: "models"
trust_label: "Reported"
publisher: "Emergent.FM"
---

# FreeToken cuts the memory used to cache earlier tokens by about half

## Key points

- FreeToken v0.2.3 adds 8-bit KV cache formats that cut KV memory use by about half when running with bfloat16 and TP 1.
- The release adds text serving for DeepSeek-V4.1 GGUF and Gemma-4 E2B and E4B models, plus MTP speculative drafting for Gemma-4.
- GLM-4.7 now defaults to bf16 for attention and input embeddings, requiring older DF11 FTW checkpoints to be reconverted.

## FreeToken v0.2.3 feature requirements and limits

- 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

## 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.

Version 0.2.3 also lets developers run DeepSeek V4.1 text models packaged for llama.cpp.

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.

- **Limits:** Speculative decoding does not yet support TP above 1, non-Gemma-4 sliding-window KV targets or DSV4 window-tier KV targets.

## Source

- <https://github.com/FlashML-org/FreeToken/releases/tag/v0.2.3>

Canonical page: <https://emergent.fm/stories/141>
