

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 發文


