module RubyLLM::Providers::Anthropic::Capabilities

def get_output_price(model_id)

Returns:
  • (Float) - the price per million tokens for output

Parameters:
  • model_id (String) -- the model identifier
def get_output_price(model_id)
  PRICES.dig(model_family(model_id), :output) || default_output_price
end