How to Keep AI Costs Under Control