QuotaCheck.md
May 7, 2026 ยท View on GitHub
Check Quota Availability Before Deployment
Before deploying the Content Generation Solution Accelerator, ensure sufficient quota availability for the required models.
For Global Standard | GPT-5.1 - ensure capacity to at least 150 tokens post-deployment for optimal performance.
For Global Standard | GPT-Image-1-mini - ensure capacity to at least 1 RPM (Requests Per Minute) for image generation.
Login if you have not done so already
az login
๐ Default Models & Capacities:
gpt-5.1:150,gpt-image-1-mini:1
Note: GPT-5.1 capacity is in tokens, GPT-Image-1-mini capacity is in RPM (Requests Per Minute).
๐ Default Regions:
australiaeast, centralus, eastasia, eastus, eastus2, japaneast, northeurope, southeastasia, swedencentral, uksouth, westus, westus3
Usage Scenarios:
- No parameters passed โ Default models and capacities will be checked in default regions.
- Only model(s) provided โ The script will check for those models in the default regions.
- Only region(s) provided โ The script will check default models in the specified regions.
- Both models and regions provided โ The script will check those models in the specified regions.
--verbosepassed โ Enables detailed logging output for debugging and traceability.
Input Formats
Use the --models, --regions, and --verbose options for parameter handling:
โ๏ธ Run without parameters to check default models & regions without verbose logging:
./quota_check_params.sh
โ๏ธ Enable verbose logging:
./quota_check_params.sh --verbose
โ๏ธ Check specific model(s) in default regions:
./quota_check_params.sh --models gpt-5.1:150,gpt-image-1-mini:1
โ๏ธ Check default models in specific region(s):
./quota_check_params.sh --regions eastus,swedencentral
โ๏ธ Passing Both models and regions:
./quota_check_params.sh --models gpt-5.1:150,gpt-image-1-mini:1 --regions eastus,swedencentral
โ๏ธ All parameters combined:
./quota_check_params.sh --models gpt-5.1:150,gpt-image-1-mini:1 --regions eastus,swedencentral --verbose
Sample Output
The final table lists regions with available quota. You can select any of these regions for deployment.

If using Azure Portal and Cloud Shell
-
Navigate to the Azure Portal.
-
Click on Azure Cloud Shell in the top right navigation menu.
-
Run the appropriate command based on your requirement:
To check quota for the deployment
curl -L -o quota_check_params.sh "https://raw.githubusercontent.com/microsoft/content-generation-solution-accelerator/main/infra/scripts/quota_check_params.sh" chmod +x quota_check_params.sh ./quota_check_params.sh- Refer to Input Formats for detailed commands.
If using VS Code or Codespaces
-
Open the terminal in VS Code or Codespaces.
-
If you're using VS Code, click the dropdown on the right side of the terminal window, and select
Git Bash.
-
Navigate to the
infra/scriptsfolder where the script files are located and make the script as executable:cd infra/scripts chmod +x quota_check_params.sh -
Run the appropriate script based on your requirement:
To check quota for the deployment
./quota_check_params.sh- Refer to Input Formats for detailed commands.
-
If you see the error
_bash: az: command not found_, install Azure CLI:curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash az login -
Rerun the script after installing Azure CLI.