Class: DatadogAPIClient::V2::AiGatewayModelPricingAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/ai_gateway_model_pricing_attributes.rb

Overview

Attributes of a model pricing resource.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



56
57
58
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_pricing_attributes.rb', line 56

def additional_properties
  @additional_properties
end

#authoritative ⇒ Object

True when models.dev pricing is authoritative for this organization and provider.



25
26
27
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_pricing_attributes.rb', line 25

def authoritative
  @authoritative
end

#automatic_pricing ⇒ Object

The published models.dev price. Present only when it is the effective price.



28
29
30
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_pricing_attributes.rb', line 28

def automatic_pricing
  @automatic_pricing
end

#blocks_budgeted_requests ⇒ Object

True when a BLOCK budget covering this model rejects its requests before they reach the provider.



31
32
33
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_pricing_attributes.rb', line 31

def blocks_budgeted_requests
  @blocks_budgeted_requests
end

#cost_multiplier ⇒ Object

Effective provider multiplier applied to every reported rate.



34
35
36
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_pricing_attributes.rb', line 34

def cost_multiplier
  @cost_multiplier
end

#duration_priced ⇒ Object

True when the provider bills this model per minute of audio instead of per token, as with transcription models. The gateway prices only per token, so it can't charge for these models, and a per-token override can't express their rate.



39
40
41
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_pricing_attributes.rb', line 39

def duration_priced
  @duration_priced
end

#effective_source ⇒ Object

Effective source of the model pricing data.



42
43
44
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_pricing_attributes.rb', line 42

def effective_source
  @effective_source
end

#pricing_config ⇒ Object

Pricing configuration for a model.



45
46
47
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_pricing_attributes.rb', line 45

def pricing_config
  @pricing_config
end

#status ⇒ Object

Whether the gateway has a price for the model.



48
49
50
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_pricing_attributes.rb', line 48

def status
  @status
end

#unpriced_description ⇒ Object

Human-readable sentence for unpriced_reason. Omitted when the model is priced or the code has no description yet.



51
52
53
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_pricing_attributes.rb', line 51

def unpriced_description
  @unpriced_description
end

#unpriced_reason ⇒ Object

Stable code explaining why the model has no price, such as automatic_price_absent. Omitted when the model is priced.



54
55
56
# File 'lib/datadog_api_client/v2/models/ai_gateway_model_pricing_attributes.rb', line 54

def unpriced_reason
  @unpriced_reason
end