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.
559 |
# File 'sig/types.rbs', line 559
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.
554 555 556 |
# File 'sig/types.rbs', line 554 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.
553 554 555 |
# File 'sig/types.rbs', line 553 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.
555 556 557 |
# File 'sig/types.rbs', line 555 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.
551 552 553 |
# File 'sig/types.rbs', line 551 def input_cost_per_token @input_cost_per_token end |
#min_context_tokens ⇒ Integer (readonly)
Returns the value of attribute min_context_tokens.
550 551 552 |
# File 'sig/types.rbs', line 550 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.
556 557 558 |
# File 'sig/types.rbs', line 556 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.
557 558 559 |
# File 'sig/types.rbs', line 557 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.
552 553 554 |
# File 'sig/types.rbs', line 552 def output_cost_per_token @output_cost_per_token end |