zyycn/codex-proxy-rs

基于 Rust 的低风控、高性能、自托管多账号透明代理网关

What it solves

Codex Proxy RS acts as a self-hosted gateway for managing multiple AI accounts. It allows users to centralize account management, organize accounts into groups, and track usage statistics, solving the complexity of handling multiple API keys and service limits manually.

How it works

Once deployed using Docker, the service acts as a middleman between your applications and AI providers. You add your AI accounts to the dashboard, create client keys with specific access permissions (or group-based access), and point your AI clients to the proxy's URL. It supports standard protocols including OpenAI Responses, Chat Completions, and Anthropic Messages.

Who it’s for

This tool is designed for users who manage multiple AI service accounts and need a unified, self-hosted interface to distribute usage, monitor consumption, and simplify integration across various AI clients and CLI tools.

Highlights

  • Supports multiple protocols: OpenAI Responses, Chat Completions, and Anthropic Messages.
  • Centralized management dashboard for account grouping, proxy settings, and usage tracking.
  • Flexible access control via client-specific API keys.
  • Easy deployment via Docker Compose with automated setup scripts.
  • Extensible architecture supporting custom plugins.

Related

  • Project
  • Project
  • Project
  • Project
  • Project