Arcana::AI::Image::Result
Constructors
Instance methods
What this call cost; see Pricing. at is when it was made. The
provider's own figure when it reported one, otherwise its usage at
the table's rates.
In arcana-ai 0.6.0 at gets a default, as for chat and
embeddings, and plain cost means this.
DEPRECATED Use cost(at) (at: when the call was made), a Pricing::Cost or Pricing::Unpriced as for chat and embeddings; it prices OpenAI images too. In arcana-ai 0.6.0 plain #cost returns that.
What the provider said the call cost, when it says so itself (Runware, or a service that prices its own work); nil otherwise.
What the provider said the call cost, when it says so itself (Runware, or a service that prices its own work); nil otherwise.
What the call used, when the provider reports it in tokens
(OpenAI); nil when it didn't. cost prices it.
What the call used, when the provider reports it in tokens
(OpenAI); nil when it didn't. cost prices it.