Skill 2.1.1
Deploy and consume LLMs, small models, code models, and multimodal models
Key Concepts
A model is deployed from the Foundry Models catalogue in the portal, with the Azure CLI (az cognitiveservices account deployment create) or with IaC. Applications then call it through the Responses API, which accepts text and image input, supports tool calls, structured outputs, streaming and stored conversations, or through the Chat Completions API. Both are available on the Azure OpenAI v1 API (/openai/v1/), which works with the standard OpenAI client libraries, and through the project's OpenAI client (AIProjectClient.get_openai_client()).
The calling pattern is the same across model types, but the inputs differ. Small models such as Phi are called in the same way and suit narrow tasks. Code models generate, explain and review code and are often used with structured outputs or tools. Multimodal models receive image content parts (a URL or base64 data URI) next to text. Reasoning models accept a reasoning effort setting instead of temperature. Streaming returns tokens as they are generated, which lowers perceived latency in chat interfaces.