AI CLI Relay - Unified API for Gemini CLI, Claude Code, OpenAI Codex and more.
CliRelay lets you proxy requests from AI coding tools (Claude Code, Gemini CLI, OpenAI Codex, Amp CLI, etc.) through a single local endpoint. Authenticate once with OAuth, add your API keys — or both — and CliRelay handles the rest.
This is the LazyCat Auto-build version, automatically built from the upstream kittors/CliRelay repository.
- Advanced API Key Management with CRUD operations
- Precision Tracking with latency tracking
- Multi-Provider Support (OpenAI, Gemini, Claude, Codex, Qwen, iFlow, Vertex)
- Load Balancing & Failover
- Redis Data Persistence
- Management Dashboard
After installation, open the LazyCat app entrypoint. The root page serves a static landing page that links to the WebUI hosted behind the api- prefixed route.
Edit the persisted config file at: /lzcapp/var/data/clirelay/config.yaml
Management UI defaults:
- App entrypoint:
/ - Dashboard URL:
https://api-<your-app-domain>/management.html - Initial management key:
change-me-clirelay-admin-key remote-management.secret-keyis stored in/lzcapp/var/data/clirelay/config.yaml
| Port | Description |
|---|---|
| 8317 | Main API port |
- Config:
/lzcapp/var/data/clirelay/config.yaml - Auth cache:
/lzcapp/var/data/clirelay/auths - Logs:
/lzcapp/var/data/clirelay/logs
MIT License - See LICENSE for details.