

llm-cost-guard
Stop runaway LLM API spend before it happens
What is llm-cost-guard?
Wrap your Anthropic, OpenAI, or Gemini client with guard() — it tracks token spend on every request and throws a hard stop before you breach your budget. Unlike billing alerts (delayed, non-blocking), llm-cost-guard sits in your code and kills the request before money is spent. Supports per-user limits, Slack/Discord webhooks, pre-flight cost estimation, Redis storage, and full TypeScript types.
Screenshots
?
No comments yet. Be the first!
Real conversations about llm-cost-guard on X
Post on X


