class

Arcana::AI::Pricing::ProviderRates

Inherits JSON::Serializable < YAML::Serializable < Reference < Object

Settings that apply to all of a provider's models.

Constructors

new(web_search : BigDecimal | Nil = nil, dated_snapshots : Bool = false)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

dated_snapshots

Price "gpt-4o-mini-2024-07-18" as "gpt-4o-mini" unless the dated ID is listed.

Source
web_search
Source