Estimated USD for one run's usage, or null when the model has no price on file.
Cached input is billed at its own lower rate and is a subset of inputTokens, so the full-rate
portion is the difference — never the sum, which would double-count every cache hit. A usage
record whose cachedInputTokens exceeds inputTokens (a provider reporting quirk) clamps to
zero full-rate tokens rather than crediting the run.
Estimated USD for one run's usage, or
nullwhen the model has no price on file.Cached input is billed at its own lower rate and is a subset of
inputTokens, so the full-rate portion is the difference — never the sum, which would double-count every cache hit. A usage record whosecachedInputTokensexceedsinputTokens(a provider reporting quirk) clamps to zero full-rate tokens rather than crediting the run.