Soju06 / codex-lb

A load balancer that pools multiple ChatGPT accounts with intelligent routing, usage tracking, and OpenAI-compatible endpoints for power users and teams

活跃维护 MIT Python Tracked
2.9k 427 6 小时前
CIDockerPyPI
api-proxy chatgpt codex dashboard fastapi load-balancer oauth openai python rate-limit sqlalchemy usage-tracking opencode multiple-accounts openclaw

星标趋势

数据积累中,暂无足够数据生成趋势图

AI 分析

项目摘要

Codex-lb is a Python-based load balancer and proxy for pooling multiple ChatGPT/Codex accounts with usage tracking, a web dashboard, and OpenAI-compatible endpoints. It distributes API requests across accounts using configurable routing strategies while monitoring token usage and costs.

为什么值得关注

It solves a practical problem for power users and teams with multiple ChatGPT accounts who want to maximize usage limits, track costs, and maintain session locality. With 2,200+ stars, 77 contributors, and 64 releases in 6 months, it has strong community traction and active development.

优势

  • Multiple routing strategies (capacity-weighted, round-robin, fill-first, etc.) for flexible traffic distribution
  • Comprehensive usage tracking with per-account token/cost monitoring and 28-day trends
  • OpenAI-compatible endpoints work seamlessly with Codex CLI, OpenCode, and any OpenAI client
  • Active development with frequent releases, CI/CD, Docker support, and a large contributor base

局限性

  • No examples directory provided, which could slow onboarding for new users
  • Relies on pooling multiple ChatGPT accounts which may violate OpenAI's Terms of Service
  • 46 open issues suggest some ongoing stability or feature gaps

使用场景

  • Developers with multiple ChatGPT Plus/Pro accounts wanting to maximize API usage across all of them
  • Teams pooling AI API access and tracking per-member usage and costs
  • Power users wanting detailed visibility into their AI API consumption patterns
  • Users of Codex CLI or OpenCode wanting automatic failover and load distribution across accounts
目标用户: Developers and power users with multiple ChatGPT/Codex accounts who want to maximize usage, track costs, and distribute API requests across their account pool
学习曲线:
分析模型:LongCat-2.0 | 分析时间:1 个月前