1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
51 small wins to finish your pathNext question →
Open-weight vs closed (API) models: what are the trade-offs?
30-second answerSay your answer out loud first, then reveal.
| Factor | Closed API | Open-weight (self-hosted) |
|---|---|---|
| Peak capability | Usually highest | Strong and closing the gap |
| Setup | Minutes | GPUs, serving stack, MLOps |
| Data control | Data leaves your network (though enterprise terms help) | Full control; air-gapped possible |
| Customisation | Prompting; limited fine-tuning | Full fine-tuning, any modification |
| Cost profile | Pay per token; great at low or variable volume | Fixed GPU cost; cheaper at high, steady volume |
| Version stability | Models deprecated on vendor timelines | You choose when to upgrade |
| Latency control | Shared infrastructure | Tunable; on-prem or edge |
| Licence | Terms of service | Varies; check commercial use and restrictions |
"Open source" vs "open weight": many models release weights but not training data or code, and some have usage restrictions in their licences. Be precise in interviews.
Common hybrid: an API model for complex reasoning, plus a self-hosted small model for high-volume simple tasks, sensitive data, or offline use.
Follow-ups to expect
- How would you calculate the break-even between API and self-hosting? (Q48.)
Related
This is what real progress feels like.