quotio README

项目的 README,来自 github.com/nguyenphutrong/quotio。合并为一个 markdown 文件:README.md。

Quotio

Quotio menu bar showing AI provider quota usage

Latest Quotio release for macOS Latest Quotio CLI release on npm Requires macOS 14 or later MIT license

Your command center for AI coding quotas, accounts, and local agents.

Quotio helps you see what quota remains, manage provider accounts, operate CLIProxyAPI, and connect your coding agents—from a native macOS app or the terminal.

Install Quotio · macOS app documentation · CLI documentation · GitHub releases

Stay ahead of your AI limits

Quotio puts provider usage and local tooling in one place, so you can spend less time checking dashboards and editing configuration files.

Choose your Quotio

Product Best for Platforms
Quotio for macOS Visual quota monitoring, account management, CLIProxyAPI lifecycle, agent setup, menu bar access, and automatic updates macOS 14 or later
Quotio CLI Fast text or JSON reports, scripting, saved accounts, and a loopback REST API macOS Apple Silicon/Intel and Linux x64

Both products live in this repository and share one goal: make AI coding usage visible and manageable without sending your credentials through a hosted Quotio service.

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].

Quotio for macOS

The native SwiftUI app is the full command center. It combines provider quota, account setup, local proxy controls, agent configuration, notifications, and updates in a desktop app that stays close in the menu bar.

Quotio for macOS dashboard with local proxy status and quota summaries

Read the complete macOS feature guide and screenshot gallery. The macOS guide is also available in Vietnamese, Simplified Chinese, and French.

Quotio CLI

The standalone Rust CLI brings quota checks to your terminal and automation. It supports a broad provider catalog, private saved-account storage, deterministic JSON reports, and an optional loopback REST API. Distributed packages contain native binaries, so npm and Homebrew installs do not require a Rust toolchain.

$ quotio providers
$ quotio usage
$ quotio usage --provider mock --format json

Read the CLI usage, provider, account, and API documentation.

Supported ecosystem

Quotio works with providers and services including Anthropic Claude, OpenAI Codex, Gemini and Vertex AI, GitHub Copilot, Qwen, Kiro, Antigravity, and many more. Provider availability and authentication methods vary between the macOS app and CLI; their product documentation contains the current support matrix.

The macOS app can configure these coding agents to use your local proxy:

Install Quotio

macOS app

brew install --cask nguyenphutrong/tap/quotio

You can also download the signed and notarized DMG from the latest macOS release.

CLI

Install the CLI with Homebrew:

brew install nguyenphutrong/tap/quotio

Or install the same native binaries through npm:

npm install --global quotio

See the CLI release-channel documentation for prerelease channels and supported release targets.

Repository layout

Development

Run local development commands from the repository root:

# Build and run
./scripts/dev cli -- usage
./scripts/dev macos --verify
./scripts/dev ios-sim [SIMULATOR_UDID]
./scripts/dev ios-device [DEVICE_ID]

# Test one product or the whole repository
./scripts/dev test cli
./scripts/dev test macos
./scripts/dev test ios [SIMULATOR_UDID]
./scripts/dev test all [SIMULATOR_UDID]

ios-sim and ios-device use the first compatible iPhone when you omit its ID. Before using ios-device, copy apps/ios/Config/Local.xcconfig.example to apps/ios/Config/Local.xcconfig and set your Apple development team. Run ./scripts/dev --help for the complete command list.

Use v* tags for macOS releases and cli-v* tags for CLI releases. See each product README for build, architecture, security, and release details.

Contributing

Bug reports, feature ideas, documentation improvements, and code contributions are welcome. Use the repository's GitHub issue templates to provide the context needed to investigate your request.

Read the contribution guide before opening a pull request: current development targets master; legacy macOS 0.x fixes, including CLI agent configuration, must start from and target v0.x.

License

Quotio is available under the MIT License.

iPhone companion

The native iOS companion and widgets live in apps/ios. It connects to Quotio hosts over HTTPS on a LAN or private VPN with a read-only device credential. Physical-device, Windows runtime and TestFlight acceptance are still pending; see the iOS README for setup and verification.

quotio (nguyenphutrong/quotio)

正在搜索数据库…

这是什么?Quotio 是一款原生 macOS 菜单栏应用,用于管理 CLIProxyAPI——一个本地代理服务器,可统一多个 AI 提供商账号(Claude、OpenAI Codex、Qwen、Vertex AI、iFlow、Antigravity、Kiro、GitHub Copilot),并支持用量跟踪和自动故障转移。
它本身是编码助手,还是只管理我的 AI 账号?它是一个运行本地代理服务器的管理应用;你真正的编码代理(如 Claude Code 或 OpenCode)指向这个代理,而不是直接调用各个提供商。
怎么安装和设置?通过 Homebrew 安装,或从 Releases 页面下载已签名并公证的 .dmg(也可以在 Xcode 中从源码构建),然后启动代理,通过 OAuth 连接你的提供商账号,并自动配置你的 CLI 代理工具。
运行它需要什么?你需要 macOS 14.0(Sonoma)或更高版本以及网络连接,因为每个提供商账号都要通过 OAuth 认证。
可以通过 Quotio 把 Cursor 或 Trae 当作提供商使用吗?不可以,Cursor 和 Trae 只会被自动检测用于用量监控,不能作为代理提供商使用。
账号达到配额上限时自动故障转移是怎么工作的?Quotio 使用轮询(Round Robin)或填满优先(Fill First)路由策略在已连接的账号之间切换,并把用尽配额的账号冷却一段时间。
Quotio 能自动配置哪些 AI 编码 CLI?它可以一键把 Claude Code、Codex CLI、Amp CLI、OpenCode 和 Factory Droid 指向其本地代理。
不启动代理服务器也能查看配额吗?可以,独立配额模式(Standalone Quota Mode)让你无需运行代理即可查看配额和账号,方便快速查看。
这个应用支持哪些语言?Quotio 的界面支持英语、越南语和简体中文。
大小
94.3 MB
星标
4.9K
时长
11个月
提交 · 90 天