有人在 VPS 上跑了 yetone 的 Magpie 网关,Codex 的 Token 加 TRAE、Workbuddy 的免费模型都能接进来,等于自建 OpenRouter。
#Magpie
一个省钱套路:Claude 当主控,简单活路由给免费模型,还帮你 review。作者顺带吐槽了本地部署的坑,几万块硬件真不如订阅 Claude。
The notable shift is that a single npm package can now intercept traffic, allocate requests across accounts and models, and serve tools to every connected agent — turning Magpie from a fixed client into a programmable gateway. Developers building multi-account or multi-model setups can try the three sample plugins or write their own against the community repo. It parallels plugin ecosystems like Obsidian's, but aimed at LLM routing and agent infrastructure.
演示了新版怎么接 Magpie 导入模型,想用 Magpie 路由的话直接配自定义模型就行,配了个视频可以照着做。
yetone 用 3 个 /loop 循环就让 AI 全自动管 issue、PR 和社区,每晚只处理 UI/UX,文中把提示词写法和省钱技巧都拆开了。
教你用 Magpie CLI 查各模型剩余额度,再按紧急程度自动派活给不同 sub agent,额度不够也不怕。
Tool output noise is an overlooked cost driver in agent workflows, and filtering it compounds with cheap-model pricing instead of replacing it. Developers running shell-heavy agents on metered APIs can apply the same RTK layer to cut context bloat without changing models. The 70% figure gives a concrete benchmark for judging whether similar filters pay off in your own stack.
yetone 的 Magpie 更新了,能自动识别 Routing Group,本地给 Agent 做模型路由切换特别顺,搞多模型的可以试试。