Skip to main content
POST
Chat completions

Authorizations

X-API-Key
string
header
required

Body

application/json
audio
object
frequency_penalty
object
logit_bias
object | null
logprobs
object
max_completion_tokens
object
max_tokens
object
messages
object[] | null
Example:
metadata
object
modalities
string[] | null
model
string
Example:

"claude-opus-4-5"

models
string[] | null
n
object
parallel_tool_calls
object
prediction
object
presence_penalty
object
provider_configs
object | null
provider_data_collection
string
provider_enforce_distillable_text
boolean | null
provider_ignore
string[] | null
provider_max_completion_price
number | null
provider_max_image_price
number | null
provider_max_prompt_price
number | null
provider_max_request_price
number | null
provider_only
string[] | null
provider_order
string[] | null
provider_quantizations
string[] | null
provider_require_parameters
boolean
provider_sort
string
provider_zdr
boolean | null
reasoning_effort
string
response_format
object
seed
object
service_tier
string
stop
object
store
object
stream
boolean
Example:

false

stream_options
object
temperature
object
tool_choice
object
tools
object[] | null
top_logprobs
object
top_p
object
user
object
web_search_options
object

Response

200 - application/json

OK

choices
object[] | null
created
integer<int64>
id
string
model
string
object
string
service_tier
string
system_fingerprint
string
usage
object