The Model Router just leveled up with the latest GPT-5 models — and it’s ready to take your AI projects further. In this episode, April pulls back the curtain on how it works, then walks you through using it to pick the right model for any task. From building intelligent agents to optimizing performance and costs, you’ll see the full process in action.
Try it yourself in Microsoft Foundry and start routing your requests smarter: ai.azure.com
- A Microsoft Foundry project
- Model Router model deployment
- Navigate to the folder:
cd Samples/Model-Router/Python - Install dependencies:
pip install -r requirements.txt - Set up environment variables:
copy .env.example .env - Run the script:
python model-router.py
- Navigate to the folder:
cd Samples/Model-Router/Python - Install dependencies:
pip install -r requirements.txt - Set up environment variables:
copy .env.example .env - Run the script:
python model-router-multiturn.py