News for hackers. Stuff that matters.

Mkiza

True, OpenRouter covers the basics, but to my understanding you're paying a markup on every token (correct me if I'm wrong) — for high-volume setups that gets painful fast. And if you're calling Anthropic directly (common for compliance or reliability reasons), OpenRouter isn't really an option anyways. That said, if you're already on OpenRouter and the markup doesn't bother you, it probably does the job.

Show HN: Costile – open-source proxy, blocks AI API requests when budget is hit

https://costile.com/

I got a surprise bill. Nothing catastrophic, but enough to make me dig into why — an agent had hit a retry loop and kept calling the API for hours. There's no way to set a hard cap on the Anthropic or OpenAI APIs. You can get an email after the fact, but nothing that actually stops requests mid-flight.So I built a proxy. You swap one environment variable, it routes through Costile instead of...

( Read More... | 3 comments | on HN )