| | |
|---|
model | string | |
messages | array | |
stream | boolean | |
temperature | 0 to 2 | |
top_p | 0 to 1 | |
max_tokens | integer | |
stop | string | array | |
seed | integer | |
frequency_penalty | -2 to 2 | |
presence_penalty | -2 to 2 | |
tools | array | |
tool_choice | string | object | |
parallel_tool_calls | boolean | |
response_format | object | |
reasoning | object | |
logprobs | boolean | |
top_logprobs | 0 to 20 | |
top_k | integer | |
min_p | 0 to 1 | |
repetition_penalty | 0 to 2 | |
| HTTP | type / code | |
|---|
| 400 | invalid_request_error | |
| 401 | authentication_error | |
| 402 | insufficient_credits | |
| 429 | rate_limit_exceeded | |
| 429 | rate_limit_error | |
| 429 | budget_exceeded | |
| 429 | account_budget_exceeded | |
| 502 | upstream_error | |
| 503 | upstream_error | |