Class: Sashiko::Adapters::Anthropic::Price
- Inherits:
-
Data
- Object
- Data
- Sashiko::Adapters::Anthropic::Price
- Defined in:
- lib/sashiko/adapters/anthropic.rb
Overview
Immutable per-model pricing (USD per 1M tokens). Data values are frozen and Ractor-shareable by default.
Instance Attribute Summary collapse
-
#cache_read ⇒ Object
readonly
Returns the value of attribute cache_read.
-
#cache_write ⇒ Object
readonly
Returns the value of attribute cache_write.
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Attribute Details
#cache_read ⇒ Object (readonly)
Returns the value of attribute cache_read
16 17 18 |
# File 'lib/sashiko/adapters/anthropic.rb', line 16 def cache_read @cache_read end |
#cache_write ⇒ Object (readonly)
Returns the value of attribute cache_write
16 17 18 |
# File 'lib/sashiko/adapters/anthropic.rb', line 16 def cache_write @cache_write end |
#input ⇒ Object (readonly)
Returns the value of attribute input
16 17 18 |
# File 'lib/sashiko/adapters/anthropic.rb', line 16 def input @input end |
#output ⇒ Object (readonly)
Returns the value of attribute output
16 17 18 |
# File 'lib/sashiko/adapters/anthropic.rb', line 16 def output @output end |