AI has changed the economics of build-versus-buy twice: once for the AI capabilities you put in your product, and again for ordinary software, because coding agents make building cheaper.
Four common options for an AI capability
- Buy a SaaS product with AI built in: fastest time to value, least control, vendor lock-in risk.
- API model + your own application: you own the workflow, data handling and UX; the model is rented and swappable through a gateway.
- Open-weights model, self-hosted: maximum data control and no per-token fees; you pay in GPUs, operations and ML skills.
- Fine-tune (a hosted or open model): better fit for a narrow task or style; ongoing cost of data, training and re-training when base models improve.
How to decide
Score the options on cost, latency, quality on your eval set, security and data control, lock-in, and team skill, weight what matters for this use case, and test whether the winner holds when weights move. Then write the decision down as an ADR. The build-vs-buy matrix tool does exactly this.
Two cautions from experience
- Training your own model is a large commitment. Bloomberg built BloombergGPT, a 50-billion-parameter model trained on a 363-billion-token dataset from Bloomberg's own financial data plus 345 billion tokens of general data (2023). Few organizations have that data, budget and team — and general models keep improving underneath you.
- Retrieval often beats fine-tuning for knowledge. Research comparing the two found retrieval consistently outperformed unsupervised fine-tuning for injecting knowledge.
Building ordinary software instead of buying
Coding agents make it tempting to build ordinary software instead of buying it, and some organizations now do. Remember that building is cheap only at the start: maintenance, security, on-call and upgrades last for years.