Class: LiterLlm::ModelTier
- Inherits:
-
Object
- Object
- LiterLlm::ModelTier
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#cache_creation_input_token_cost ⇒ Float?
Returns the value of attribute cache_creation_input_token_cost.
-
#cache_read_input_token_cost ⇒ Float?
Returns the value of attribute cache_read_input_token_cost.
-
#input_cost_per_audio_token ⇒ Float?
Returns the value of attribute input_cost_per_audio_token.
-
#input_cost_per_token ⇒ Float?
Returns the value of attribute input_cost_per_token.
-
#min_context_tokens ⇒ Integer?
Returns the value of attribute min_context_tokens.
-
#output_cost_per_audio_token ⇒ Float?
Returns the value of attribute output_cost_per_audio_token.
-
#output_cost_per_reasoning_token ⇒ Float?
Returns the value of attribute output_cost_per_reasoning_token.
-
#output_cost_per_token ⇒ Float?
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.
781 |
# File 'sig/types.rbs', line 781
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?
Returns the value of attribute cache_creation_input_token_cost.
776 777 778 |
# File 'sig/types.rbs', line 776 def cache_creation_input_token_cost @cache_creation_input_token_cost end |
#cache_read_input_token_cost ⇒ Float?
Returns the value of attribute cache_read_input_token_cost.
775 776 777 |
# File 'sig/types.rbs', line 775 def cache_read_input_token_cost @cache_read_input_token_cost end |
#input_cost_per_audio_token ⇒ Float?
Returns the value of attribute input_cost_per_audio_token.
777 778 779 |
# File 'sig/types.rbs', line 777 def input_cost_per_audio_token @input_cost_per_audio_token end |
#input_cost_per_token ⇒ Float?
Returns the value of attribute input_cost_per_token.
773 774 775 |
# File 'sig/types.rbs', line 773 def input_cost_per_token @input_cost_per_token end |
#min_context_tokens ⇒ Integer?
Returns the value of attribute min_context_tokens.
772 773 774 |
# File 'sig/types.rbs', line 772 def min_context_tokens @min_context_tokens end |
#output_cost_per_audio_token ⇒ Float?
Returns the value of attribute output_cost_per_audio_token.
778 779 780 |
# File 'sig/types.rbs', line 778 def output_cost_per_audio_token @output_cost_per_audio_token end |
#output_cost_per_reasoning_token ⇒ Float?
Returns the value of attribute output_cost_per_reasoning_token.
779 780 781 |
# File 'sig/types.rbs', line 779 def output_cost_per_reasoning_token @output_cost_per_reasoning_token end |
#output_cost_per_token ⇒ Float?
Returns the value of attribute output_cost_per_token.
774 775 776 |
# File 'sig/types.rbs', line 774 def output_cost_per_token @output_cost_per_token end |