Skip to content
[bmdpat]
All research

Measured · lab only · recorded October 18, 2026

KV cache: less VRAM, slower runs

Compressed caches used less VRAM and had lower median throughput on this fixed short-task suite. Some also passed fewer tasks.

No production profile was promoted.

Download data and source hashes

Question and method

Does a compressed KV cache improve this short-task workload without reducing its task pass count?

RTX 5070 Ti, 16 GB VRAM; 32 GB RAM; Intel Core i9-13900K. Runtime: Ollama 0.40.6. Runtime, model and source hashes are in the download.

Four models, two allocated context capacities, three cache types, three repeats. Per cell: minimum passed tasks, median recorded e2e_tok_s and median peak VRAM bytes. Each candidate is compared with its own model/context f16 reference. This produced 72 retained profiles. The separate context cohort is excluded.

Recorded results

All eight model/context reference cells retained f16. LFM2.5 scored zero on this suite and stays outside the selected lab profile. Its speed is not a useful recommendation.

On narrow screens, scroll the table sideways to compare speed and memory.

Cache comparison results
ModelContext capacityCacheMin tasks passedMedian e2e tok/sMedian peak VRAM (GiB)
gemma4:12b16384f161672.17.81
gemma4:12b16384q8_01668.77.52
gemma4:12b16384q4_01469.77.36
gemma4:12b65536f161672.67.91
gemma4:12b65536q8_01668.67.63
gemma4:12b65536q4_01469.87.47
lfm2.5:8b16384f160339.15.13
lfm2.5:8b16384q8_00328.25.04
lfm2.5:8b16384q4_00326.64.99
lfm2.5:8b65536f160339.56.02
lfm2.5:8b65536q8_00327.55.67
lfm2.5:8b65536q4_00328.35.48
qwen3.5:4b16384f1613115.83.40
qwen3.5:4b16384q8_010109.23.20
qwen3.5:4b16384q4_013113.93.07
qwen3.5:4b65536f1613115.55.26
qwen3.5:4b65536q8_010109.14.52
qwen3.5:4b65536q4_013113.14.02
qwen3.5:9b16384f161589.65.63
qwen3.5:9b16384q8_01587.05.40
qwen3.5:9b16384q4_01488.75.27
qwen3.5:9b65536f161588.97.55
qwen3.5:9b65536q8_01587.36.71
qwen3.5:9b65536q4_01488.36.21

Limits and current disposition

  • Short prompts; allocated context is not long-input quality.
  • e2e_tok_s includes prefill and generation, subtracts model load and excludes server startup and cleanup; not total wall-clock throughput.
  • Cold means empty model residency, not cleared OS or compiler caches.
  • All eight model/context reference cells retained f16. LFM scored zero and remains excluded from the selected lab profile.
  • No production profile was promoted. This is not a model leaderboard or whole-machine speedup.

The separate Dory cohort was inconclusive. The autonomy trial was unfinished in this recorded packet. Neither supports a completed-result claim here.

Sources and next steps