openai-client-base 0.12.0

Auto-generated Rust client for the OpenAI API
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# CompletionUsage

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**completion_tokens** | **i32** | Number of tokens in the generated completion. | 
**prompt_tokens** | **i32** | Number of tokens in the prompt. | 
**total_tokens** | **i32** | Total number of tokens used in the request (prompt + completion). | 
**completion_tokens_details** | Option<[**models::CompletionUsageCompletionTokensDetails**]CompletionUsage_completion_tokens_details.md> |  | [optional]
**prompt_tokens_details** | Option<[**models::CompletionUsagePromptTokensDetails**]CompletionUsage_prompt_tokens_details.md> |  | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)