CreateRerankUsage - Go SDK

CreateRerankUsage type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Usage statistics

Fields

FieldTypeRequiredDescriptionExample
Cost*float64Cost of the request in credits0.001
SearchUnits*int64Number of search units consumed (Cohere billing)1
TotalTokens*int64Total number of tokens used150