Should We Serve Our 13B Model at 4-Bit?
The interviewer asksYou serve a 13B model at 16-bit on one 80 GB GPU per replica. Someone proposes 4-bit quantisation to cut costs. What changes, and would you do it?
AI Infrastructure PMModel PMCoreTechnical roundRepresentative5–7 min
On this page
The 30-second version
- Weights: 13B × 2 bytes = 26 GB at 16-bit; 6.5 GB at 4-bit.
- Frees ~20 GB per GPU for KV cache → more concurrent users per GPU, or smaller GPUs.
- Can also speed decode, since less data is read per token.
- Risk: quality loss, often on reasoning, long contexts or specific languages.
- Decide by running your own evals on both, then a gradual rollout.
What it's really testing
- Quantisation trade-offs
- Memory arithmetic
- Evidence-based decisions
How to structure your answer
- Compute memory.
- What it buys.
- Risks.
- Decide by evals.
The interview, played out
- InterviewerYou serve a 13B model at 16-bit on one 80 GB GPUGraphics processing unit. The chips most AI models are trained and served on. Read the full explanation per replica. Someone proposes 4-bit to cut costs. What changes?
- CandidateWeights go from 26 GB to about 6.5 GB. That frees around 20 GB for KV cacheKey-value cache. Stored attention keys and values that let a model generate each new token without recomputing the whole context. Read the full explanation, so each GPU can serve more conversations at once, which lowers cost per user. Decode can also get faster, since less data is read per token.
- Strong moveExplains where the savings come from.
- InterviewerDownsides?
- CandidateQuality. 4-bit can hurt reasoning, long contexts or less common languages. How much depends on the model and method.
- InterviewerWould you do it?
- CandidateRun our eval suite on both versions, including the hard slices. If quality holds within our gates, roll out to a small share of traffic and watch quality signals before switching fully.
The strong answer, distilled
- Memory: 26 GB → 6.5 GB.
- Gains: ~20 GB more KV cache → more concurrent users; possibly faster decode.
- Risks: reasoning, long context, languages.
- Decision: own evals including hard slices; gradual rollout.
This is one strong answer, not the only one.
How it's scored
| Dimension | Weak (2) | Passable (3) | Strong (5) |
|---|---|---|---|
| Arithmetic | Wrong | Weights | Weights and freed memory |
| Benefits | Cheaper | Smaller | Concurrency and speed |
| Decision | Yes/no | Test it | Evals on hard slices plus staged rollout |
Round scorecard: AI Infrastructure PM: technical round, filled in for the mock candidate
| Dimension | Weak | Passable | Strong | The mock candidate |
|---|---|---|---|---|
| Structure | Jumps to a number. | Some steps. | Formula first, steps said out loud. | Strong. Weights before and after, then what that frees. |
| Assumptions | Hidden or wrong. | Stated. | Stated, reasonable, and the sensitive ones identified. | Strong. Stated KV cache and concurrency assumptions. |
| Technical depth | Weights only. | Weights and throughput. | Weights, KV cache, batching and latency targets. | Strong. Knew quality risk and speed effects. |
| Product judgment | Stops at the number. | Mentions cost. | Turns the estimate into a capacity and cost decision. | Strong. Decision by eval, with rollout. |
How the answer changes by role
| Role | What to emphasise |
|---|---|
| AI Infrastructure PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation | Capacity and cost effect |
| Model PM | Quality impact on key capabilities |
Common mistakes
- Assuming no quality loss
- Counting only the weights saving
- Switching all traffic at once
More follow-ups to practise
- "Quality drops only on code." Hint: route code requests to 16-bit.
- "8-bit instead?" Hint: smaller saving, usually smaller quality risk.
Go deeper
- Module: AI numbers: memory and compute
- Framework: Back-of-Envelope Method for AI Numbers
- Framework: Explain a Concept Framework
- Framework: Opening Any Interview Answer
- Lesson: How much memory a model needs
- Lesson: The serving stack
- Also tests: Inference and serving
- Also tests: Eval plans and release gates
Sources
Representative question: written to match technical rounds for AI product roles, not a specific reported interview.