ChatCompletionObject
id string
Example:
chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeGobject string
Example:
chat.completioncreated number
Example:
1741570283model string
Example:
Llama-3.2-1B-Instructchoices object[]
Array [
index number
Example:
0message object
role string
Example:
assistantcontent string
Example:
How can I help you today?refusal string
finish_reason string
Example:
stop]
usage object
prompt_tokens number
Example:
36completion_tokens number
Example:
8total_tokens number
Example:
44prompt_tokens_details object
cached_tokens number
Example:
0audio_tokens number
Example:
0completion_tokens_details object
reasoning_tokens number
Example:
0audio_tokens number
Example:
0accepted_prediction_tokens number
Example:
0rejected_prediction_tokens number
Example:
0service_tier string
Example:
defaultsystem_fingerprint string
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?"
},
"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"
}