Class: LlmCostTracker::Cost
- Inherits:
-
Data
- Object
- Data
- LlmCostTracker::Cost
- Defined in:
- lib/llm_cost_tracker/cost.rb
Instance Attribute Summary collapse
-
#cache_creation_input_cost ⇒ Object
readonly
Returns the value of attribute cache_creation_input_cost.
-
#cache_read_input_cost ⇒ Object
readonly
Returns the value of attribute cache_read_input_cost.
-
#cached_input_cost ⇒ Object
readonly
Returns the value of attribute cached_input_cost.
-
#currency ⇒ Object
readonly
Returns the value of attribute currency.
-
#input_cost ⇒ Object
readonly
Returns the value of attribute input_cost.
-
#output_cost ⇒ Object
readonly
Returns the value of attribute output_cost.
-
#total_cost ⇒ Object
readonly
Returns the value of attribute total_cost.
Instance Attribute Details
#cache_creation_input_cost ⇒ Object (readonly)
Returns the value of attribute cache_creation_input_cost
4 5 6 |
# File 'lib/llm_cost_tracker/cost.rb', line 4 def cache_creation_input_cost @cache_creation_input_cost end |
#cache_read_input_cost ⇒ Object (readonly)
Returns the value of attribute cache_read_input_cost
4 5 6 |
# File 'lib/llm_cost_tracker/cost.rb', line 4 def cache_read_input_cost @cache_read_input_cost end |
#cached_input_cost ⇒ Object (readonly)
Returns the value of attribute cached_input_cost
4 5 6 |
# File 'lib/llm_cost_tracker/cost.rb', line 4 def cached_input_cost @cached_input_cost end |
#currency ⇒ Object (readonly)
Returns the value of attribute currency
4 5 6 |
# File 'lib/llm_cost_tracker/cost.rb', line 4 def currency @currency end |
#input_cost ⇒ Object (readonly)
Returns the value of attribute input_cost
4 5 6 |
# File 'lib/llm_cost_tracker/cost.rb', line 4 def input_cost @input_cost end |
#output_cost ⇒ Object (readonly)
Returns the value of attribute output_cost
4 5 6 |
# File 'lib/llm_cost_tracker/cost.rb', line 4 def output_cost @output_cost end |
#total_cost ⇒ Object (readonly)
Returns the value of attribute total_cost
4 5 6 |
# File 'lib/llm_cost_tracker/cost.rb', line 4 def total_cost @total_cost end |