Class AiPlatformManagedModelUsageFee (0.1.0)

AiPlatformManagedModelUsageFee(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Details about a SKU pricing usage of an AI Platform Managed Model (MaaS) <https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/partner-models/use-partner-models>__.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
tiered_price google.cloud.commerceproducer_v1beta.types.Sku.SkuPrice.TieredPrice
Output only. `Tiered pricing
usage_metric google.cloud.commerceproducer_v1beta.types.Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric
Output only. The usage metric that the SKU applies to.
location google.cloud.commerceproducer_v1beta.types.Sku.SkuPrice.AiPlatformManagedModelEndpointLocation
Output only. The model endpoint location where usage is priced by this SKU. If no location is specified, the SKU applies to usage in all locations.
prediction_mode google.cloud.commerceproducer_v1beta.types.Sku.SkuPrice.AiPlatformManagedModelUsageFee.PredictionMode
Output only. The prediction mode of requests that the SKU applies to.
combined_request_input_tokens_range google.cloud.commerceproducer_v1beta.types.Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange
Output only. The range of aggregated input token values covered by the SKU. Unset if the SKU is not scoped to a particular range. A request is in scope for this SKU if its aggregated input token value falls within the range. The collection of SKUs in effect at any given time scoped to a particular aggregated input token value range will cover all possible values without overlap. Such a collection of SKUs form a "tiered" price structure over the possible value, with each SKU acting as a "tier". NOTE: This is distinct from a SKU with `tiered pricing
provisioned_throughput_overage google.cloud.commerceproducer_v1beta.types.Sku.SkuPrice.AiPlatformManagedModelUsageFee.ProvisionedThroughputOverage
Output only. Set when the SKU is a historical provisioned throughput overage SKU. Starting 2025-08-26 such SKUs have no effect, and usage in excess of provisioned throughput quota is now metered as standard usage. This field is set only in historical SKU timeline entries for overage SKUs belonging to partners that offered provisioned throughput for AI Platform managed model products prior to the unification of standard usage and provisioned throughput overage metering.

Classes

AiPlatformManagedModelUsageMetric

AiPlatformManagedModelUsageMetric(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The usage metric that the SKU applies to.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

CombinedRequestInputTokensRange

CombinedRequestInputTokensRange(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The range of aggregated input token values covered by the SKU.

A request to a managed model has an aggregated input token value determined by the sum of the metric values of the input token metrics.

  • input tokens
  • cache read input tokens
  • cache write input tokens

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

PredictionMode

PredictionMode(value)

The prediction modes of requests that the SKU applies to.

ProvisionedThroughputOverage

ProvisionedThroughputOverage(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Additional details present for historical provisioned throughput "overage" SKUs that applied charges only to usage above the customer's provisioned throughput quota threshold.