LLM Token Cost Calculator
Yet another token calculator when OpenAI and dozens of others already exist.

One-line LLM cost tracking via monkey-patching; integrates without touching existing code.
AI/ML engineers, startup founders, teams shipping LLM products
Helicone · LangSmith · Anthropic Console
It's an open-source tool that tracks cost, token usage,latency, geographic distribution across OpenAI, Anthropic, and Google Gemini in one place. The SDKs work by monkey-patching the official client libraries, so you don't change any of your existing code — just init and go.
You can self-host the whole thing or use the hosted version at costrace.dev.GitHub: github.com/ikotun-dev/costrace
Happy to answer any questions about the architecture or monkey-patching approach.
Yet another token calculator when OpenAI and dozens of others already exist.
Local budget caps block requests before provider dashboards even update the bill.
Real-time dollar limits on AI agents, monkey-patched into OpenAI/Anthropic SDKs.
Local-first agent observability without cloud signup — LangSmith alternative that keeps data on your machine.
LLM API gateway with 2x credit matching, but model names appear fabricated.
LLM gateway with Redis + Qdrant caching, but LiteLLM does this.