Two services, two ports
The gateway is the hot path — every completion goes through it. The
management API is the slow path — you hit it when you’re building
datasets, kicking off training jobs, or reviewing analytics.
Authentication
Out of the box, neither port requires auth. The engine expects you to put it behind your own proxy (Traefik, Caddy, a VPN, a service mesh) before exposing it to the internet. When you configure authentication, both services accept a bearer token:Request format
Every endpoint is JSON-in, JSON-out:OpenTracy-specific response headers
The gateway adds a few headers to every/v1/chat/completions response:
Health
Pages
Chat completions
POST /v1/chat/completions — the OpenAI-compatible entry point.Routing decision
POST /v1/route — ask the router which model it would pick, without generating.Models & health
GET /v1/models, GET /health — discover what’s configured.Distillation
Create jobs, poll status, fetch artifacts over HTTP.
Traces
Search captured traces by model, time range, cost, or metadata.

