LLM API GatewayOpenAI-compatible Β· Auto Anthropic routing Β· Media proxy
v1
Request/api/v1/chat/completions
JSON Body
Response
Response will appear here…
POST /api/v1/chat/completions
model string β€” required. Auto-detects protocol.
messages array β€” required. OpenAI format.
stream boolean β€” optional. SSE stream.
max_tokens integer β€” default 4096 for Anthropic.
Protocol routing
anthropic β†’ POST /messages (auto-converted)
openai β†’ POST /chat/completions (pass-through)
Auth
Authorization: Bearer <GATEWAY_API_KEY>
Omit if GATEWAY_API_KEY is unset (open mode)