Lesson 2 of 3 Choosing and Configuring Models

Choosing a Model Deployment Type

This lesson explains how a model is deployed in Foundry before an application can call it. The deployment type decides where requests are processed, how capacity is provided and how usage is billed.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain how a deployment name and quota make a model available to applications.
  • Distinguish Global, Data Zone and regional deployment types.
  • Distinguish Standard pay-as-you-go deployments from provisioned throughput deployments.

Deployments and quota

A deployment makes a specific model version available on a Foundry resource under a name you choose. Applications send that deployment name in their requests, which means a team can later point the same name at a newer model without changing code. Each deployment has a capacity limit in tokens per minute (TPM), taken from the subscription's quota for that model, region and deployment type; requests beyond the limit receive HTTP 429 (too many requests) errors.

Deployments also have a version upgrade policy. Models move through lifecycle stages (preview, generally available, deprecated and retired), and Standard deployments can be upgraded automatically to a newer version when the current one is retired.

Scenario questions

Deployments in practice

Exam skills 1.2.3

Practise how deployment names, quota and upgrade policies behave.

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

Deployment types

Standard deployment types are pay-as-you-go: you pay per input and output token. Global Standard routes each request to available capacity in any Azure region; it has the highest default quota and the earliest access to new models, and is the usual default. Data Zone Standard processes requests only within a data zone, such as the United States or the European Union, for organizations with data residency requirements. Regional Standard processes requests in the resource's region only.

Provisioned deployments (Global, Data Zone or regional) reserve model processing capacity measured in provisioned throughput units (PTUs). They give predictable latency for steady, high-volume workloads and are billed for the reserved capacity whether it is used or not. Batch deployments (Global or Data Zone) process files of requests asynchronously, typically within 24 hours, at a lower price than Standard, which suits large offline jobs such as classifying a year of support tickets.

The following table summarizes the choice.

RequirementDeployment type
General use, highest quota, no residency requirementGlobal Standard
Processing must stay in the EU or the USData Zone Standard (or Data Zone Provisioned)
Processing must stay in one specific regionStandard (regional)
Steady high volume with predictable latencyProvisioned
Large non-urgent jobs at the lowest priceBatch

The following diagram shows the choice of deployment type as a sequence of questions.

Choosing a deployment type. Large, non-urgent jobs suit Batch, which processes files asynchronously, typically within 24 hours, at a lower price. Steady, high-volume workloads that need predictable latency suit Provisioned, billed for reserved capacity. Otherwise a Standard pay-per-token deployment is used: Global Standard by default, Data Zone Standard when processing must stay in the EU or the US, and regional Standard when it must stay in one region.
Global Standard is the usual default.
Sort into groups

Choose the deployment type

Exam skills 1.2.3

Choose the deployment type that fits each requirement.

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

Choosing a deployment type

A European insurer is launching a claims assistant. Customer data must be processed within the EU, traffic is modest and unpredictable during the pilot, and the insurer wants to pay only for what it uses.

Residency rules out Global Standard; unpredictable modest traffic and pay-per-use rule out Provisioned; and Batch is unsuitable for interactive chat.

Data Zone Standard in an EU region meets all three requirements. If the assistant later handles steady high volume with strict latency targets, the insurer can add a Data Zone Provisioned deployment.

Check yourself

What does an HTTP 429 error from a deployment mean?

Show answer

The deployment's tokens-per-minute limit was exceeded, so the request was throttled.

Exam Tips

Remember for the exam

  • Applications call a deployment by its deployment name.
  • Global Standard: highest quota, any region. Data Zone: EU or US boundary. Standard: one region.
  • Provisioned reserves PTUs for predictable latency; Batch is asynchronous and cheaper.
  • HTTP 429 errors mean the deployment's TPM limit was exceeded.