How to set up monthly budget limits for API usage? #115
Answered
by
jasondbranding
0xMag1ci4n
asked this question in
Q&A
-
|
I want to limit how much I spend on AI API calls each month through OpenACP. Is there a built-in way to set budget limits and track usage? |
Beta Was this translation helpful? Give feedback.
Answered by
jasondbranding
Mar 29, 2026
Replies: 1 comment
-
|
OpenACP has built-in usage tracking with monthly budget limits. Configure in {
"usage": {
"enabled": true,
"monthlyBudget": 50,
"warningThreshold": 0.8,
"currency": "USD",
"retentionDays": 90
}
}
OpenACP tracks token counts per session and calculates costs. When you reach 80% of your budget, you'll receive a warning notification. Related: Usage & Budget · Configuration Schema |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
0xMag1ci4n
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OpenACP has built-in usage tracking with monthly budget limits.
Configure in
~/.openacp/config.json:{ "usage": { "enabled": true, "monthlyBudget": 50, "warningThreshold": 0.8, "currency": "USD", "retentionDays": 90 } }enabled: Enable/disable usage tracking (default:true)monthlyBudget: Monthly cost limit (e.g. $50). Not set = no limitwarningThreshold: Warning when reaching % of budget (default:0.8= 80%)currency: Currency unit (default:USD)retentionDays: How long to keep usage data (default: 90 days)OpenACP tracks token counts per session and calculates costs. When you reach 80% of your budget, you'll receive a warning notification.
Related: Usage & Budget…