Language

CalculateCostPlan Class

Definition

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.

public class CalculateCostPlan : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerServiceAIManager.Models.CalculateCostPlan>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerServiceAIManager.Models.CalculateCostPlan>
type CalculateCostPlan = class
    interface IJsonModel<CalculateCostPlan>
    interface IPersistableModel<CalculateCostPlan>
Public Class CalculateCostPlan
Implements IJsonModel(Of CalculateCostPlan), IPersistableModel(Of CalculateCostPlan)
Inheritance
CalculateCostPlan
Implements

Properties

Name Description
InfeasibilityReason

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

IsFeasible

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.
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.

PriceAsOfOn

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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CalculateCostPlan>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<CalculateCostPlan>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<CalculateCostPlan>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<CalculateCostPlan>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<CalculateCostPlan>.Write(ModelReaderWriterOptions)

Applies to