ZAI LLM reverse proxy and metrics dashboard
All migration items completed: - Workflow templates pushed to declarative-config (May 17) - Documentation updated to point to new repo (ardenone-cluster commit 79b9a9cf8) - Old container directories retired (ardenone-cluster commit 4b4468842) The zai-proxy project now lives at git.ardenone.com/jedarden/zai-proxy with CI/CD workflow templates deployed via ArgoCD. Note: Commit pending push due to Forgejo network connectivity issue. Bead-Id: bf-4a2 |
||
|---|---|---|
| dashboard | ||
| docs | ||
| notes | ||
| proxy | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| DEVELOPMENT.md | ||
| README.md | ||
zai-proxy
LLM reverse proxy and metrics dashboard for the Z.AI API.
Components
proxy/
OpenAI-compatible reverse proxy that fronts the Z.AI API. Features:
- Request/response body parsing and token counting (tiktoken + GLM tokenizers)
- Rate limiting with configurable burst and steady-state limits
- Prometheus metrics export
- Blue/green and canary deployment support
- Translation layer for provider-specific request/response formats
See proxy/README.md for setup and configuration.
dashboard/
Go backend + React frontend for visualizing proxy metrics, token usage, and request history.
- Collects metrics from the proxy's Prometheus endpoint
- Stores aggregated data in SQLite
- Serves a Tailwind/Vite frontend via SSE for live updates
See dashboard docs for deployment and monitoring.
Docs
docs/plan/— architecture decisions and roadmapsdocs/notes/— deployment, operations, monitoring, canary proceduresdocs/research/— tokenizer research, metrics references
Git remotes
- Forgejo (primary):
https://git.ardenone.com/jedarden/zai-proxy.git