Skip to main content
This route always accepts and returns OpenAI Chat Completions. Headers and request-body fields cannot select another caller protocol.

Request

Core fields

Other top-level fields are treated as provider extras. A provider profile either forwards them or reports them as dropped in gateway.adjustments. Supplying both output-limit fields is invalid. Either field maps to canonical max_output_tokens.

Response

finish_reason is one of stop, length, tool_calls, or content_filter when present.

Streaming

Streaming returns Chat Completions SSE chunks, a terminal choice carrying finish_reason, a usage-only chunk with choices: [] and gateway, then data: [DONE]. Usage is always included even if the caller omits stream_options.