| Parameter | Type | Description |
|---|
| id | string | A unique identifier for the chat completion |
| choices | array | A list of chat completion choices. Can have multiple choices if n is greater than 1 |
| created | integer | The Unix timestamp (in seconds) of when the chat completion was created |
| model | string | The model used for the chat completion |
| system_fingerprint | string | This fingerprint represents the backend configuration that the model runs with |
| object | string | The object type, always chat.completion |
| usage | object | Usage statistics for the completion request |
| completion_tokens | integer | Number of tokens in the generated completion |
| prompt_tokens | integer | Number of tokens in the prompt |
| total_tokens | integer | Total number of tokens used in the request (prompt + completion) |
{
"id": "chatcmpl-123",
"object": "chat.completion",
"created": 1677652288,
"model": "gpt-3.5-turbo-0613",
"system_fingerprint": "fp_44709d6fcb",
"choices": [{
"index": 0,
"message": {
"role": "assistant",
"content": "\n\nHello there, how may I assist you today?"
},
"finish_reason": "stop"
}],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}
Modified at 2026-01-20 12:26:23