Home › Studies › AI-103 › Plan & Manage › Choosing Models & Foundry Services

Choosing Models & Foundry Services

Model catalog · leaderboards · model router · agent types · Azure AI Search retrieval · memory · toolbox · tools

By the tools4free.dev team · Last reviewed November 13, 2026

Practice questions for this topic →

Choosing a model

Catalog categoryWho supports itBilling and traits
Foundry Models sold by AzureMicrosoft provides support; enterprise-grade SLAsBilled through Azure meters as First Party Consumption Services. Undergo Microsoft's internal Responsible AI review
Foundry Models from partners and communityThe model provider; SLA and support varyBilled through Azure Marketplace. Typically validated by the providers themselves

Model names, versions and regions change often. Choose by capability (reasoning, multimodal, embeddings, tool calling), support model, cost and benchmark results, not by memorising a model list.

Choosing a Foundry service for the task

GoalUseNotes
Pick and deploy the model behind an appFoundry ModelsCatalog of models from Microsoft, OpenAI, Anthropic, Meta and others. If the gap is missing context, use retrieval; if prompting and retrieval can't reach quality, consider fine-tuning
Agent with no runtime to managePrompt agentDeclarative: instructions, a model and tools. Foundry runs it
Your own code, framework or containerHosted agentBring your own framework, custom protocols, control compute; you ship a container image (or a source .zip that Foundry builds)
Agent code already runs elsewhereResponses APICall it directly; no agent resource to manage
Real-time spoken agentVoice-based prompt agentConnect over a WebSocket with Voice Live
Ground answers in your contentFoundry IQAgentic retrieval over a knowledge base. For a few uploaded files, file search is lighter weight
Persistent recall across sessionsMemory (preview)Long-term memory stores
Several agents or steps in one taskWorkflowsOrchestration of multiple agents and steps. See the retirement note
Share and govern toolsToolboxOne MCP-compatible endpoint

Retrieval and indexing in Azure AI Search

MethodWhat it doesPick it when
Full-text (keyword)Matches terms in an inverted indexExact terms matter
Vector searchFinds content with similar meaning from numeric representations (embeddings); also across languages and content typesWording differs from the documents
Hybrid searchOne request with search and vectorQueries; runs full-text and vector in parallel and merges with Reciprocal Rank Fusion (RRF) into one result setYou need conceptual recall and keyword precision together
Semantic rankerSecondary (L2) ranking over a BM25 or RRF result set; adds captions and answersImprove relevance of the initial results; it reranks, it doesn't retrieve
Agentic retrievalMulti-query pipeline: query planning, parallel subqueries (keyword, vector or hybrid), semantic reranking, merged resultComplex, multi-part or context-dependent questions; accepts more latency

Memory, tools and knowledge for agents

NeedUse
Learned, user-specific context that persists across sessionsMemory (memory store)
Curated organizational contentFoundry IQ knowledge base
Documents the user provides during an interactionFile search tool
Index you already have in Azure AI SearchAzure AI Search tool
Your own HTTP API with an OpenAPI 3.0 or 3.1 specOpenAPI tool (anonymous, API key or project managed identity authentication)
Custom code that your app runsFunction calling: your app executes the function and returns the output
Tools exposed by a remote MCP serverMCP tool (remote MCP server)
Python for data analysis and chartsCode interpreter (sandboxed)
Call a remote A2A (Agent2Agent) agent endpointAgent2Agent (A2A) tool
Define tools once, reuse and govern them centrallyToolbox

Exam Tips

Tick each tip once you can answer it without looking.

“Need Microsoft support and enterprise SLAs for the model” → Foundry Models sold by Azure. Trap: Partner and community models are supported by their providers, with varying SLA and support.

“Shortlist models by quality, safety, latency and cost from public benchmarks” → Model leaderboards and Compare models in the catalog. Trap: They don't replace evaluating on your own data; leaderboard cost assumes a 3:1 input-to-output ratio.

“Cut cost without hand-written routing logic” → Model router: one deployment, Balanced (default), Cost or Quality mode. Trap: Quality mode ignores cost; Cost mode accepts a larger quality band.

“Agent needs your own framework, container or custom protocol” → Hosted agent. Trap: A prompt agent is only instructions, model and tools, with no code to run.

“Fastest agent with no runtime to manage” → Prompt agent. Trap: Hosted agents give the most control but you package a container image.

“Agent code already runs elsewhere; you only want Foundry models and tools” → Call the Responses API directly. Trap: No saved agent resource, so features that need a saved prompt agent don't apply.

“Concept and keyword precision in one request” → Hybrid search: search plus vectorQueries, merged by RRF. Trap: Semantic ranker only reranks an existing BM25 or RRF result set.

“Multi-part questions that depend on earlier chat turns” → Agentic retrieval (knowledge base plus knowledge source). Trap: It adds latency over a single-query pipeline; for simple needs or GA-only features use classic RAG.

“What does agentic retrieval always need?” → A knowledge base and at least one knowledge source. Trap: A search index is required only for indexed knowledge sources; a source can be remote.

“Chunk and embed content inside the indexer pipeline” → Integrated vectorization: indexer, supported data source, skillset. Trap: Without those, generate embeddings yourself and push vectors into vector fields.

“Agent must remember user preferences across sessions” → Memory store with the memory search tool. Trap: File search is for documents the user provides; Foundry IQ is for curated organizational content.

“Ground answers on curated organizational content” → Foundry IQ knowledge base. Trap: For just a few uploaded files, file search is lighter weight.

“Memory type retrieved at the start of each conversation” → User profile memory. Trap: Chat summary memory is retrieved per turn; procedural memory for a recurring workflow.

“Call an existing HTTP API described by an OpenAPI spec” → OpenAPI tool (3.0 or 3.1). Trap: Function calling makes your app execute the function and return the output.

“Many agents repeat the same tools and credentials” → Toolbox: one MCP-compatible endpoint, central auth and versioning. Trap: Foundry IQ is retrieval over a knowledge base, not a tool catalog.

Sources

Checked against Microsoft Learn on November 13, 2026.

← Plan & Manage overviewFoundry Setup & Deployments →