LlmRequestUsageAndCost

@Serializable
data class LlmRequestUsageAndCost(val modelName: String, val inputTokens: Long, val outputTokens: Long, val promptCost: Double, val completionCost: Double, val totalCost: Double = promptCost + completionCost)

Constructors

Link copied to clipboard
constructor(modelName: String, inputTokens: Long, outputTokens: Long, promptCost: Double, completionCost: Double, totalCost: Double = promptCost + completionCost)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard