Module: LlmCostTracker::Pricing::Explainer
- Defined in:
- lib/llm_cost_tracker/pricing/explainer.rb
Class Method Summary collapse
Class Method Details
.call(provider:, model:, token_usage:, pricing_mode: nil) ⇒ Object
36 37 38 39 40 |
# File 'lib/llm_cost_tracker/pricing/explainer.rb', line 36 def call(provider:, model:, token_usage:, pricing_mode: nil) match = Lookup.call(provider: provider, model: model) explanation(provider, model, pricing_mode, match, token_usage) end |