#76 · Primary category: AI Gateway & API Infrastructure
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.
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
OmniRoute
Open-source AI gateway: one endpoint, 290+ providers (90+ free), 500+ models, auto-fallback, token compression, MCP/A2A, works with Claude Code, Codex, Cursor, Cline, Copilot.
CLIProxyAPI
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 3.1 Pro, GPT 5.6 Series, Grok 4.5, Claude model through API
kong
🦍 The API and AI Gateway
novu
The open-source communication infrastructure for agents and products
GPT_API_free
Free API for large models, supports GPT, DeepSeek, etc., 10k free points daily, paid plans at 10-20% of official price.