Skip to main content
KiosAPI supports OpenAI’s o1 and o3 reasoning model series through the standard POST /v1/chat/completions endpoint. These models are built for complex, multi-step reasoning tasks, but they come with two key behavioural differences from regular chat models: streaming is not supported, and the system role is not accepted — you must structure your conversation using user and assistant messages only.
Streaming is not supported for o1 and o3 series models. Always set stream: false (or omit it entirely) in your request body, otherwise the request will fail.The system role is not supported. Only user and assistant roles are accepted in the messages array.

Request

POST https://kiosapi.com/v1/chat/completions

Headers

Request Body

string
required
The reasoning model to use. Supported values include o1-mini, o1-preview, o3, and o3-mini.
array
required
An array of message objects forming the conversation. Only user and assistant roles are supported.
number
The maximum number of tokens the model is allowed to generate in its response, including reasoning tokens consumed internally.
boolean
Whether to stream the response. Must be false — streaming is not supported for o1/o3 models.

Example Request

Response

The response follows the standard chat completions shape. The finish_reason will be "stop" when the model has completed its reasoning and produced a final answer.

Response Fields

string
The model’s final text response after completing its internal reasoning process.
string
The reason the model stopped generating. Typically "stop" when a complete response has been produced.
number
Total completion tokens used, which may include tokens consumed during the model’s internal reasoning steps.