ChatCompletionObject
idstring
Example:
chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeGobjectstring
Example:
chat.completioncreatednumber
Example:
1741570283modelstring
Example:
Llama-3.2-1B-Instructchoices object[]
Array [
indexnumber
Example:
0message object
rolestring
Example:
assistantcontentstring
Example:
How can I help you today?refusalstring |
finish_reasonstring
Example:
stop]
usage object
prompt_tokensnumber
Example:
36completion_tokensnumber
Example:
8total_tokensnumber
Example:
44prompt_tokens_details object
cached_tokensnumber
Example:
0audio_tokensnumber
Example:
0completion_tokens_details object
reasoning_tokensnumber
Example:
0audio_tokensnumber
Example:
0accepted_prediction_tokensnumber
Example:
0rejected_prediction_tokensnumber
Example:
0service_tierstring
Example:
defaultsystem_fingerprintstring
Example:
fp_fc9f1d7035ChatCompletionObject
{
"id": "chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG",
"object": "chat.completion",
"created": 1741570283,
"model": "Llama-3.2-1B-Instruct",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "How can I help you today?"
},
"refusal": "string",
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 36,
"completion_tokens": 8,
"total_tokens": 44,
"prompt_tokens_details": {
"cached_tokens": 0,
"audio_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 0,
"audio_tokens": 0,
"accepted_prediction_tokens": 0,
"rejected_prediction_tokens": 0
}
},
"service_tier": "default",
"system_fingerprint": "fp_fc9f1d7035"
}