Auth modes
Model routes
Generation routes
External generation routes mirror the supported OpenAI-compatible subset under
/external/v1.
The API also registers POST /api/inference as a legacy alias for chat completions.
Request fields
The core normalizer understands standard OpenAI fields and keeps provider-specific pass-through fields incustomParams when possible.
Common fields:
Response headers
Error shape
Native and external routes return OpenAI-style errors:response.output_item.added, interleavable response.function_call_arguments.delta, response.function_call_arguments.done, response.output_item.done, and one terminal response.completed, response.incomplete, or response.failed. Output-item id and continuation call_id are distinct and stable.