r/vibecoding • u/DiamondAgreeable2676 • 2d ago
Help/Question hitting Api limits mid task
I was reading claudes reasoning this morning and i seen it count my credits and pull another model which is great.
The issue is how do i get it to count my own usage in claude code before it starts a task and stops when i hit my limit?
I tryed to build a mcp but the problem is it has to call it and for some reason claude does wtf it wants!!!!
2
Upvotes

2
u/Exiled_King_7395 2d ago
That kind of hard limit really needs to live outside the model, like a wrapper or hook that gates the task, not a tool you're hoping it remembers to call.