Study FAQ
What workload measurements do I need to estimate Foundry PTUs?
Also asked as 2
- How do request rate and token shape affect the number of Foundry PTUs I need?
- How should I size a Foundry provisioned deployment for a representative workload?
Answer
Measure requests per minute, average prompt and response tokens, the request mix at busy times, and representative cache behavior. Also record long requests and concurrency. A workload that generates long responses can need a different allocation from one that mainly reads long prompts, even if both show similar combined token totals.
Use the sizing method documented for the exact model and version. For models covered by the legacy calculation, apply their output-to-input ratio and cache rules, then divide the normalized tokens per minute by the model's input throughput per PTU. For models with normalized-token accounting, weight each token category directly, including cached input, cache writes, and any context-length tiers. Sum those weighted rates and divide by the model's normalized tokens per minute per PTU, without applying the legacy ratio or subtracting cached input again. Round up to the supported minimum and allocation increment for the selected SKU.
Keep the measured token mix, cache assumptions, and model/version with the estimate. Benchmark expected and peak load on the intended deployment, including a plausible lower-cache scenario if the forecast depends on cache reuse. Check latency and throttling against the application's requirements.
Provisioned throughput for Foundry Models · Determine PTU sizing for a workload
Full explanation
AI-300: Sizing Provisioned Throughput and Checking Capacity
Study guide · AI-300
Read the full explanation