Hardcoding your model provider is tech debt with a countdown timer.
A better model drops, and suddenly "switch" means rewriting every feature that touches the API.
Make model choice a config change, not a code change. One API layer, one key, swap freely.
How to do it (and what to test first):