Lesson 1 of 3 Choosing and Configuring Models

Selecting a Model by Capability in Microsoft Foundry

This lesson explains how to choose a model from Foundry Models, the catalog of Microsoft Foundry, the platform used throughout this exam. The right model depends on the task's inputs and outputs, the quality required, and the acceptable cost and latency.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the main parts of Microsoft Foundry.
  • Distinguish large language models, small language models, reasoning models and other model types.
  • Use the model catalog's filters and model cards to compare models.
  • Apply a selection rule that chooses the smallest model meeting the quality requirement.

Microsoft Foundry at a glance

Microsoft Foundry is Azure's platform for building AI applications and agents. In Azure, you create a Foundry resource, which provides endpoints, model deployments and access to Foundry Tools, and one or more projects inside it, which hold agents, files, evaluations and connections. You work with them in the Foundry portal at ai.azure.com or in code with the Foundry SDK.

Foundry Models is the catalog of models you can deploy, including Azure OpenAI GPT models, Microsoft's Phi models, image models and models from other providers. Foundry Agent Service hosts agents that combine a model with instructions and tools. Foundry Tools are prebuilt AI services that perform specific tasks with predictable, structured results; the ones this exam names are Azure Language, Azure Speech and Azure Content Understanding, and Azure Vision is also available for image analysis.

Match the pairs

The parts of Foundry

Exam skills 1.2.2

Match each part of Microsoft Foundry with what it provides.

Log in to try this activity Interactive activities are free with an account.

Model types

Large language models (LLMs), such as the GPT-5 family, are general-purpose: they write, summarize, classify, extract, translate, write code and call tools, across many domains.

Small language models (SLMs), such as Microsoft's Phi family and the mini and nano variants of larger families, have fewer parameters. They respond faster and cost less per token, and some can run on local devices. They suit focused, high-volume tasks such as classification or short extraction, provided they meet the quality requirement.

Reasoning models spend extra computation, as internal reasoning tokens, on problems that need several steps, such as planning, mathematics, complex analysis and difficult code. They are slower and cost more, so they are reserved for tasks that need them.

Multimodal models accept more than text: images, and for some models audio, as input. Embedding models convert text into vectors for search and similarity. Image-generation models, such as GPT-image and FLUX models, create and edit images, and video-generation models create short clips. Speech models such as transcription and realtime audio models handle spoken input and output.

Sort into groups

Which model type?

Exam skills 1.2.2

Choose the kind of model that fits each task.

Log in to try this activity Interactive activities are free with an account.

Using the model catalog

The Foundry portal's model catalog lists models sold directly by Azure, such as Azure OpenAI and Microsoft models, which Microsoft hosts, bills and supports, and models from partners and the community. Filters narrow the list by task (such as chat completion, embeddings or image generation), publisher, capability and deployment option.

Each model's model card describes what it does, its supported inputs and outputs, languages, context window, training information, limitations and responsible AI considerations. Leaderboards and benchmark views compare models on quality, safety, cost and throughput, and a compare view sets models side by side. Benchmarks are a shortlist tool: the final choice should come from testing candidates with your own prompts and data.

True or false

Reading the model catalog

Exam skills 1.2.2

Check four statements about using the Foundry model catalog.

Log in to try this activity Interactive activities are free with an account.

A selection rule

First filter by capability: if the task involves images, audio, vectors or media creation, only the matching model types qualify. Then choose the smallest and cheapest model that meets the quality requirement on your own tests, and move to a larger or reasoning model only where the smaller one fails. The following table summarizes typical matches.

TaskTypical model type
Customer-service chat with tool useLLM
Classify millions of short messages cheaplySmall language model
Multistep financial analysis or planningReasoning model
Answer questions about photos or chartsMultimodal model with image input
Find documents similar to a queryEmbedding model
Create marketing images from descriptionsImage-generation model
Answer a spoken question directlyAudio-capable multimodal model

The following diagram shows the selection rule as steps.

A rule for selecting a model. First filter by capability: a task with images, audio, vectors or media creation qualifies only the matching model types. Then test the candidates on your own data and choose the smallest and cheapest model that meets the quality requirement. Move to a larger or reasoning model only where the smaller one fails.
Start small; move up only where tests show it is needed.
Worked example

Choosing between candidates

A company tests three models for routing support emails into eight categories. On 500 labelled emails, a small model is 94% accurate, a large model 95% and a reasoning model 95%. The requirement is 90%, and volume is 200,000 emails a day.

All three meet the requirement, so the small model is the most appropriate: it is faster and costs a fraction of the others at high volume. The one-point gain does not justify the cost of the larger models, and the reasoning model adds latency for a task that needs no multistep reasoning.

Check yourself

Which kind of model is needed for similarity search?

Show answer

An embedding model. Image or audio input needs a multimodal model instead.

Exam Tips

Remember for the exam

  • A Foundry resource holds deployments and tools; projects hold agents, files and evaluations.
  • Image or audio input requires a multimodal model; similarity search requires an embedding model.
  • Choose the smallest model that meets the quality requirement on your own tests.
  • Model cards describe capabilities and limitations; leaderboards compare quality, safety, cost and throughput.