Lesson 1 of 4 Deploying Foundation Models in Foundry

Understanding Foundation Model Deployment

This lesson explains the model catalog, the deployment options and deployment types for foundation models, and how quotas and rate limits apply.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the role of deployment names.
  • Distinguish serverless deployments from managed compute.
  • Compare Global, Data Zone, Standard and Batch deployment types.
  • Explain TPM and RPM limits and 429 responses.

The model catalog

The Foundry model catalog lists thousands of models: Foundry Models sold directly by Azure, such as the OpenAI GPT models, embedding and image models and some partner models, which Microsoft hosts and supports under Azure terms; and models from partners and the community, such as models from Meta, Mistral, DeepSeek, Cohere and Hugging Face. Each model card describes the model's capabilities, modalities, context window, versions, supported regions and deployment options.

A deployment makes a model available to applications under a deployment name chosen by you, such as chat. Applications call the deployment name rather than the model name, which lets operators change the model behind it without changing application code.

Deployment options

Foundry offers two main ways to run a model. Serverless deployments in a Foundry resource are the preferred option: Microsoft runs the model on shared or reserved capacity, and you pay per token or for provisioned throughput, with no infrastructure to manage. Managed compute runs a model on dedicated GPU instances in a Foundry project, billed per hour for each accelerator, which suits open models, custom weights and fine-tuned open-weight models that have no serverless option.

Serverless deployment
ModelsFoundry Models sold by Azure and many partner models
InfrastructureNone to manage
BillingPer token, or per PTU-hour for provisioned types
QuotaTokens per minute or PTUs per deployment type and region
Choose when The model has a serverless option
Managed compute
ModelsOpen, partner, industry and custom models, such as Hugging Face models
InfrastructureDedicated GPU instances (for example A100, H100, MI300X)
BillingPer accelerator hour, whether or not it receives requests
QuotaAccelerators per SKU and region
Choose when It does not, or you need custom weights on dedicated hardware

Older documentation and the Foundry (classic) portal call the per-token option a serverless API endpoint and dedicated hosting a managed online endpoint on managed compute, which consumed the subscription's VM quota. The exam may use either name; the decision criteria are the same.

Deployment types

A serverless deployment has a deployment type, which decides where data is processed, how it is billed and how much capacity is available. Data at rest stays in the resource's geography in every case.

TypeSKU nameProcessing locationBilling
Global StandardGlobalStandardAny Azure regionPer token
Data Zone StandardDataZoneStandardWithin the US, EU or APAC data zonePer token
StandardStandardWithin the resource's geographyPer token
Global ProvisionedGlobalProvisionedManagedAny Azure regionPTUs
Data Zone ProvisionedDataZoneProvisionedManagedWithin the data zonePTUs
Regional ProvisionedProvisionedManagedWithin the geographyPTUs
Global Batch and Data Zone BatchGlobalBatch, DataZoneBatchAny region or within the data zoneAbout 50 percent cheaper, 24-hour target turnaround
DeveloperDeveloperTierAny Azure regionPer token; for evaluating fine-tuned models only

Global types offer the most capacity and usually receive new models first; Data Zone types meet data residency rules that allow processing anywhere in a zone such as the EU; Standard and Regional Provisioned keep processing in one geography. Batch types suit large asynchronous workloads, such as classifying a million documents overnight.

Quotas and rate limits

Standard deployment types draw on a quota of tokens per minute (TPM) per model, deployment type and region in each subscription. A deployment's capacity sets its share of that quota, and a matching requests per minute limit is derived from it. Exceeding either returns HTTP 429 with a retry-after header, and the OpenAI SDKs retry automatically a few times.

  • Split one model's quota between deployments, such as a large one for production and a small one for testing.
  • Request quota increases ahead of launches; they are not instantaneous.
  • Combine regions or deployment types behind a gateway when one deployment's quota is not enough.
  • Use provisioned throughput when steady volume and predictable latency matter more than elastic pricing.
Worked example

Residency and capacity

A European insurer must keep all prompt processing within the EU. Its claims summarization workload needs more tokens per minute than the Standard quota in its chosen region allows, and the workload runs during business hours with variable volume.

A Data Zone Standard deployment in an EU region processes data only within the EU data zone, while drawing on capacity across the zone's regions, and its per-token billing suits variable volume. If more capacity is needed, a second Data Zone Standard deployment in another EU region behind a gateway adds it.

Global Standard would offer the most capacity but may process data outside the EU. A Regional Provisioned deployment would meet residency but bills for reserved capacity around the clock, which suits steady rather than variable load. Managed compute would add infrastructure costs for a model already available as a serverless deployment.

Check yourself

Data must be processed within the European Union, but the team wants more capacity than a single region provides. Which deployment type fits?

Show answer

DataZoneStandard. It processes requests in any region within the data zone, giving more capacity than Standard while keeping processing in the zone, unlike GlobalStandard.

Exam Tips

Remember for the exam

  • Applications call deployment names, so the model behind a name can change.
  • Serverless deployments are preferred; managed compute hosts models with no serverless option, billed per hour.
  • Global, Data Zone and Standard types decide the processing location; Batch is cheaper with 24-hour turnaround.
  • Exceeding TPM or RPM quotas returns 429 with retry-after.