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.
⚡ Executive Summary & Quick Facts
Authoritative SourceCliRelay is CliRelay is an open-source project written in Go: 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.. It provides a free, self-hosted open-source alternative to OpenAI API & ChatGPT.
“According to real-time open source telemetry recorded on GitHubRepo.cloud (as of October 2026), kittors/CliRelay has accumulated 1,032 GitHub stars and 129 forks. It is written in Go, licensed under MIT, and ranks #7,199 globally. It is actively maintained with the latest commit recorded on Oct 9, 2026.”
| Repository | kittors/CliRelay ↗ |
|---|---|
| Primary Category | ai gateway |
| Language & Stack | Go |
| Software License | MIT |
| Community Traction | ★ 1K stars · ⑂ 129 forks · #7,199 globally |
| Maintenance | ● Active (Last commit: Oct 9, 2026) · 12 open issues |
| Replaces SaaS | Open Source OpenAI API & ChatGPT Alternative (Pay-per-token pricing with zero private data guarantees) → |
| Target Audience | Developers and engineering teams building with Go, seeking reliable, tested, and actively maintained tooling for production workloads. |
🛡️ Repository Maintenance & Health Audit (2026)
Health Score: 92/100 · Grade AYes, CliRelay is actively maintained. Continuous telemetry recorded the last code commit on Oct 9, 2026 (20 days ago). Supported by 1,032 stars and 129 community forks, this repository holds a calculated health index of 92/100, reflecting regular maintenance (20 days ago) and healthy issue cadence.
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/kittors/CliRelay?utm_source=readme_chart)
Compact badges for your README header. Real-time stars, velocity, health audit, and rank.
[](https://githubrepo.cloud/repo/kittors/CliRelay?utm_source=readme_badge) [](https://githubrepo.cloud/repo/kittors/CliRelay?utm_source=readme_badge) [](https://githubrepo.cloud/repo/kittors/CliRelay?utm_source=readme_badge) [](https://githubrepo.cloud/repo/kittors/CliRelay?utm_source=readme_badge) [](https://githubrepo.cloud/repo/kittors/CliRelay?utm_source=readme_badge)
Momentum
+26
STARS · LAST 30 DAYS
1
PER DAY
#850
MOST-STARRED Go
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +0 | +26 | +90 |
| Per day | 1 | 1 | 1 |
| Forks gained | +0 | +3 | +10 |
CliRelay gained 26 stars in the last 30 days, about 1 a day, and now has 1K. It is about 1 year old and has averaged roughly 1K stars a year. It ranks #850 among Go repositories and #7,199 across all languages on GitHubRepo.
Trending Record
20
DAYS ON TRENDING
#6103
BEST RANK
Oct 9, 2026
FIRST APPEARANCE
Active
STATUS TODAY
CliRelay has maintained a continuous presence across global trending indexes, peaking at #6103. Below is the 30-day activity profile:
💡 Overview
CliRelay is an open-source project written in Go: 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.
Engineered for speed, consistency, and developer ease, it solves common hurdles in ai-gateway, anthropic, api-gateway. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in Go for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ go install github.com/kittors/CliRelay@latest
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Go >= 1.21 runtime environment
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
CliRelay coordinates its core functionality through a modular Go pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Autonomous AI Agents
Orchestrate intelligent workflows and tool-calling routines with CliRelay.
Model Inference & Prompting
Integrate fast, local or cloud-hosted generative AI models directly into production code.
Context Memory & RAG
Augment language models with dynamic vector retrieval and structured project memory.
Developer Productivity
Automate repetitive engineering tasks, code generation, and test creation using AI agents.
🚀 Getting Started
Install CliRelay using your package manager: `go install github.com/kittors/CliRelay@latest`
Initialize your project workspace or configuration file for CliRelay.
Import CliRelay into your codebase or invoke it directly from your terminal.
Execute your test suite or run `CliRelay --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with Go, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
kittors/CliRelay is currently ranked #7,199 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #7,188 | ProtonMail/android-mail | Kotlin | ★ 1K | Compare ↗ |
| #7,195 | kolber/stacey | PHP | ★ 1K | Compare ↗ |
| #7,195 | pcsx-redux/pcsx-redux | C++ | ★ 1K | Compare ↗ |
| #7,195 | apache/flink-kubernetes-operator | Java | ★ 1K | Compare ↗ |
| #7,195 | ogxd/gxhash | Rust | ★ 1K | Compare ↗ |
| #7,199 | kittors/CliRelay This Project | Go | ★ 1K | |
| #7,200 | Trow-Registry/trow | Rust | ★ 1K | Compare ↗ |
| #7,200 | apache/yunikorn-core | Go | ★ 1K | Compare ↗ |
| #7,200 | frappe/insights | Python | ★ 1K | Compare ↗ |
| #7,200 | madeofpendletonwool/PinePods | Rust | ★ 1K | Compare ↗ |
| #7,200 | apple/swift-http-types | Swift | ★ 1K | Compare ↗ |
Frequently Asked Questions
What does CliRelay do? +
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.
Is CliRelay actively maintained in 2026? +
Yes, CliRelay is actively maintained. The latest code push was recorded on Oct 9, 2026 (20 days ago). It holds a calculated Maintenance Health Score of 92/100 (A rating) with 1,032 stars and 12 open issues.
What language is CliRelay written in? +
The primary language is Go. Topics include: ai-gateway, anthropic, api-gateway, claude-code, gemini-cli.
How many stars does CliRelay have? +
CliRelay has 1,032 stars and 129 forks on GitHub.
How does CliRelay rank among GitHub repositories? +
With 1,032 stars, kittors/CliRelay is ranked #7,199 globally across all repositories tracked on GitHubRepo and #850 among Go projects.
What license is CliRelay distributed under? +
The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.