usage

fun usage(block: TokenUsage.Builder.() -> Unit)

construct an aws.sdk.kotlin.services.bedrockruntime.model.TokenUsage inside the given block


The total number of tokens used in the call to Converse. The total includes the tokens input to the model and the tokens generated by the model.