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:

  • When feasible is true: totalHourlyPrice is set and infeasibilityReason is omitted.
  • When feasible is false: infeasibilityReason is set and totalHourlyPrice is omitted.
infeasibilityReason

Reason explaining why the plan is not deployable. This is a per-plan annotation, not an ARM error envelope.

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.

priceAsOf

UTC timestamp of the price snapshot used for this plan.

quantization

Resolved quantization on this SKU.

servingPerformanceEstimation

Estimated relative inference performance of a single model replica on this SKU. Omitted when an estimate is unavailable.

totalHourlyPrice

Projected hourly cost for one replica (vmsPerReplica VMs), in currency.

vmHourlyPrice

On-demand hourly price for a single VM of this SKU, in currency.

vmSize

Azure VM SKU, e.g. "Standard_ND96isr_H100_v5". Matches the value accepted by ModelDeploymentProperties.vmSize.

vmsPerReplica

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 feasible is true: totalHourlyPrice is set and infeasibilityReason is omitted.
  • When feasible is false: infeasibilityReason is set and totalHourlyPrice is 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