Companies are shifting from running everything on the most powerful AI model to matching each task to the right one, a practice called model routing.