budget-guard
by Community
A circuit breaker for your LLM API bill — hard budget caps + per-feature cost attribution for OpenAI & Anthropic.
OSS
budget-guard
Added 1 Oct 2026
Overview
A circuit breaker for LLM API bills that enforces hard budget caps and provides per-feature cost attribution for OpenAI and Anthropic. Built in TypeScript, it sits in the codebase to stop spending before it exceeds limits.
Best for
Best for
Developers who need a lightweight, code-level guardrail against LLM API cost overruns
Use cases
- Set hard monthly budget caps for LLM API usage
- Attribute costs to specific features or internal projects
- Prevent unexpected overspend on OpenAI and Anthropic calls
Notes
A circuit breaker for LLM API bills that enforces hard budget caps and provides per-feature cost attribution for OpenAI and Anthropic. Built in TypeScript, it sits in the codebase to stop spending before it exceeds limits.
3 stars on GitHub. Last updated 2026-09-30. Licensed MIT.
Use cases
- Set hard monthly budget caps for LLM API usage
- Attribute costs to specific features or internal projects
- Prevent unexpected overspend on OpenAI and Anthropic calls
Pros
- Simple, focused circuit breaker design
- Supports both OpenAI and Anthropic
- TypeScript codebase for easy integration
Cons
- Low community traction at 3 stars
- Limited feature set beyond budget capping
- May require self-hosting and maintenance
Indexed from awesome-llmops and enriched against its public facts.
Pros
- Simple, focused circuit breaker design
- Supports both OpenAI and Anthropic
- TypeScript codebase for easy integration
Cons
- Low community traction at 3 stars
- Limited feature set beyond budget capping
- May require self-hosting and maintenance
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
LiteLLM 🚅
Community
Python SDK, Proxy Server (AI Gateway) to call 100+ LLM APIs in OpenAI (or native) format, with cost tracking, guardrails, loadbalancing and logging. [Bedrock, Azure, OpenAI, Vertex
LangChain
Community
The agent engineering platform.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.
