OpenAI-shaped endpoint
POST https://api.sed1t.com/v1/chat/completions is the plain model, without Kiwi's own tools and instructions. Kiwi Code uses it.
Use it when you want the model alone and run your own loop. Authentication is the same as for Messages. It takes the usual chat-completions body and passes these fields on: messages, tools, tool_choice, stream, max_tokens, temperature, top_p, top_k, min_p, stop, presence_penalty, frequency_penalty, seed, response_format, parallel_tool_calls, stream_options, reasoning_effort, reasoning_budget_tokens and chat_template_kwargs. Other fields are dropped.
An answer is at most 16384 tokens (8192 when max_tokens is left out), and reasoning_budget_tokens is capped at 32768. The model field is ignored and the response says k1. With stream set you get server-sent chunks in the usual format, with usage in the last one.
curl https://api.sed1t.com/v1/chat/completions \
-H "Authorization: Bearer $KIWI_API_KEY" \
-H "content-type: application/json" \
-d '{"messages": [{"role": "user", "content": "Hello"}], "max_tokens": 256}'