News for hackers. Stuff that matters.

shreyas8

Spot on, realtime cost visibility changes behavior more than any hard limit does. On CLI latency with concurrent users,each request spawns its own process so they don't block each other, but yeah, 3-8s per call isn't great at scale. Works fine for a small team doing internal demo/testing, which is all this is meant for. It becomes very noticeable for chat-type functionality though that kind of latency ruins the conversational flow. Anything needing real-time responses or throughput should just use the official APIs directly.
Yup, it likely is — I state this out in the README disclaimer. Built it before Anthropic's Feb 2026 policy update, discovered the TOS issue while prepping to open-source.

Published it anyway since the per-key cost controls and usage tracking work just as well in front of official API keys. The CLI-subscription bit was the original motivation but not the only way to run it.

Show HN: Bridge your Claude/OpenAI subs into a team API with per-key cost caps

https://github.com/Shreyas-Dayal/ai-cli-bridge

Hey HN, I built this because I wanted to give my team access to Claude and GPT models for internal testing, but the official APIs have no per-key spending controls. You can't cap a key at $5/day or 100 requests/month — it's all or nothing. With non-technical team members in the mix (designers, PMs, QA), one forgotten loop or oversized prompt away from an ugly bill wasn't a risk I wanted to...

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