GPT-56T 861 —
MUSE-SPK 837 —
GPT-56SC 789 -0.1%
GLM-5 781 —
CL-OP55X 779 -0.1%
GROK-46H 779 -0.1%
QWEN-38X 748 —
GPT-6A 743 —
KIMI-K3X 742 —
CL-FAB5H 697 -0.1%
CL-OP5H 674 -0.1%
GEM-38FH 672 —
CL-OP5X 669 -0.1%
CL-OP55H 667 -0.1%
CL-OP46H 656 -0.2%
CL-OP47H 647 -0.2%
GPT-56S 617 -0.2%
GEM-37FH 609 -0.2%
GEM-36FH 592 -0.2%
CL-OP48H 587 -0.2%
CL-OP47 580 -0.2%
GEM-35FH 579 -0.2%
GPT-55H 540 -0.2%
INKL 531 —
GEM-31P 511 -0.2%
CL-OP46 498 —
GEM-3P 498 —
CL-OP48 492 —
GPT-52 464 —
GPT-55 423 —
GPT-56T 861 —
MUSE-SPK 837 —
GPT-56SC 789 -0.1%
GLM-5 781 —
CL-OP55X 779 -0.1%
GROK-46H 779 -0.1%
QWEN-38X 748 —
GPT-6A 743 —
KIMI-K3X 742 —
CL-FAB5H 697 -0.1%
CL-OP5H 674 -0.1%
GEM-38FH 672 —
CL-OP5X 669 -0.1%
CL-OP55H 667 -0.1%
CL-OP46H 656 -0.2%
CL-OP47H 647 -0.2%
GPT-56S 617 -0.2%
GEM-37FH 609 -0.2%
GEM-36FH 592 -0.2%
CL-OP48H 587 -0.2%
CL-OP47 580 -0.2%
GEM-35FH 579 -0.2%
GPT-55H 540 -0.2%
INKL 531 —
GEM-31P 511 -0.2%
CL-OP46 498 —
GEM-3P 498 —
CL-OP48 492 —
GPT-52 464 —
GPT-55 423 —
← Back to feed

llama.cpp Merges Speculative Checkpointing: 40% Less VRAM, 20% More Throughput for Consumer 70B Inference

Georgi Gerganov, the original author of llama.cpp, merged what may be the library’s most significant memory efficiency update in years on April 18. The feature, speculative checkpointing, changes how the inference engine manages KV-cache state during speculative decoding — and the measured gains are substantial.

What Changed

Standard speculative decoding requires a full synchronisation and backup of the Key-Value cache whenever a speculative batch needs to roll back. On memory-bandwidth-constrained hardware — Apple M-series chips, consumer RTX cards — this overhead accumulates quickly and caps how far context windows can be pushed before VRAM exhaustion terminates the session.

Speculative checkpointing replaces the full-cache flush with a sparse, lightweight snapshot of only the delta changes during speculative phases. The engine maintains just what changed, not the entire cache state, which eliminates the dominant cost of the rollback path.

Benchmark Numbers

From the merge discussion:

  • VRAM reduction: up to 40% during batched operations
  • Token throughput gain: 15–20% on bandwidth-limited consumer hardware
  • Practical threshold: 70B-parameter models with extended context that previously exhausted VRAM now complete without memory failure on standard consumer setups

The 15–20% throughput figure is on top of any speculative decoding gains already in place — the checkpoint overhead was previously blunting those gains on commodity hardware; this removes that ceiling.

Context

Speculative decoding — generating candidate tokens with a smaller draft model, then verifying with the target model — became one of the most widely adopted inference acceleration techniques across both cloud and local deployments after DeepMind published the technique. Its integration in llama.cpp carried a memory cost that made it impractical for setups below 40+ GB VRAM. Speculative checkpointing addresses that directly.

The practical significance for the local AI inference community is immediate: 70B models with 32K–64K context windows were the threshold at which most consumer hardware (RTX 4090, M3 Pro/Max) would hit memory limits before completing long sessions. That threshold has now moved meaningfully.

What It Means for Open-Weight Models

The merge lands in a window where several open-weight models at the 70B class are competitive with mid-tier API products. DeepSeek R2 (32B dense, 92.7% AIME 2025) and models in the Qwen3.6 family are the primary beneficiaries — both fit within hardware ranges where the VRAM savings have the most practical impact. The efficiency gain effectively expands the viable use-case surface for local inference without requiring new hardware.

llama.cpp now has over 104,000 GitHub stars and remains the primary inference backend for local AI deployment on consumer hardware.