CreateRerankUsage - Python SDK

CreateRerankUsage method reference

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

Usage statistics

Fields

FieldTypeRequiredDescriptionExample
costOptional[float]Cost of the request in credits0.001
search_unitsOptional[int]Number of search units consumed (Cohere billing)1
total_tokensOptional[int]Total number of tokens used150