CliRelay
Self-hosted AI gateway for coding CLIs — one OpenAI/Claude/Gemini/Codex-compatible endpoint, with a multi-tenant web console, request logs, and spend quotas.
What is CliRelay?
CliRelay is a free and open-source self-hosted ai & llm tools. It's written mainly in Go and released under the MIT license. The project has 1.1K stars on GitHub and 136 forks, and its last commit landed 5 days ago. Our maintenance health score is 84/100 (thriving).
How to self-host CliRelay
- 1. Get a server. A $5/month VPS or any always-on machine at home works for most single-user setups.
- 2. Install it. Follow the install guide in the repository.
- 3. Add HTTPS. Put it behind Caddy, Traefik or Nginx Proxy Manager.
- 4. Back up. Schedule backups of its data volume and database — self-hosting means you own recovery too.
CliRelay FAQ
Is CliRelay free?
Yes. CliRelay is open-source (MIT), so you can download, self-host and modify it for free. You only pay for the server you run it on.
How do I self-host CliRelay?
Follow the installation guide in the project's repository. Put it behind a reverse proxy such as Caddy, Traefik or Nginx Proxy Manager for HTTPS, and back up its data volume regularly.
Is CliRelay still maintained?
CliRelay's last commit was 5 days ago and its latest release (v0.6.5) shipped 5 days ago. Its health score is 84/100, which we rate as “Thriving”.
What are the best alternatives to CliRelay?
Popular alternatives to CliRelay include GPT Load (★ 7.2K), New API (★ 52.3K), Ollama (★ 187.9K), Octopus (★ 2.8K), Open-WebUI (★ 159.3K). Compare them side by side on this page.
CliRelay alternatives
All ai & llm tools →Self-hosted AI gateway for multi-channel, multi-credential setups — API keys and subscription accounts, scheduling, failover, request logs…
★ 7.2KGoMITThrivingOpen-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routing, access control, usage…
★ 52.3KGoAGPL-3.0ThrivingGet up and running with Llama 3.3, DeepSeek-R1, Phi-4, Gemma 3, and other large language models.
★ 187.9KGoMITThrivingUser-friendly AI Interface, supports Ollama, OpenAI API.
★ 159.3KSvelteBSD-3-ClauseThriving🕷️ The fastest open-source AI Gateway and LLM Gateway — one binary with built-in console to route, secure, budget and observe every LLM…
★ 429RustApache-2.0ActiveAI gateway written in Go with a unified OpenAI-compatible API for multiple LLM providers, USD cost tracking, budgets, usage analytics…
★ 1.3KGoMITThrivingLocal UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
★ 80KPythonApache-2.0ThrivingOpen-source LLM gateway in Rust. One endpoint for OpenAI, Anthropic, Gemini and every other vendor. Any SDK, any model, any tool.
★ 995RustApache-2.0Thriving