diff --git a/docs/quota_check.md b/docs/quota_check.md index a505fb1..1c8c2a0 100644 --- a/docs/quota_check.md +++ b/docs/quota_check.md @@ -11,7 +11,7 @@ az login ## 📌 Default Models & Capacities: These match the `modelDeploymentList` in the Bicep parameters: ``` -gpt-4.1-mini:40:GlobalStandard, text-embedding-3-large:40:Standard +gpt-5-mini:40:GlobalStandard, text-embedding-3-large:40:Standard ``` ## 📌 Default Regions: @@ -43,7 +43,7 @@ The accelerator also deploys a **Microsoft Fabric F8** capacity. Pass `--check-f ``` ✔️ Check specific model(s) in default regions: ```sh - ./quota_check.sh --models gpt-4.1-mini:40:GlobalStandard,text-embedding-3-large:40:Standard + ./quota_check.sh --models gpt-5-mini:40:GlobalStandard,text-embedding-3-large:40:Standard ``` ✔️ Check default models in specific region(s): ```sh @@ -51,7 +51,7 @@ The accelerator also deploys a **Microsoft Fabric F8** capacity. Pass `--check-f ``` ✔️ All parameters combined: ```sh - ./quota_check.sh --models gpt-4.1-mini:40 --regions eastus,westus --verbose + ./quota_check.sh --models gpt-5-mini:40 --regions eastus,westus --verbose ``` ✔️ Also check Fabric capacity availability: ```sh @@ -67,7 +67,7 @@ The accelerator also deploys a **Microsoft Fabric F8** capacity. Pass `--check-f ``` ✔️ Check specific model(s): ```powershell - .\quota_check.ps1 -Models "gpt-4.1-mini:40:GlobalStandard,text-embedding-3-large:40:Standard" + .\quota_check.ps1 -Models "gpt-5-mini:40:GlobalStandard,text-embedding-3-large:40:Standard" ``` ✔️ Check specific region(s): ```powershell @@ -75,7 +75,7 @@ The accelerator also deploys a **Microsoft Fabric F8** capacity. Pass `--check-f ``` ✔️ All parameters combined: ```powershell - .\quota_check.ps1 -Models "gpt-4.1-mini:40" -Regions "eastus,westus" -CheckFabric -Verbose + .\quota_check.ps1 -Models "gpt-5-mini:40" -Regions "eastus,westus" -CheckFabric -Verbose ``` ## **Sample Output** @@ -86,7 +86,7 @@ The final table lists regions with available quota. You can select any of these ║ QUOTA CHECK SUMMARY ║ ╚══════════════════════════════════════════════════════════════╝ -Region gpt-4.1-mini text-embedding-3-large Status +Region gpt-5-mini text-embedding-3-large Status ────────────────────────────────────────────────────────────────────────────────────────── eastus ✅ 200/240 (need 40) ✅ 120/200 (need 40) ✅ PASS eastus2 ❌ 10/240 (need 40) ✅ 50/200 (need 40) ❌ FAIL diff --git a/infra/main.bicepparam b/infra/main.bicepparam index 2b66a8b..a8e12b8 100644 --- a/infra/main.bicepparam +++ b/infra/main.bicepparam @@ -141,8 +141,8 @@ param modelDeploymentList = [ name: 'chat' model: { format: 'OpenAI' - name: 'gpt-4.1-mini' - version: '2025-04-14' + name: 'gpt-5-mini' + version: '2025-08-07' } sku: { name: 'GlobalStandard' diff --git a/scripts/quota_check.ps1 b/scripts/quota_check.ps1 index 209f1bf..563850a 100644 --- a/scripts/quota_check.ps1 +++ b/scripts/quota_check.ps1 @@ -7,13 +7,13 @@ candidate region for the models required by this accelerator. Default models (from infra/main.bicepparam): - gpt-4.1-mini GlobalStandard 40K TPM + gpt-5-mini GlobalStandard 40K TPM text-embedding-3-large Standard 40K TPM .PARAMETER Models Comma-separated model list. Format: name:capacity[:sku] When sku is omitted it defaults to GlobalStandard. - Example: "gpt-4.1-mini:40:GlobalStandard,text-embedding-3-large:40:Standard" + Example: "gpt-5-mini:40:GlobalStandard,text-embedding-3-large:40:Standard" .PARAMETER Regions Comma-separated Azure region list. @@ -28,7 +28,7 @@ .EXAMPLE .\quota_check.ps1 .EXAMPLE - .\quota_check.ps1 -Models "gpt-4.1-mini:40" -Regions "eastus,westus" + .\quota_check.ps1 -Models "gpt-5-mini:40" -Regions "eastus,westus" .EXAMPLE .\quota_check.ps1 -CheckFabric -Verbose #> @@ -43,7 +43,7 @@ param( $ErrorActionPreference = 'Stop' # ---- Defaults ---- -$DefaultModels = 'gpt-4.1-mini:40:GlobalStandard,text-embedding-3-large:40:Standard' +$DefaultModels = 'gpt-5-mini:40:GlobalStandard,text-embedding-3-large:40:Standard' $DefaultRegions = 'eastus,eastus2,swedencentral,uksouth,westus,westus2,southcentralus,canadacentral,australiaeast,japaneast,norwayeast' # ---- Resolve inputs ---- @@ -141,7 +141,7 @@ foreach ($region in $regionList) { $usage = $quotaInfo | Where-Object { $_.name.value -eq $quotaKey } - # Azure quota keys for gpt-4.1 family omit the first hyphen (gpt4.1-mini not gpt-4.1-mini) + # Azure quota keys for gpt-5 family omit the first hyphen (gpt5-mini not gpt-5-mini) if (-not $usage -and $m.Name -match '^gpt-') { $altName = $m.Name -replace '^gpt-', 'gpt' $altKey = "OpenAI.$($m.Sku).$altName" diff --git a/scripts/quota_check.sh b/scripts/quota_check.sh index 53b6885..54d1a6b 100644 --- a/scripts/quota_check.sh +++ b/scripts/quota_check.sh @@ -10,7 +10,7 @@ # for JSON parsing instead of python3 or jq. # # Default models (from infra/main.bicepparam): -# gpt-4.1-mini:40 (GlobalStandard), text-embedding-3-large:40 (Standard) +# gpt-5-mini:40 (GlobalStandard), text-embedding-3-large:40 (Standard) # # Default regions: # eastus, eastus2, swedencentral, uksouth, westus, westus2, @@ -19,16 +19,16 @@ # Usage: # ./quota_check.sh # ./quota_check.sh --verbose -# ./quota_check.sh --models gpt-4.1-mini:40,text-embedding-3-large:40 +# ./quota_check.sh --models gpt-5-mini:40,text-embedding-3-large:40 # ./quota_check.sh --regions eastus,westus2 -# ./quota_check.sh --models gpt-4.1-mini:40 --regions eastus,westus --verbose +# ./quota_check.sh --models gpt-5-mini:40 --regions eastus,westus --verbose # ./quota_check.sh --check-fabric # ============================================================================= set -euo pipefail # ---- Defaults ---- -DEFAULT_MODELS="gpt-4.1-mini:40:GlobalStandard,text-embedding-3-large:40:Standard" +DEFAULT_MODELS="gpt-5-mini:40:GlobalStandard,text-embedding-3-large:40:Standard" DEFAULT_REGIONS="eastus,eastus2,swedencentral,uksouth,westus,westus2,southcentralus,canadacentral,australiaeast,japaneast,norwayeast" VERBOSE=false CHECK_FABRIC=false @@ -69,7 +69,7 @@ while [[ $# -gt 0 ]]; do echo "" echo "Examples:" echo " $0" - echo " $0 --models gpt-4.1-mini:40,text-embedding-3-large:40 --regions eastus,westus" + echo " $0 --models gpt-5-mini:40,text-embedding-3-large:40 --regions eastus,westus" echo " $0 --check-fabric --verbose" exit 0 ;; @@ -167,7 +167,7 @@ for m in "${MODELS[@]}"; do MODEL_CAPS+=("$mcap") MODEL_SKUS+=("$msku") MODEL_PRIMARY_KEYS+=("OpenAI.${msku}.${mname}") - # Azure quota keys for gpt-4.1 family omit the first hyphen (gpt4.1-mini not gpt-4.1-mini) + # Azure quota keys for gpt-5 family omit the first hyphen (gpt5-mini not gpt-5-mini) if [[ "$mname" == gpt-* ]]; then alt_mname="${mname/gpt-/gpt}" MODEL_ALT_KEYS+=("OpenAI.${msku}.${alt_mname}")