LLMBrake is an open-source (MIT) TypeScript library that puts a monthly USD budget on each customer of an AI app. It runs in-process with no proxy. Past a threshold it switches to cheaper models, and at the limit it blocks the call before it reaches the provider. Install with npm install llmbrake.