InputTokenBreakdown

class InputTokenBreakdown(val total: Int = 0, val noCache: Int = 0, val cacheRead: Int = 0, val cacheWrite: Int = 0)(source)

Since

0.3.0-beta01

Constructors

Link copied to clipboard
constructor(total: Int = 0, noCache: Int = 0, cacheRead: Int = 0, cacheWrite: Int = 0)

Properties

Link copied to clipboard

Tokens read from a provider prompt cache (saves billing).

Link copied to clipboard

Tokens written to a provider prompt cache (first-time cost).

Link copied to clipboard

Tokens that were billed without cache participation.

Link copied to clipboard
val total: Int