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

原始链接: https://www.llmcap.io/

When you hit $50, it stops. Not an alert — it stops. One line of code change.No surprise bills. Ever.# Before client = Anthropic(api_key="sk-ant-...") # After — one line change client = Anthropic( api_key="sk-ant-...", base_url="https://proxy.llmcap.io/anthropic" ) # When you hit $50 → 429. Token never consumed.

Hacker Newsnew | past | comments | ask | show | jobs | submitloginLLMCap – A proxy that hard-stops LLM API calls when you hit a dollar cap (llmcap.io)7 points by cfaruk 2 hours ago | hide | past | favorite | 2 comments help Tepix 23 minutes ago | next [–] Its basic function is something you could vibe code in a few minutes :-)Not to mention the whole privacy issue.replywrxd 29 minutes ago | prev | next [–] The pricing is very steep. I can see a market for this as an application with one time purchase but as a subscription?reply Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact Search:
相关文章

原文

When you hit $50, it stops. Not an alert — it stops. One line of code change.

No surprise bills. Ever.

# Before
client = Anthropic(api_key="sk-ant-...")

# After — one line change
client = Anthropic(
    api_key="sk-ant-...",
    base_url="https://proxy.llmcap.io/anthropic"
)
# When you hit $50 → 429. Token never consumed.
联系我们 contact @ memedata.com