inferock-bench: a local proxy that keeps independent per-call receipts for AI API bills

aftahi_ai · x · 2026-08-19

A developer points out the fundamental asymmetry of AI API billing: when your bill looks wrong you can't prove it, because the provider decides what counts as a failure, what gets credited, and keeps the only detailed records — you get a monthly total and a shrug. inferock-bench is the missing receipt: a local proxy sitting between your app and OpenAI/Anthropic/Gemini/OpenRouter. You change two settings (API key and base URL) and point your existing SDK at it — no code rewrite. Every call is then logged as an independent per-call record on your own machine, with keys never leaving your box. It catches what hides inside a monthly total, like responses that died mid-stream yet were still billed.

Original post →

More from coding & agent

coding & agent channel →