CalculateCostPlan interface
A GPU SKU pricing plan returned by the calculateCost action. Describes the cost of running a single model replica on the specified vmSize. To estimate the cost of running multiple replicas, scale totalHourlyPrice by the desired replica count, bounded by maxAvailableReplicas.
Properties
| feasible | Whether the caller can actually deploy this plan today (region availability, GPU quota, model fit, etc.). This field gates the mutually exclusive properties on this model:
|
| infeasibility |
Reason explaining why the plan is not deployable. This is a per-plan annotation, not an ARM error envelope. |
| max |
Maximum number of replicas the caller's subscription can deploy on this SKU today, computed from the available GPU quota in the target region. |
| price |
UTC timestamp of the price snapshot used for this plan. |
| quantization | Resolved quantization on this SKU. |
| serving |
Estimated relative inference performance of a single model replica on this SKU. Omitted when an estimate is unavailable. |
| total |
Projected hourly cost for one replica ( |
| vm |
On-demand hourly price for a single VM of this SKU, in |
| vm |
Azure VM SKU, e.g. "Standard_ND96isr_H100_v5". Matches the value accepted by |
| vms |
Number of VMs required to host one replica on this SKU. |
Property Details
feasible
Whether the caller can actually deploy this plan today (region availability, GPU quota, model fit, etc.). This field gates the mutually exclusive properties on this model:
- When
feasibleistrue:totalHourlyPriceis set andinfeasibilityReasonis omitted. - When
feasibleisfalse:infeasibilityReasonis set andtotalHourlyPriceis omitted.
feasible: boolean
Property Value
boolean
infeasibilityReason
Reason explaining why the plan is not deployable. This is a per-plan annotation, not an ARM error envelope.
infeasibilityReason?: InfeasibilityReason
Property Value
maxAvailableReplicas
Maximum number of replicas the caller's subscription can deploy on this SKU today, computed from the available GPU quota in the target region.
maxAvailableReplicas: number
Property Value
number
priceAsOf
UTC timestamp of the price snapshot used for this plan.
priceAsOf?: Date
Property Value
Date
quantization
Resolved quantization on this SKU.
quantization?: string
Property Value
string
servingPerformanceEstimation
Estimated relative inference performance of a single model replica on this SKU. Omitted when an estimate is unavailable.
servingPerformanceEstimation?: ServingPerformanceEstimation
Property Value
totalHourlyPrice
Projected hourly cost for one replica (vmsPerReplica VMs), in currency.
totalHourlyPrice?: number
Property Value
number
vmHourlyPrice
On-demand hourly price for a single VM of this SKU, in currency.
vmHourlyPrice: number
Property Value
number
vmSize
Azure VM SKU, e.g. "Standard_ND96isr_H100_v5". Matches the value accepted by ModelDeploymentProperties.vmSize.
vmSize: string
Property Value
string
vmsPerReplica
Number of VMs required to host one replica on this SKU.
vmsPerReplica: number
Property Value
number