Lesson 5 of 26 · see all lessons
Start here: the exam, Python basics and responsible AI (skill area 1, 40-45%)
AI models: how they work, choosing and deploying (skill area 1)
AI workloads: text, speech, vision and extraction (skill area 1)
Generative AI apps and agents in Foundry (skill area 2, 55-60%)
Text, speech, vision and extraction apps in Foundry (skill area 2)
- 17. Building a text analysis app
- 18. Building speech apps: spoken prompts and Azure Speech
- 19. Building vision apps: images in prompts and generated images
- 20. Extracting information with Content Understanding: documents and forms
- 21. Content Understanding for images, audio and video, and a small extraction app
Final review and four mock exams
17 min
Choosing the right AI model for the job
Pick a model from the Foundry model catalog by what it can do: chat, reasoning, embeddings, images, speech or vision.
By the end of this lesson you can
- Tell Foundry Models sold by Azure from models from partners and community
- Match a scenario to a model type: chat, reasoning, embeddings, image generation, audio or multimodal
- Weigh task fit, quality, cost, latency, context window and region when picking a model
- Use model cards, benchmarks and the model leaderboard to compare models
From earlier lessons · 1 of 2
Which statement about embeddings is true?
Pick one answer.
From earlier lessons · 2 of 2
A model must answer from a company handbook that changes weekly, without retraining. What should you use?
Pick one answer.
Fernhill's AI wish list has grown. Answer customer chats. Plan a 14-stop tour that fits budgets, visas and train times. Find reviews by meaning, not keywords. Create brochure images. Read itineraries aloud. The owner asks, "Can't one model do all of that?" Some of it, maybe. But the exam wants you to pick the model built for each job.
The Foundry model catalog
Exam depth: know it cold.
The model catalog in the Foundry portal is where you find, compare and deploy models. It's split into two categories:
| Foundry Models sold by Azure. | Foundry Models from partners and community. | |
|---|---|---|
| Who sells and supports it. | Microsoft, under Microsoft Product Terms. | The model provider. |
| Examples. | All Azure OpenAI models, plus selected models from other top providers. | Models from research labs, partners and the community. |
| Support and SLA. | Microsoft support and Azure service-level agreements. | Varies by provider. |
| Best for. | Deep Azure integration, guaranteed support. | Specialized or niche capabilities, the newest research. |
An SLA (service-level agreement) is a written promise about uptime and support.
A bank needs a chat model billed through its Azure subscription, supported by Microsoft and covered by an Azure SLA. Which part of the catalog should it pick from?
Pick one answer.
Model types by capability
Exam depth: know it cold.
| Model type | Input, output | Pick it when the scenario says... |
|---|---|---|
| Chat (completion) | Text in, text out. | Answer questions, draft emails, summarize, chat. |
| Reasoning | Text in, text out, after extra thinking. | Complex multi-step problems: planning, math, code, comparing contracts. |
| Embedding | Text in, a vector out. | Semantic search, similarity, finding passages for RAG. |
| Image generation | Text in, an image out. | Create new pictures from a description. |
| Audio (speech) | Speech in, text out; or text in, speech out. | Transcribe calls, read text aloud, voice conversations. |
| Multimodal | Text plus images (and sometimes audio) in. | Describe a photo, answer questions about a chart or scanned page. |
In the catalog, filter by inference task (such as chat completion or embeddings) or by capabilities (such as reasoning or tool calling).
Match
Match each Fernhill job to the model type built for it
Pick an item on the left, then its match on the right.
Chat models vs reasoning models
Exam depth: know it cold.
A reasoning model spends extra time working through a request before it answers. It's strongest at science, coding, math, multi-step planning and spotting subtle differences between documents.
That extra thinking produces reasoning tokens. You don't see them, but they fill the context window and you pay for them as output tokens. So a reasoning model is usually slower and costs more per request.
Decision rule: a quick, everyday reply means a chat model. A hard problem with many steps or constraints means a reasoning model.
A law firm needs to compare two 40-page contracts and list every subtle difference in obligations. Response time isn't important. Which model type fits best?
Pick one answer.
Fernhill wants to turn 50,000 reviews into vectors so staff can search them by meaning. Which model should it deploy?
Pick one answer.
How to choose: the selection criteria
Exam depth: know it cold.
Once you know the model type, compare models of that type on these points.
- Task fit and modality: does it accept the input you have and produce the output you need?
- Quality: how well it scores on benchmarks for your kind of task.
- Cost: price per input and output token, or per image or minute of audio.
- Latency and throughput: how fast it answers. Real-time chat needs low latency.
- Context window: can it take your longest prompt plus its reply?
- Region availability: is it offered in the Azure region where your data must stay?
- Responsible AI and safety: review the model card's limitations and safety scores.
You're responsible for choosing a model that suits your use case. The catalog won't do that for you.
Small vs large: the trade-off
Exam depth: know it cold.
Bigger isn't always better.
- Large language models handle a wide range of topics well. They cost more to run.
- Small language models work well on focused tasks. They're cheaper and small enough to run locally or on devices at the edge, close to where data is produced.
Decision rule: words like "on the device", "offline", "low cost" or "narrow task" point to a small model. Words like "wide range of questions" or "general assistant" point to a large one.
A tour company wants a phrase-translation helper that runs on guides' tablets, even with no internet connection. Which choice fits best?
Pick one answer.
Model cards, benchmarks and the model leaderboard
Exam depth: recognize it.
- Model card: each model's page in the catalog. It shows quick facts, details such as version and supported data types, benchmarks, existing deployments and the license.
- Benchmark: a standard test that scores models on the same public data, such as reasoning, coding or math questions.
- Model leaderboard (preview): ranks models by quality, safety, cost and throughput. You can compare two or three models side by side, and see trade-off charts.
Higher quality scores are better. For safety, a lower attack success rate means the model resists attacks better.
Exam-style practice
For this statement, select Yes if it is true. Otherwise, select No. "The Foundry model leaderboard lets you compare models on quality, safety, cost and throughput."
Pick one answer.
Guides upload photos of hotel rooms. The app must answer questions such as "Does this room have a balcony?" What kind of model should you deploy?
Pick one answer.
Two chat models score almost the same. Company policy says customer data must be processed in a specific Azure region. What should you check next?
Pick one answer.
Worth keeping
- Sold by Azure = Microsoft support and SLAs. Partners and community = provider support, specialized models.
- Pick the type from input and output: chat, reasoning, embedding, image generation, audio, multimodal.
- Reasoning models think longer and cost more; use them for hard multi-step problems.
- Then compare on quality, cost, latency, context window, region and safety.
- Leaderboards shortlist; your own data decides.
Fernhill has picked its models. But a model in the catalog can't answer anything until it's deployed, and the deployment type decides cost, speed and where data is processed. Lesson 6 covers deployments and the settings that shape every reply.
Leaderboard
Loading…
50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.
Embed this practice on your site
Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.
Report a copyright problem with this lesson
Sources for this lesson (9)
Each fact in the lesson is marked with the number of the page it comes from.
- [2]Microsoft Learn: Study guide for Exam AI-901: Microsoft Azure AI Fundamentals
- [32]Microsoft Learn: Generative AI and agents (Introduction to AI concepts)
- [34]Microsoft Learn: Foundry Models sold by Azure
- [35]Microsoft Learn: Understand embeddings in Azure OpenAI
- [36]Microsoft Learn: Foundry Models from partners and community
- [37]Microsoft Learn: Understand retrieval-augmented generation
- [40]Microsoft Learn: Overview of Microsoft Foundry Models
- [41]Microsoft Learn: Azure OpenAI reasoning models
- [42]Microsoft Learn: Model leaderboards in Microsoft Foundry portal (preview)