Skip to content

Claude Relay ServiceSelf-hosted Claude API Relay Service

CRS is an open-source relay service that unifies Claude, OpenAI, and Gemini subscriptions into standard APIs, supporting team quota sharing, on-demand cost allocation, and seamless integration with native tools (Claude Code, Codex CLI, Gemini CLI).

Claude Relay Service

✨ Project Features

  • 🔐 Data Security: Self-hosted relay service with all API requests connecting directly to official providers (Claude, OpenAI, Gemini), no intermediaries, ensuring privacy and security
  • 👥 Subscription Sharing: Convert Claude, OpenAI, and Gemini subscriptions into standard API calls, shareable with friends or for cost-splitting arrangements
  • 📊 Usage Statistics: Detailed token consumption and cost analysis for convenient management and expense optimization
  • 🚀 One-Click Deployment: Support for Docker or script-based rapid deployment, cross-platform compatibility, extremely simple setup

🛠️ Supported Clients

  • Claude Code: Official command-line tool
  • Codex CLI: OpenAI official command-line tool
  • Gemini CLI: Gemini command-line tool
  • Cherry Studio: Third-party AI client
  • Third-party Tools: Support for clients compatible with standard APIs from various service providers

🚀 Quick Deployment

bash
curl -fsSL https://pincc.ai/manage.sh -o manage.sh && chmod +x manage.sh && ./manage.sh install

Docker Deployment

Step 1: Download and execute the script to build docker-compose.yml file

bash
curl -fsSL https://pincc.ai/crs-compose.sh -o crs-compose.sh && chmod +x crs-compose.sh && ./crs-compose.sh

Step 2: Start the service

bash
docker-compose up -d

System Requirements

  • 1 CPU core, 1GB RAM, 30GB disk space
  • US region server (recommended)

View Detailed Deployment Guide →

🚗 Carpool Service

No stable payment method? Subscription issues? Deployment too complex? 👉 Consider our carpool services.

  • Claude Code Max 20X: Save 60%+
  • CodeX: Multi-model support, more choices
  • Stable & Reliable: Professional operations and technical guarantee
  • Secure & Controlled: Built with this project, data security guaranteed

Learn More About Carpool Service →

Claude Relay Service - Self-hosted Claude API relay service, secure and efficient