Authorizations
API key for authentication
Body
application/json
An array of message objects with role and content
The model name. If omitted, defaults to openai/gpt-4o-mini.
Example:
"openai/gpt-4o-mini"
Maximum number of tokens to generate
Controls randomness of the output
Controls diversity of the output
Enable Server-Sent Events (SSE) streaming responses
Available tools for function calling
Specifies how tool calling should be handled
For structured responses (some models only)