What a call cost, from the AI SDK's usage and your catalog's prices;
null when the model has no price. Input read from or written to the
provider's prompt cache (usage.inputTokenDetails) is priced at the
catalog's cache prices when it has them. Report it through a suite's
ctx.onCost so tests show real cost per answer.
What a call cost, from the AI SDK's usage and your catalog's prices; null when the model has no price. Input read from or written to the provider's prompt cache (
usage.inputTokenDetails) is priced at the catalog's cache prices when it has them. Report it through a suite'sctx.onCostso tests show real cost per answer.