Bedrock token counts: input, output, total and prompt cache reads and writes.
Attributes#
| Attribute | Type | Description |
|---|---|---|
inputTokens | int | |
outputTokens | int | |
totalTokens | int | |
cacheReadInputTokens | NotRequired[int] | |
cacheWriteInputTokens | NotRequired[int] |
On This Page
Attributes