Skip to content
项目

关于

无需再来回切换 AI 账号。Quotio 是一款原生 macOS 菜单栏应用,可整合 Claude、Gemini、OpenAI、Qwen 和 Antigravity 订阅,实时跟踪配额,并为 Claude Code、OpenCode 和 Droid 等 AI 编程工具智能自动切换故障服务。

开发工具

这些数字如何统计

实测星标增长

24小时
-2
7天
-1
15天
+6
1个月
+12

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.zh.md

原文

Quotio

Quotio Banner

Platform macOS Language Swift License MIT English Vietnamese French

macOS 上 AI 编程助手的终极控制中心。

Quotio 是一款原生 macOS 应用,用于管理 CLIProxyAPI ——为你的 AI 编程代理提供动力的本地代理服务器。它帮助你在一个地方管理多个 AI 账号、跟踪配额并配置 CLI 工具。

🌟 Sponsors

Standard Sponsors

Proxy-Seller logo Proxy-Seller gives you reliable proxy infrastructure for any workflow: private residential, mobile (4G/5G/LTE), ISP, and datacenter IPv4/IPv6 proxies, all with HTTP(S) and SOCKS5 support. Tap into 47M+ residential IPs across 220+ locations, target exactly the country, city, or ISP you need, and count on 99.7% uptime backed by 24/7 support. Quotio users get 15% off with promo code QUOTIO.
Explore Proxy-Seller →

Interested in sponsoring Quotio? Contact [email protected].

✨ 功能特性

  • 🔌 多提供商支持:通过 OAuth 或 API Key 连接 Claude、OpenAI Codex、Qwen、Vertex AI、iFlow、Antigravity、Kiro、Trae 和 GitHub Copilot 账号。
  • 📊 独立配额模式:无需运行代理服务器即可查看配额和账号,适合快速检查。
  • 🚀 一键 Agent 配置:自动检测并配置 Claude Code、OpenCode 等 AI 编程工具。
  • 📈 实时仪表盘:实时监控请求流量、token 使用量和成功率。
  • 📉 智能配额管理:按账号可视化配额追踪,并支持自动故障转移策略(轮询 / 先满)。
  • 🔑 API Key 管理:为本地代理生成并管理 API Key。
  • 🖥️ 菜单栏集成:在菜单栏快速查看服务器状态、配额概览和自定义提供商图标。
  • 🔔 通知提醒:当配额不足、账号冷却或服务异常时推送提醒。
  • 🔄 自动更新:内置 Sparkle 更新器,平滑升级。
  • 🌍 多语言支持:英文、越南语和简体中文。

🤖 支持的生态

AI 提供商

提供商 认证方式
Anthropic Claude OAuth
OpenAI Codex OAuth
Qwen Code OAuth
Vertex AI Service Account JSON
iFlow OAuth
Antigravity OAuth
Kiro OAuth
GitHub Copilot OAuth(监控模式下支持 GitHub.com 或数据驻留的 GHE.com 主机)

IDE 配额追踪(仅监控)

IDE 说明
Cursor 安装并登录后自动检测
Trae 安装并登录后自动检测

注意:这些 IDE 仅用于配额使用监控,不能作为代理的提供商。

兼容的 CLI Agent

Quotio 可以自动配置以下工具使用你的集中式代理:

  • Claude Code
  • Codex CLI
  • Amp CLI
  • OpenCode
  • Factory Droid

🚀 安装

系统要求

  • macOS 14.0(Sonoma)或更高版本
  • OAuth 认证需要互联网连接

Homebrew(推荐)

brew tap nguyenphutrong/tap
brew install --cask quotio

下载

从 Releases 页面下载最新的 .dmg。

官方发布包使用 Developer ID 签名并经过 Apple 公证,无需绕过 Gatekeeper。

从源码构建

  1. 克隆仓库:

    git clone https://github.com/nguyenphutrong/quotio.git
    cd quotio/apps/macos
    
  2. 在 Xcode 中打开:

    open Quotio.xcodeproj
    
  3. 构建并运行:

    • 选择 “Quotio” scheme
    • 按下 Cmd + R 构建并运行

应用首次启动时会自动下载 CLIProxyAPI 二进制文件。

📖 使用方法

1. 启动服务器

打开 Quotio,在仪表盘点击 Start 初始化本地代理服务器。

2. 连接账号

进入 Providers 标签页 → 点击一个提供商 → 通过 OAuth 认证或导入凭据。

3. 配置 Agent

进入 Agents 标签页 → 选择已安装的 Agent → 点击 Configure → 选择自动或手动模式。

4. 监控使用情况

  • Dashboard:整体健康状态与流量
  • Quota:按账号查看使用情况
  • Logs:用于调试的原始请求/响应日志

⚙️ 设置

  • 端口:更改代理监听端口
  • 路由策略:轮询(Round Robin)或先满(Fill First)
  • 自动启动:Quotio 打开时自动启动代理
  • 通知:开关各类提醒

📸 截图

仪表盘

Dashboard

提供商

Providers

Agent 配置

Agent Setup

配额监控

Quota Monitoring

API 密钥

API Keys

设置

Settings

菜单栏

Menu Bar

🤝 贡献

  1. Fork 本项目
  2. 创建功能分支(git checkout -b feature/amazing-feature)
  3. 提交修改(git commit -m 'Add amazing feature')
  4. 推送到分支(git push origin feature/amazing-feature)
  5. 创建 Pull Request

💖 贡献者

没有你们,我们无法做到这一切。感谢!🙏

📄 许可证

MIT License。详见 LICENSE。

探索相关项目

加载中…