OpenAI-compatible chat completion
Unified proxy endpoint compatible with the OpenAI chat completions API.
The model field accepts provider/model (e.g. openai/gpt-4o) or a
plain model name. Set stream: true for server-sent event streaming.
Authentication
AuthorizationBearer
Proxy key issued via POST /v1/keys (prefixed sk-proxy-…)
Request
This endpoint expects an object.
model
Model identifier in “provider/model” or plain “model” format
messages
stream
temperature
max_tokens
Response
Chat completion response (OpenAI-compatible)
id
object
created
model
choices
usage