Advanced
Reasoning
API endpoint for AI reasoning with chat completions
Authorization
Authorization
RequiredBearer <token>In: header
Request Body
application/json
RequiredChat completion parameters
model
RequiredstringID of the model to use
Value in:
"deepseek-r1-70b-online" | "deepseek-r1-online" | "deepseek-r1-70b-fast-online" | "deepseek-r1-fast-online"
messages
Requiredarray<object>A list of messages comprising the conversation so far
stream
booleanWhether to stream back partial progress
Default:
false
Response Body
Successful Response
TypeScript Definitions
Use the response body type in TypeScript.
id
RequiredstringUnique identifier for the completion
object
RequiredstringObject type, always 'chat.completion'
created
RequiredintegerUnix timestamp of when the completion was created
model
RequiredstringModel used for the completion
choices
Requiredarray<object>Array of completion choices