

llm-cost-guard
Stop runaway LLM API spend before it happens
什么是 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.
截图
?
还没有评论,来抢沙发吧!
X 上关于 llm-cost-guard 的真实讨论
去 X 发帖


