Class: Sashiko::Adapters::Anthropic::Price

Inherits:
Data
  • Object
show all
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

Instance Attribute Details

#cache_readObject (readonly)

Returns the value of attribute cache_read

Returns:

  • (Object)

    the current value of cache_read



16
17
18
# File 'lib/sashiko/adapters/anthropic.rb', line 16

def cache_read
  @cache_read
end

#cache_writeObject (readonly)

Returns the value of attribute cache_write

Returns:

  • (Object)

    the current value of cache_write



16
17
18
# File 'lib/sashiko/adapters/anthropic.rb', line 16

def cache_write
  @cache_write
end

#inputObject (readonly)

Returns the value of attribute input

Returns:

  • (Object)

    the current value of input



16
17
18
# File 'lib/sashiko/adapters/anthropic.rb', line 16

def input
  @input
end

#outputObject (readonly)

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



16
17
18
# File 'lib/sashiko/adapters/anthropic.rb', line 16

def output
  @output
end