openai

Chat Completions

Forward chat completion request to GPU worker and adapt response. Uses model-specific prompt formatting (Mistral/Llama) to ensure models follow instructions.

post/v1/chat/completions

Request

  • Base URL
    https://api.oxlo.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.oxlo.ai/v1/chat/completions
  • Auth
    HTTP bearer

Request body

modelstring required
max_tokensinteger nullable
temperaturenumber nullable
top_pnumber nullable
streamboolean nullable
frequency_penaltynumber nullable
presence_penaltynumber nullable
top_kinteger nullable
repeat_penaltynumber nullable
min_pnumber nullable
typical_pnumber nullable
tfs_znumber nullable
mirostat_modeinteger nullable
mirostat_taunumber nullable
mirostat_etanumber nullable
ninteger nullable
seedinteger nullable
userstring nullable
toolsobject[] nullable
stream_optionsobject nullable
response_formatobject nullable
include_reasoningboolean nullable

Whether to include reasoning/thinking content in the response. When false, reasoning_content is omitted from assistant messages. Defaults to true for backward compatibility.

auto_continueboolean nullable

When true (default), if a streamed response is cut off by the output token limit (finish_reason='length'), the backend automatically issues follow-up requests and stitches them into one continuous response. Each continuation is a separate billed upstream request. Set false to receive the truncated response and handle continuation yourself.

max_continuationsinteger nullable

Safety ceiling on auto-continue passes for a single response. Continuation already stops naturally when the model finishes or its context window fills up; this is only a defense-in-depth cap against runaway cost. Defaults to 50. Raise it for very large generation tasks.

Response

Successful Response

idstring required
objectstring
createdinteger required
modelstring required

Changes

No recorded changes to this operation across all 1 revision of this API.