by throwaway_ocr · 1y ago · 0 comments
And if this is really a problem, why not funnel your AI agents through a proxy server which they all support instead of this hacky approach? It would be super easy to build a proxy server that keeps track of costs per day/session and just returns errors once you hit a limit.
[1] LiteLLM: https://www.litellm.ai/