freshcrate
Home > Infrastructure > cc-relay

cc-relay

โšก๏ธ Blazing fast LLMs API Gateway written in Go

Description

โšก๏ธ Blazing fast LLMs API Gateway written in Go

README

goophers

CC-Relay

Boost Claude Code by routing to multiple Anthropic-compatible providers

WebsiteDocumentationGo ReferenceGo VersionGo Report CardDownloadLicense: AGPL-3.0TestsVersion DeepWikicodecovMaintainedMade with Love

Why?

Claude Code connects to one provider at a time. But what if you want to:

๐Ÿ”‘ Pool rate limits across multiple Anthropic API keys
๐Ÿ’ฐ Save money by routing simple tasks to lighter models
๐Ÿ›ก๏ธ Never get stuck with automatic failover between providers
๐Ÿข Use your company's Bedrock/Azure/Vertex alongside personal API keys
๐Ÿ†• Add Anthropic-compatible providers like MiniMax, Z.AI, Ollama

cc-relay makes all of this possible.

%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#6366f1', 'primaryTextColor': '#fff', 'primaryBorderColor': '#4f46e5', 'lineColor': '#94a3b8', 'secondaryColor': 'transparent', 'tertiaryColor': 'transparent', 'background': 'transparent', 'mainBkg': 'transparent', 'nodeBorder': '#4f46e5', 'clusterBkg': 'transparent', 'clusterBorder': 'transparent', 'titleColor': '#1e293b', 'edgeLabelBackground': 'transparent'}}}%%

flowchart LR
    CC["๐Ÿ‘พ Claude Code"]
    RELAY["โšก CC-Relay"]

    subgraph providers[" "]
        direction TB
        ANT["๐Ÿค– Anthropic"]
        ZAI["๐Ÿค– Z.AI"]
        MINI["๐Ÿค– MiniMax"]
        OLL["๐Ÿฆ™ Ollama"]
        BED["๐Ÿค– AWS Bedrock"]
        AZU["๐Ÿค– Azure Foundry"]
        VTX["๐Ÿค– Vertex AI"]
    end

    CC --> RELAY
    RELAY --> ANT
    RELAY --> ZAI
    RELAY --> MINI
    RELAY --> OLL
    RELAY --> BED
    RELAY --> AZU
    RELAY --> VTX

    style CC fill:#1e1e2e,stroke:#6366f1,stroke-width:2px,color:#fff
    style RELAY fill:#6366f1,stroke:#4f46e5,stroke-width:3px,color:#fff
    style ANT fill:#ff6b35,stroke:#e55a2b,stroke-width:2px,color:#fff
    style ZAI fill:#3b82f6,stroke:#2563eb,stroke-width:2px,color:#fff
    style MINI fill:#06b6d4,stroke:#0891b2,stroke-width:2px,color:#fff
    style OLL fill:#22c55e,stroke:#16a34a,stroke-width:2px,color:#fff
    style BED fill:#f59e0b,stroke:#d97706,stroke-width:2px,color:#fff
    style AZU fill:#0ea5e9,stroke:#0284c7,stroke-width:2px,color:#fff
    style VTX fill:#ef4444,stroke:#dc2626,stroke-width:2px,color:#fff
    style providers fill:transparent,stroke:transparent
Loading

License

AGPL-3.0 - ยฉ 2026 Omar Alani

Contributing

Contributions welcome! Please open an issue before submitting PRs.

SonarCloud Quality Gate

Release History

VersionChangesUrgencyDate
v0.0.16## cc-relay 0.0.16 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### Bug Fixes * a03ad27c824dd4c58ad9a703cd49c6d7848a87bf: fix(deps): update aws-sdk-go-v2 monorepo (@renovate[bot]) * 95207956d454b1fe613997d32e4bccaba89694fd: fix(deps): update aws-sdk-go-v2 monorepo (@renovate[bot]) * 3a8abee2ab41cd6f3d608ee34828b85ac98cdd19: fix(deps): update aws-sdk-go-v2 monorepo (@renovate[bot]) * f2549d5b70db0ad72b9cf4dede2cbcfd734237ea: fix(deps): updateMedium4/1/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

axonhubโšก๏ธ Open-source AI Gateway โ€” Use any SDK to call 100+ LLMs. Built-in failover, load balancing, cost control & end-to-end tracing.v0.9.35
awesome-anthropicA curated, daily-updated list of awesome resources, tools, SDKs, papers, and projects for Anthropic & Claude AImain@2026-04-21
claude-code-proxyMonitor and visualize your Claude Code API interactions with Claude Code Proxy. Easily set up a transparent proxy and live dashboard. ๐Ÿ› ๏ธ๐Ÿš€main@2026-04-21
llmioLLM API load-balancing gateway. LLM API ่ดŸ่ฝฝๅ‡่กก็ฝ‘ๅ…ณ.v0.8.3
claude-code-guideClaude Code Guide - Setup, Commands, workflows, agents, skills & tips-n-tricks go from beginner to power user!main@2026-04-21