Class: DatadogAPIClient::V2::AiGatewayModelAutomaticPricing
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AiGatewayModelAutomaticPricing
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ai_gateway_model_automatic_pricing.rb
Overview
The published models.dev price. Present only when it is the effective price.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#last_validated_at ⇒ Object
readonly
Time the price was last revalidated against the source.
-
#mapping ⇒ Object
The reviewed endpoint mapping used to identify a custom provider.
-
#mode_triggers ⇒ Object
Request fields that select each priced mode, such as
speed: fastforanthropicmodels. -
#observed_at ⇒ Object
readonly
Time the price was observed in the source.
-
#rates ⇒ Object
readonly
Published rates.
-
#source ⇒ Object
readonly
The pricing source entry the price was read from.
-
#stale ⇒ Object
readonly
True when the price has not been revalidated recently and is being retained as last-known-good.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_automatic_pricing.rb', line 45 def additional_properties @additional_properties end |
#last_validated_at ⇒ Object
Time the price was last revalidated against the source.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_automatic_pricing.rb', line 25 def last_validated_at @last_validated_at end |
#mapping ⇒ Object
The reviewed endpoint mapping used to identify a custom provider. Omitted when the provider and model identity matched exactly.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_automatic_pricing.rb', line 28 def mapping @mapping end |
#mode_triggers ⇒ Object
Request fields that select each priced mode, such as speed: fast for anthropic models. Omitted when the model has a single mode.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_automatic_pricing.rb', line 31 def mode_triggers @mode_triggers end |
#observed_at ⇒ Object
Time the price was observed in the source.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_automatic_pricing.rb', line 34 def observed_at @observed_at end |
#rates ⇒ Object
Published rates.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_automatic_pricing.rb', line 37 def rates @rates end |
#source ⇒ Object
The pricing source entry the price was read from.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_automatic_pricing.rb', line 40 def source @source end |
#stale ⇒ Object
True when the price has not been revalidated recently and is being retained as last-known-good.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_automatic_pricing.rb', line 43 def stale @stale end |