github / github/app

Model-Specific Spending Limits

未关闭
#2,827 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

Model-Specific Spending Limits

Provide the ability to set separate spending limits for individual models, alongside an overall account budget. For example, an organization could limit Opus to $100/month, Luna to $300/month, while maintaining a total budget cap of $500/month. This would provide better cost control while still allowing access to premium models when needed.

---
| Field | Value |
| --- | --- |
| App version | 1.1.8 |
| OS | Windows 10.0.26100 |
| Theme | Rainglow Codecourse |
| Path | /chat |
| Tenure | Week 9 |

贡献指南

打开贡献指南

调研方向

该 issue 未指定文件、测试或入口点。首先定位现有的 account-budget 和 model-selection 流程,然后确定如何测量使用量以及在哪里强制执行限制。完成后应包括为每个模型设置独立的月度限制,同时保留账户总体上限,并通过测试覆盖这两种限制。

由索引模型根据 Issue 内容生成。

评估

领域
backend, payments
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。