25

LLMCap – A proxy that hard-stops LLM API calls when you hit a dollar cap

I've got a local one you can to do this for free with through openrouter

Even has a GUI.

$ uvx capit serve

https://github.com/day50-dev/limit-model-spending

* Free to use

* Everything is stored local.

* Anthropic skills are included for easily extending it to additional tools or providers.

Please ask for features or file bugs. Thanks!

Btw, I'm terrible at marketing even when I'm giving stuff away.

4 days agokristopolous

Proxying == Logging suspicions

guard-sdk does the same locally https://guard-sdk.js.org

4 days agoapvarun

Valid concern. Your provider API key is never stored — it passes through as a header on each request and is discarded immediately. LLMCap only stores token counts and costs per request. No key retention.

3 days agocfaruk

Its basic function is something you could vibe code in a few minutes :-)

Not to mention the whole privacy issue.

4 days agoTepix

I actually laughed, its a security issue, and it requires payment to avoid payment.

4 days agochapz

Fair point on the irony. The 3-day trial is free — most people know within a day whether it prevents a bill that would cost more than $19.

3 days agocfaruk

I wonder much time did the author actually spent vibe coding this. I bet 90% of the time were spent on subscription payment processing.

4 days agoshlewis

I think the fundamental problem with this project is that if I'm on a hard budget, I have a hard time justifying $19–49/month to keep to my budget.

4 days agoHamuko

This will fail product-market fit instantly. Nobody is paying $49/mo for a tiny script they can vibe and run locally.

4 days agonbevans
[deleted]
4 days ago

The pricing is very steep. I can see a market for this as an application with one time purchase but as a subscription?

4 days agowrxd

We self-host LiteLLM which allows to set the budget per day/week, and it's free.

4 days agokgeist

LiteLLM is a great option if you're comfortable running infrastructure. LLMCap is for teams who want enforcement without self-hosting or maintenance overhead.

3 days agocfaruk

Openrouter offers per API-key spending limits.

4 days agoflanked-evergl

Came here to say this. And you get access to lots of models!

4 days agogrugdev42
[deleted]
4 days ago

> The Service is provided "as is." We are not liable for downtime, data loss, or errors in token counting or cost calculation.

lmao

4 days agonubg

LiteLLM already provides this feature, no need of another proxy

4 days agosubhajeet2107

i did try litellm hosted locally for privacy.

it was so bugged, the mcp page broke its postgres, many openai compatible type generic providers but not knowing what works. discovered logging was truncated by default, too late. my fault for that last one.

moved off it after the trivy incident.

4 days agolukewarm707

bifrost

4 days agotenox

Is this a joke project?

4 days agoself_awareness

[flagged]

4 days agocfaruk

[dead]

4 days agoOzzie-D

[flagged]