Features
- Added optional usage caps for provider subscription accounts, allowing an account to be held once it reaches a set percentage of its usage window.
- Capped accounts are automatically skipped during routing, fallback, and account switching, so traffic moves to the next available account.
- When all eligible accounts are capped, requests return a 429 rate limit with the soonest reset time and details about the capped accounts.
- The Providers page now shows a cap pill on each account row, with quick presets and a custom option, plus cap markers on usage bars.
- Added CLI command
magpie provider account-cap <id> [account [percent|off]]to view or set caps. - Usage caps do not consume Codex auto-resets; capped accounts with auto reset enabled are held without spending a reset.
Install
Download from usemagpie.ai, or curl -fsSL https://usemagpie.ai/install.sh | sh. An installed magpie updates itself.
- macOS (Apple Silicon):
magpie-darwin-arm64.dmg - macOS (Intel):
magpie-darwin-amd64.dmg - Windows:
magpie-windows-amd64.exe(ARM:magpie-windows-arm64.exe) - Linux:
magpie-linux-amd64/magpie-linux-arm64(needs GTK 3 and WebKitGTK 4.1) - Terminal only:
magpie-cli-<os>-<arch>
功能
- 为提供商订阅账户添加了可选的使用量上限,账户在达到其用量窗口的设定百分比后将被暂停。
- 达到上限的账户会在路由、回退和账户切换期间自动跳过,因此流量会转移到下一个可用账户。
- 当所有符合条件的账户都达到上限时,请求会返回 429 速率限制,并附带最早的重置时间以及达到上限账户的详细信息。
- Providers 页面现在会在每个账户行显示上限胶囊标记,提供快速预设和自定义选项,并在用量条上显示上限标记。
- 新增 CLI 命令
magpie provider account-cap <id> [account [percent|off]],用于查看或设置上限。 - 使用量上限不会消耗 Codex 自动重置;启用了自动重置的达到上限账户会被暂停,而不会消耗重置次数。
安装
从 usemagpie.ai 下载,或运行 curl -fsSL https://usemagpie.ai/install.sh | sh。已安装的 magpie 会自动更新。