---
title: You must halve serving cost for a large model without retraining it from scratch. Discuss quantisation…
url: https://gurkanozkan.ai/learn/questions/research-cutting-inference-cost-039/
markdown: https://gurkanozkan.ai/learn/questions/research-cutting-inference-cost-039.md
kind: question
role: Research
stage: System design
difficulty: Medium
json: https://gurkanozkan.ai/api/learn/questions/research-cutting-inference-cost-039.json
robots: noindex
---

# You must halve serving cost for a large model without retraining it from scratch. Discuss quantisation (INT8/FP8/4-bit), speculative decoding and batching: what each buys you and which quality risks you would measure.

Research · System design · Medium

## Answer

*Model answer, written in a candidate's voice*

### In short

- Core point: combine memory-side savings (quantisation, KV-cache) with throughput/latency-side savings (batching, speculative decoding), then validate on tasks and long context.
- Quantisation: weight-only vs weights+activations; outliers; calibration; FP8 on recent hardware.
- Speculative decoding: draft proposes, target verifies; distribution preserved with proper rejection sampling; speed-up depends on acceptance rate.
- Continuous batching raises throughput but can worsen tail latency and memory pressure.
- KV-cache quantisation cuts long-context memory/bandwidth but can hurt retrieval and long-range quality.
- Measure on task evals and long-context tests, not only perplexity.

### In full

The practical path is to attack memory and compute separately: quantise weights and the KV cache, run continuous batching to keep the GPU saturated, and add speculative decoding where the draft is cheap and acceptance is high. Weight-only INT8/FP8 usually gives large footprint and bandwidth savings with modest quality risk, while 4-bit needs careful calibration and can degrade harder tasks; weights-plus-activations such as W8A8 or FP8 can help compute on recent hardware but are more sensitive to activation outliers and calibration drift. Speculative decoding has a small draft propose tokens and the target verify them in parallel; with proper rejection sampling the output distribution is unchanged, but the gain is only as good as the acceptance rate and the draft cost, so it is not a guaranteed 2x. Continuous batching raises throughput by filling the batch dynamically, but it can increase tail latency and memory pressure, so I would track p50/p99 latency alongside tokens/sec. I would also quantise the KV cache for long contexts, then check task evals, long-context retrieval/needle-style tests, and domain-specific quality rather than relying on perplexity alone.

*Checked against sources by an independent AI reviewer.*

## What a strong answer covers

- Quantisation: weight-only vs weights-plus-activations; outliers; calibration-based methods; FP8 on recent hardware.
- Speculative decoding: a draft model proposes and the target model verifies. The output distribution is unchanged; the speed-up depends on the acceptance rate.
- Continuous batching raises throughput.
- KV-cache quantisation.
- Measure on task evals and long-context tests, not only perplexity.

## Common mistakes

- Claiming speculative decoding changes outputs.
- Validating with perplexity alone.

## Topic guides

- [Compute and memory efficiency](https://gurkanozkan.ai/learn/topics/efficiency.md)
- [Evaluation: metrics, evals for LLM systems and statistical rigour](https://gurkanozkan.ai/learn/topics/evaluation.md)
- [LLM inference: decoding, batching, quantisation and speculative decoding](https://gurkanozkan.ai/learn/topics/inference.md)
---

*Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.*
