Skip to main content
POST
Chat completions
Fill in your token in the playground to send a real request. Requests are billed like any other call.

Authorizations

Authorization
string
header
required

Body

application/json
model
string
required

Model ID. See the models page.

Example:

"deepseek-v4-flash"

messages
object[]
required
Example:
stream
boolean
default:false

Return server-sent events.

temperature
number
Required range: 0 <= x <= 2
max_tokens
integer
tools
object[]

OpenAI-style function tools.

response_format
object

e.g. {"type": "json_object"}

Response

Completion

id
string
model
string
choices
object[]
usage
object