Advanced
Reasoning
API endpoint for AI reasoning with chat completions
Authorization
AuthorizationRequiredBearer <token>In: header
Request Body
application/jsonRequiredChat completion parameters
modelRequiredstringID of the model to use
Value in:
"deepseek-r1-70b-online" | "deepseek-r1-online" | "deepseek-r1-70b-fast-online" | "deepseek-r1-fast-online"messagesRequiredarray<object>A list of messages comprising the conversation so far
streambooleanWhether to stream back partial progress
Default:
falseResponse Body
Successful Response
TypeScript Definitions
Use the response body type in TypeScript.
idRequiredstringUnique identifier for the completion
objectRequiredstringObject type, always 'chat.completion'
createdRequiredintegerUnix timestamp of when the completion was created
modelRequiredstringModel used for the completion
choicesRequiredarray<object>Array of completion choices