Skip to main content
This is the compact route map for hosted inference. For request examples, start with the quickstart and modality pages.

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 in customParams when possible. Common fields:

Response headers

Error shape

Native and external routes return OpenAI-style errors:
External routes sanitize upstream content-filter messages and redact URLs. Diagnostic provider/model headers remain available when safe.