Arcana::AI::Pricing::Entry
Inherits Arcana::AI::Pricing::Rates < JSON::Serializable < YAML::Serializable < Reference < Object
One model's rates from one provider, over the dates they apply.
Constructors
One model's rates from one provider, over the dates they apply.
new(provider : String, model : String, input = nil, output = nil, cache_read = nil, cache_write = nil, cache_write_1h = nil, image_input = nil, image_output = nil, audio_output = nil, web_search = nil, aliases : Array(String) = [] of String, long : Nil | Arcana::AI::Pricing::LongRates = nil, geo : Hash(String, BigDecimal) = {} of String => BigDecimal, since : Time | Nil = nil, before : Time | Nil = nil)
SourceInstance methods
aliases
Sourcebefore
Sourcelong
Sourcemodel
Sourceprovider
Source