freshcrate
Skin:/
Home > Infrastructure > cc-relay

cc-relay

⚡️ Blazing fast LLMs API Gateway written in Go

Why this rank:Strong adoptionRelease freshnessHealthy release cadence

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.17## cc-relay 0.0.17 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### Bug Fixes * a10fd4c3363e6997517c3b462ea41a7a8b980529: fix(config): allow empty key on transparent-auth providers (anthropic) (@omarluq) * 95abedeadd78f5d7275f696af623b879942be3c7: fix(config): validate config at load and stabilize timeout/usage tests (@omarluq) * ecc635619aa3733dac5e44ac16236a88be6388af: fix(config): validate config at load time and bound server.timeout_ms tHigh4/27/2026
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
v0.0.15## cc-relay 0.0.15 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### New Features * cdef68c9c9a893714e00d272fcca7caa712bec3a: feat: add minimax as a provider (@omarluq) ### Bug Fixes * 28579e77e379377bd3dda2085f5ed5c7b9ce8228: fix(deps): update github.com/samber/ro/plugins/ratelimit/native digest to 62e0363 (@renovate[bot]) * b48a64f34a309c7d4dceff1cf8eb8222e58b72bf: fix(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.32.8 (@reLow2/20/2026
v0.0.14## cc-relay 0.0.14 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### New Features * b71849213de86effae3008f11e092edb30aad422: feat(providers): add claude-opus-4-6 and GLM-5 to default models (@omarluq) ### Other Changes * ea3fa4d1c4707de61f582d5bf05df7748ae8c83a: chore(deps): update dependency go to 1.26 (@renovate[bot]) * b56ba2d1ae7c2ad645d77d2e5cb16ccac0ff0f1f: docs(example): fix model routing case and Bedrock mapping date consistency (@omLow2/15/2026
v0.0.13## cc-relay 0.0.13 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### Bug Fixes * 4f81c5bb968df7f7b57523c8165008c422116904: fix(deps): update module golang.org/x/net to v0.50.0 (@renovate[bot]) * e4ccb6d6f15058ebb5b73d75a06f4b2a5e6cdc4a: fix(deps): update module golang.org/x/oauth2 to v0.35.0 (@renovate[bot]) * 5aeb7d10d81814c6932eac42663c8074a45e1067: fix(proxy): drop empty assistant messages after thinking filter (@omarluq) * fb4bb9a5f296933Low2/12/2026
v0.0.12## cc-relay 0.0.12 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### New Features * df16c259954737db53e1c416ba5b631470cb4a64: feat(cmd): add version subcommand alias (@omarluq) * 9699f70a6a2efa4823e2c2a990f02e349b61d6e3: feat(di): hot-reload config health and concurrency (@omarluq) * 045bf6d8acddb03a897383f9a3d5f290240cf1fc: feat(proxy): serve models and providers from live state (@omarluq) * c0ecbf0b73f40a8903c63b8e8cb1dc5f5cc65710: feat(rouLow1/31/2026
v0.0.11## cc-relay 0.0.11 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### New Features * 642acd4891200f6dfc99821f48a661633a74f412: feat(cli): add EXAMPLES section to help output (@omarluq) * 31ecf2ae2324630e3b801ddf52afea3674e1cac5: feat(cli): integrate fang for styled CLI output (@omarluq) * 9e27c168fdbf2d0968d3188b543cf68ac33153cd: feat(di): implement hot-reload for routing strategy and provider inputs (@omarluq) * 95477b3959f67da1424aa688a7e095Low1/29/2026
v0.0.10## cc-relay 0.0.10 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### Bug Fixes * 0543eb9b04ce003877d8899e710dd2cd6ba27e83: fix(docs): Add null checks for for dom elements (@omarluq) * 02eb7c94aae1340a24224c98a22b62127a92a999: fix(docs): enable TOML syntax highlighting with inline styles (@omarluq) * 9612b745fd3a9274c248ecb22d6c7330ffaf2d88: fix(landing): add SRI hash for animejs CDN (@omarluq) * 4d831215e4e1efc43da10deae665f45e807f6790: fix(lLow1/26/2026
v0.0.9## cc-relay 0.0.9 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### New Features * 77c6dcbc0ab5772a0685bbb43d6904c2328e504f: feat(landing): enhanced network visualization with 9 providers (@omarluq) * ecc67b08979d7e0240196df1d8d3d45795bc00f3: feat(landing): high-speed network visualization with AnimeJS (@omarluq) * c4caaeceed107340ae5b3a95bd580e533f037b5f: feat(landing): unified i18n landing page for all languages (@omarluq) ### Bug Fixes * cLow1/25/2026
v0.0.8## cc-relay 0.0.8 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### New Features * dff54f04e6eab000cab8d804b26a60894e580b22: feat(proxy): add model-based routing strategy (@omarluq) * 2e3dfc8c72a77c8db873d9577b4e3d3cce20eb99: feat(proxy): add thinking affinity detection module (@omarluq) * 581cb913379d93cf90ee82eebaef6f34c3ea6e3c: feat(proxy): implement model name rewriting for provider compatibility (@omarluq) * cba8967b8a2b38618d51eee0bf454Low1/24/2026
v0.0.7## cc-relay 0.0.7 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### Bug Fixes * e40059a8543ea150f322232ac7bae5b601c1ed92: fix(config): align example.yaml health config with actual implementation (@omarluq) * 88391db8c5d4ac1e4f162c96ff87ed52b8414c55: fix: CoC file name (@omarluq) ### Other Changes * 8428c2eae04bcb2fdb3619efa460a0c1ef136423: chore(04.2-01): remove config.yaml and update doc references (@omarluq) * 84c5161d8a0f3c5aa1c328b8a13184Low1/23/2026
v0.0.6## cc-relay 0.0.6 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### Other Changes * b6f7723c6b6682e62073b86e550dafa82f4e65ab: docs(03): capture phase context (@omarluq) * d86170a134e4f94027d69c8984355ba044d5f69a: docs(03): complete phase 3 routing strategies (@omarluq) * 9c95be4727a61e1ca759e0ec8a51c57e0c509688: docs(03): create phase plan for routing strategies (@omarluq) * 786501c45cadbe2e7737f3c51078ae876c9c018f: docs(03): research routingLow1/23/2026
v0.0.5## cc-relay 0.0.5 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### New Features * 49dfab1b7090d854a622735d0d2f1adfaf170e0c: feat(auth): add mo.Result for Railway-Oriented Programming (@omarluq) * bd2ffb9d292c1a77ad48fd9c3fa00492479492d1: feat(cache): add reactive cache wrapper with ro (@omarluq) * d6cd90e63244c1ef7f252233238c56495a57381c: feat(config): add mo.Option helpers for nullable semantics (@omarluq) * d0348ed8858163803f8c21365e43f83eLow1/23/2026
v0.0.4## cc-relay 0.0.4 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### Bug Fixes * 868918bfc70cd1f0d9040611b2fd3f7f840b6c5d: fix(proxy): limit transparent auth to Anthropic provider only (@omarluq) --- **Full Changelog**: https://github.com/omarluq/cc-relay/compare/v0.0.3...v0.0.4 ### Installation ```bash # Docker (recommended) docker pull ghcr.io/omarluq/cc-relay:0.0.4 docker run -p 8787:8787 -v ~/.config/cc-relay:/config ghcr.io/omarluq/ccLow1/22/2026
v0.0.3## cc-relay 0.0.3 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### Bug Fixes * c8591d65ec6bd3dff0389b75c3e3d5119d8ff6ad: fix: Coverage gha (@omarluq) ### Other Changes * 530f14f846e97fb24d717abae08e5297ccd52ab5: docs(02): capture phase context (@omarluq) * 72d6be1d7ed8354247479b7ac1b1198c7bee5876: docs(02): complete multi-key-pooling phase (@omarluq) * 5c06a4e9433b3f3458a5f5423f70a4b8c794d2d6: docs(02): create phase plan (@omarluq) * dd3fb70Low1/22/2026
v0.0.2## cc-relay 0.0.2 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### New Features * 61a7a5943e98ddde890c5c18942f1041c930e282: feat(cache): add cache interface and configuration (@omarluq) * 4e7e674bfd1d833ffb86dbe25d0e427fe616e111: feat(cache): add factory and config integration (@omarluq) * c9b6c0ccb8d89a9f66eacf4f6322980b711b810c: feat(cache): add logging infrastructure (@omarluq) * 9376da34924127b521a172d08aaf3c6578185ebc: feat(cache): add Low1/22/2026
v0.0.1## cc-relay 0.0.1 Multi-provider proxy for Claude Code with rate limit pooling and automatic failover. ## Changelog ### New Features * f220b0a7c3048774a69ab9d362f01a46195fdd04: feat(api): add /v1/models endpoint for model discovery (omarluq <omar.luqman@hey.com>) * 05c8fa8f0bcbf7eac408e6a27038ad05b2bdfdc5: feat(auth): add OAuth Bearer token authentication support (omarluq <omar.luqman@hey.com>) * 87309af28dff1ef093786c1fe899c996f4033f76: feat(cli): add config cc init command for Claude Code seLow1/21/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.v1.0.0-beta2
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-06-06
claude-code-guideClaude Code Guide - Setup, Commands, workflows, agents, skills & tips-n-tricks go from beginner to power user!main@2026-06-06
awesome-anthropicA curated, daily-updated list of awesome resources, tools, SDKs, papers, and projects for Anthropic & Claude AImain@2026-06-05
.claudeThe Ultimate Claude Code Toolkit — 127 skills, 86 agents, 109 marketplace repos (11,700+ community skills), 30 commands, 8 hooks, GSD framework. Drop-in ~/.claude config that auto-activates the right master@2026-06-03

More in Infrastructure

tensorzeroTensorZero is an open-source LLMOps platform that unifies an LLM gateway, observability, evaluation, optimization, and experimentation.
planoPlano is an AI-native proxy and data plane for agentic apps — with built-in orchestration, safety, observability, and smart LLM routing so you stay focused on your agents core logic.
modelsThis repository contains comprehensive pricing and configuration data for LLMs. It powers cost attribution for 200+ enterprises running 400B+ tokens through Portkey AI Gateway every day.
edgeeOpen-source AI gateway written in Rust, with token compression for Claude Code, Codex... and any other LLM client.