Files
log10py/docs/models/components/completionusage.md
Niklas Nielsen ebd24efca7 Initial commit
2024-05-24 19:20:08 -07:00

12 lines
1.4 KiB
Markdown

# CompletionUsage
Usage statistics for the completion request.
## Fields
| Field | Type | Required | Description |
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
| `completion_tokens` | *int* | :heavy_check_mark: | Number of tokens in the generated completion. |
| `prompt_tokens` | *int* | :heavy_check_mark: | Number of tokens in the prompt. |
| `total_tokens` | *int* | :heavy_check_mark: | Total number of tokens used in the request (prompt + completion). |