I built Costrace because I was tired of checking three different dashboards to understand my LLM spend.
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.