Skip to content
中文

Chat Completion Object

Fields

FieldTypeDescription
idstringUnique identifier of the chat completion
choicesarrayList of completion choices returned by the model
createdintegerUnix timestamp in seconds when the completion was created
modelstringModel used to generate the chat completion
objectstringObject type, always chat.completion
usageobjectUsage statistics for the request
completion_tokensintegerNumber of tokens in the generated completion
prompt_tokensintegerNumber of tokens in the prompt
total_tokensintegerTotal tokens used by the request (prompt + completion)