mirror of
https://github.com/LukeHagar/log10py.git
synced 2025-12-06 12:37:50 +00:00
12 lines
1.4 KiB
Markdown
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). | |