Architecture and model selection
Where the system runs, what it may reach, and what happens when a call fails are settled first, because everything else inherits them. The model is chosen last, by measurement: accuracy on your data, latency your users will tolerate, privacy your counsel will accept, and a cost that survives volume.