Choosing a model for the task
ObjectiveChoose an appropriate model for each task, including large language models (LLMs), small language models, multimodal models, and Foundry Tools
Match the model to the job: LLMs for deep reasoning, small language models for cheap and fast common tasks, specialized models for embeddings, images, video, and speech, and prebuilt Foundry Tools when a predictable off-the-shelf API does the work.
Read the full explanationHide the full explanation
The Foundry Models catalog holds thousands of models, filterable by capability (reasoning, tool calling, multimodal), provider, inference task, and industry. Large language models such as GPT-5 and Mistral Large handle deep reasoning, complex generation, and long context, at a higher compute cost. Small language models such as Phi-4 handle common language tasks efficiently and can run on lower-end hardware or edge devices, so they win when cost and speed matter more than hard reasoning.
Reasoning is its own axis. GPT-5 is a reasoning model with adjustable effort (minimal, low, medium, high) that suits planning, multistep analysis, and agentic tool calling, but its time to first token is higher. GPT-4.1 is a non-reasoning model tuned for low latency and high throughput, so it fits live chat and short factual answers. When you can't decide per request, model router is deployed like a single model and picks an underlying model for each prompt in Balanced, Quality, or Cost mode.
Specialized models cover other modalities: embedding models (Ada, Cohere) for semantic search and RAG, image generation (GPT-image-1), video generation (Sora 2), text to speech (GPT-4o-tts), and speech to text (GPT-4o-transcribe). Image analysis models such as GPT-4.1 accept images alongside text.
Not every task needs a generative model. Foundry Tools (formerly Azure AI Services, and before that Cognitive Services) are prebuilt APIs for language, speech, translation, document field extraction, and content understanding. They are often cheaper and more predictable than prompting an LLM for the same result.
Remember for the exam
- 'Edge device', 'low cost' → small language model. 'Complex reasoning' → LLM or reasoning model.
- Real-time chat at volume → GPT-4.1. Research reports and planning → GPT-5.
- Model router's context window is limited by its smallest underlying model; a model subset fixes that.