Creates a model response for the given chat conversation using an OpenAI model.
model
: Currently only the gpt-4.1
, gpt-4.1-mini
, gpt-4.1-nano
, o4-mini
,o3
, o3-mini
, o1
, o1-mini
, o1-preview
, gpt-4o, gpt-4o-mini
and models are supported.n
: Not supported.service_tier
: Not supported.parallel_tool_calls
: Not supported.stream_options
: Not supported.429 Too Many Requests
response.
Please note that the rate limits are subject to change, refer to this documentation for the most up-to-date information.
In case you need a higher rate limit, please contact us at support@langdock.com.
API key as Bearer token. Format "Bearer YOUR_API_KEY"
The region of the API to use.
eu
, us
OK
Represents a chat completion response returned by model, based on the provided input.