Coding agents moved the line: thin internal tools that once lost to a SaaS seat can now be cheaper to specify and generate — if you will maintain them. The line still favors buying when failure is operational, legal, or unbounded (identity, payments, deliverability, model serving). A weekend demo is not a buy decision; a written spec, tests, and an owner are.