Step 30 of 38 · Strategy
Build, buy or fine-tune
Choose the cheapest option that meets your evaluation, and move up the ladder only when evidence says you must.
You have a ladder of options: call a hosted model with good prompts, add retrieval over your own data, fine-tune an existing model, or train your own. Each step up costs more in data, compute, skills and maintenance, and takes longer to change.
Start at the bottom and climb only when your evaluation shows the cheaper option cannot meet the target on quality, latency, cost, privacy or control. Train your own when the model itself is your advantage and you have data others lack.
Whatever you choose, keep what is yours: the evaluation set, the data and the integration code. Design for swapping the model, because it will be replaced. The frequent mistake is building for prestige what you could buy as a utility.
Try this week
- Run your evaluation set against the simplest hosted option and record the gap to your target.
- Write down what you would need to change if your current model provider or base model disappeared.
Signs you've got it
- Each build decision cites an evaluation result that the cheaper option failed.
- You can swap the underlying model and rerun your evaluation within days.
Resources
- articleWhat We've Learned From A Year of Building with LLMs (opens in a new tab)Eugene Yan, Hamel Husain, Shreya Shankar and co-authors
- articlePatterns for Building LLM-based Systems & Products (opens in a new tab)Eugene Yan
- articleUtility Vs Strategic Dichotomy (opens in a new tab)Martin Fowler
- paperOn the Opportunities and Risks of Foundation Models (opens in a new tab)Rishi Bommasani, Percy Liang and colleagues
- videoLecture 7: Foundation Models (opens in a new tab)Full Stack Deep Learning