Arcana::AI::Pricing::Line
Inherits JSON::Serializable < Struct < Value < Object
One priced part of a call.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
amount
Sourceitem
"input", "cache_read", "cache_write", "cache_write_1h", "image_input", "output", "image_output", "audio_output" or "web_search", or for a reported cost, what it was for.
quantity
Source