Stackness
Sign up
l

llm-spend-guard

Node.js tool to enforce real-time token budgets and spending limits for LLM API calls.

0 members list llm-spend-guard, unchanged over the last 12 weeks, data as of 11 November 2026

Usage on Stackness
0membersunchanged over the last 12 weeks

Members who list llm-spend-guard in their Stack, by week.

Members who list llm-spend-guard

010Aug 26Nov 11
Source: Stackness stacks, week of Nov 11, 2026

Be the first to add llm-spend-guard

Nobody on Stackness runs llm-spend-guard yet. Add it to your stack and you're the first member running it.

Sign up and add it

About llm-spend-guard

llm-spend-guard is a Node.js tool for enforcing real-time token budgets and spending limits on large language model API calls. It supports OpenAI, Anthropic Claude, and Google Gemini, allowing developers to prevent runaway costs by blocking requests before they reach the API if they would exceed set budgets. The tool offers multi-level budget enforcement at global, per-user, per-session, and per-route scopes, and includes features like intelligent prompt truncation to fit within remaining budget constraints rather than simply rejecting oversized requests.

The tool is developed by Ali Raza and released under the MIT License. It is written in TypeScript and designed as a lightweight library that wraps existing SDK clients with minimal setup required. The project includes support for Redis storage and middleware for Express and Next.js frameworks, positioning it as production-ready for Node.js applications that need cost management for LLM API usage.

Developer
Ali-Raza-Arain
GitHub
Language
TypeScript
GitHub
Latest release
2.0.6, 4 April 2026
GitHub
GitHub stars
3
GitHub
Repository since
March 2026
GitHub

Checked 20 November 2026.

Nobody on Stackness runs llm-spend-guard yet.

Sign up and add it