Class: LiterLlm::ModelTier
- Inherits:
-
Object
- Object
- LiterLlm::ModelTier
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#cache_creation_input_token_cost ⇒ Float?
readonly
Returns the value of attribute cache_creation_input_token_cost.
-
#cache_read_input_token_cost ⇒ Float?
readonly
Returns the value of attribute cache_read_input_token_cost.
-
#input_cost_per_audio_token ⇒ Float?
readonly
Returns the value of attribute input_cost_per_audio_token.
-
#input_cost_per_token ⇒ Float
readonly
Returns the value of attribute input_cost_per_token.
-
#min_context_tokens ⇒ Integer
readonly
Returns the value of attribute min_context_tokens.
-
#output_cost_per_audio_token ⇒ Float?
readonly
Returns the value of attribute output_cost_per_audio_token.
-
#output_cost_per_reasoning_token ⇒ Float?
readonly
Returns the value of attribute output_cost_per_reasoning_token.
-
#output_cost_per_token ⇒ Float
readonly
Returns the value of attribute output_cost_per_token.
Instance Method Summary collapse
-
#initialize ⇒ ModelTier
constructor
A new instance of ModelTier.
Constructor Details
#initialize ⇒ ModelTier
Returns a new instance of ModelTier.
866 |
# File 'sig/types.rbs', line 866
def initialize: (?min_context_tokens: Integer, ?input_cost_per_token: Float, ?output_cost_per_token: Float, ?cache_read_input_token_cost: Float, ?cache_creation_input_token_cost: Float, ?input_cost_per_audio_token: Float, ?output_cost_per_audio_token: Float, ?output_cost_per_reasoning_token: Float) -> void
|
Instance Attribute Details
#cache_creation_input_token_cost ⇒ Float? (readonly)
Returns the value of attribute cache_creation_input_token_cost.
861 862 863 |
# File 'sig/types.rbs', line 861 def cache_creation_input_token_cost @cache_creation_input_token_cost end |
#cache_read_input_token_cost ⇒ Float? (readonly)
Returns the value of attribute cache_read_input_token_cost.
860 861 862 |
# File 'sig/types.rbs', line 860 def cache_read_input_token_cost @cache_read_input_token_cost end |
#input_cost_per_audio_token ⇒ Float? (readonly)
Returns the value of attribute input_cost_per_audio_token.
862 863 864 |
# File 'sig/types.rbs', line 862 def input_cost_per_audio_token @input_cost_per_audio_token end |
#input_cost_per_token ⇒ Float (readonly)
Returns the value of attribute input_cost_per_token.
858 859 860 |
# File 'sig/types.rbs', line 858 def input_cost_per_token @input_cost_per_token end |
#min_context_tokens ⇒ Integer (readonly)
Returns the value of attribute min_context_tokens.
857 858 859 |
# File 'sig/types.rbs', line 857 def min_context_tokens @min_context_tokens end |
#output_cost_per_audio_token ⇒ Float? (readonly)
Returns the value of attribute output_cost_per_audio_token.
863 864 865 |
# File 'sig/types.rbs', line 863 def output_cost_per_audio_token @output_cost_per_audio_token end |
#output_cost_per_reasoning_token ⇒ Float? (readonly)
Returns the value of attribute output_cost_per_reasoning_token.
864 865 866 |
# File 'sig/types.rbs', line 864 def output_cost_per_reasoning_token @output_cost_per_reasoning_token end |
#output_cost_per_token ⇒ Float (readonly)
Returns the value of attribute output_cost_per_token.
859 860 861 |
# File 'sig/types.rbs', line 859 def output_cost_per_token @output_cost_per_token end |