#76 · Primary category: AI Gateway & API Infrastructure

CliRelay

ai-gateway anthropic api-gateway claude-code gemini-cli go llm llm-proxy multi-tenant openai openai-codex self-hosted

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.

Project last updated:08/29/26

GitHub Stars

973

Forks

114

Contributors

112

License

MIT

Why we included this project

Anyone juggling several paid AI coding subscriptions knows the chore of keeping separate API keys for Claude Code, Gemini CLI, OpenAI Codex, and the assorted OpenAI-compatible clients. CliRelay sits in front of all of them as one self-hosted endpoint compatible with the OpenAI, Claude, Gemini, and Codex protocols, so every CLI points at a single address instead of a pile of scattered credentials. The multi-tenant web panel is what makes it genuinely useful for teams: you can issue keys to several people, cap spend per tenant, dig through request logs, and set up routing with failover so a throttled or down provider doesn't stall everyone. Because it proxies rather than wraps one vendor, a small team gets one place to enforce model pricing and content moderation and watch costs without touching how their existing CLI tools work. It's for people who manage AI tooling for more than one person and prefer oversight to a single-user convenience script.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category