Project
LLM API Gateway
LLM API Gateway is a production OpenAI-compatible proxy that lets a team point coding agents at one controlled endpoint instead of distributing provider keys.
- JSON and SSE streaming compatible with OpenAI clients such as opencode and omp
- Stable model aliases; raw upstream model IDs are rewritten on input and scrubbed from responses and errors
- Per-member API keys, per-key rate limits, and model fallbacks on 429/5xx
- SQLite audit trail for every request: member, model, latency, tokens, cost, and full transcript
- Usage and cost reporting, plus JSONL exports for evaluation and fine-tuning datasets
- Response caching, keepalive pings for long streams, and graceful shutdown that drains open streams
- Containerized with Docker; audit data persisted on a volume and bounded by retention and compressed archives
The gateway is deployed and used in production by the team.