2.0.0 (latest) 1.159.0 1.158.0 1.157.0 1.156.0 1.155.0 1.154.0

    CountTokensResponse(
        total_tokens: int,
        total_billable_characters: int,
        _count_tokens_response: typing.Any,
    )

The response from a count_tokens request.
.. attribute:: total_tokens

The total number of tokens counted across all
instances passed to the request.

:type: int

| ## Attribute ||
|---|---|
| **Name** | **Description** |
| `total_billable_characters` | `int` The total number of billable characters counted across all instances from the request. |