All jobs / AI engineer / Open-Source & Local Models
AI engineer interview question · 5+ years
Leadership asks whether to self-host an open-weight model or keep paying for a hosted API. How do you frame the decision?
The strongest answer
By requirements: data constraints, the quality bar on our eval, how much volume and how steady, latency, and whether we can run GPUs on call. Self-hosting swaps per-token fees for fixed capacity and ops work
Why it works
Exactly — it is a total-cost and capability question. Self-hosting tends to win on steady heavy volume or hard data rules, and to lose on spiky load and small teams.
What a good answer covers
- Frame by requirements and total cost.
- Data rules, quality bar, volume, latency.
- Count GPUs, ops and upgrades.
- Steady heavy load favors self-hosting.
Answers that fall short
- Close, but not the strongest: Self-host as soon as the monthly API bill is higher than what the GPUs would cost
The bill is one input. Idle GPUs, on-call engineers, upgrades and a possible quality gap are all missing from that sum. - Weak: Always stay on the API; self-hosting never makes sense for a product company
A blanket rule saves you the analysis, not the money. Hard data rules or steady heavy volume can make self-hosting the right call. - Red flag: Self-host, because open models are free and the AI cost line drops to zero
The weights are free; the GPUs, the engineers and the pager are not. Telling leadership the cost goes to zero will come back to you.
Who gets asked this
More Open-Source & Local Models questions
- A customer insists that the model must run locally “for privacy”. What do you do with that requirement?
- What is the difference between an “open-weight” model and an open-source one, and why does it matter to you…
- What does a bigger model buy you, what does it cost, and how do you choose a size?
- What is quantization, and what do you give up for it?
- The team wants to serve real users from the laptop prototype’s local runner. What do you tell them?
- A self-hosted model runs out of GPU memory only on long prompts or with several users. Why, and how do you…
- You serve a model through an inference server such as vLLM. What does continuous batching give you, and what…