kittors

    kittors/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.

    llm
    ai-gateway
    anthropic
    api-gateway
    claude-code
    gemini-cli
    Go
    MIT
    1.0K stars
    133 forks
    1.0K GitHub watchers
    Updated Nov 1, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 21 days ago, with 103 contributors on GitHub.

    Gained 42% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides a self-hosted unified proxy server that consolidates multiple AI coding CLI tools into a single OpenAI/Claude/Gemini/Codex-compatible API endpoint with management features.
    • Enables centralized multi-tenant API key management, request logging, quota enforcement, and failover across diverse AI providers through a single, extensible gateway.
    • Use for integrating and managing multiple AI coding service subscriptions in a single local endpoint to simplify developer workflows and billing control.
    • Use for teams requiring fine-grained API key permissions, usage monitoring, and quota enforcement with a web-based management panel and terminal UI.
    • Use for operators needing a production-grade proxy with multi-provider load balancing, OAuth support, request analytics, and seamless online updates.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    A unified proxy server for AI CLI tools — use your existing subscriptions with any OpenAI / Gemini / Claude / Codex compatible client.

    ✨ Heavily enhanced fork of the CLIProxyAPI project — rebuilt with a production-grade management layer, web control panel hosting, and a terminal TUI for day-2 operations.

    CliRelay turns AI CLI subscriptions, OAuth credentials, API keys, and compatible upstream services into one managed API layer. It proxies Claude Code, Gemini CLI, OpenAI Codex, Amp CLI, OpenAI-compatible clients, and other AI coding tools through a unified endpoint, then adds routing groups, failover, request logging, quota control, model pricing, image-generation support, API-key self-service, online updates, /manage web hosting, and terminal management workflows around that traffic.

    Excerpt from the kittors/CliRelay README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    133+36

    Open issues

    39+23

    Compared with peers in LLM

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    kittors/CliRelay compared with LLM repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    thedotmack/claude-mem113.6K+8.8K35today
    NVIDIA/auto-ontology7.5K+5.6K37—
    HKUDS/DeepTutor55.5K+5.5K655 days ago
    affaan-m/ECC297.9K+5.2K6335 days ago
    DietrichGebert/ponytail185.3K+5.1K607 days ago
    kittors/CliRelay1.0K—5921 days ago
    Category median113.6K+5.5K60—

    Discover Repositories

    Search across tracked repositories by name or description