ikotun-dev/costrace
Open-source observability for LLM APIs. Track cost, token usage, and latency across OpenAI, Anthropic, and Google Gemini in real time — with zero code changes.
Costrace helps developers using large language models (LLMs) like OpenAI, Anthropic, or Google Gemini to understand their API usage without changing their code. It takes your existing LLM API calls and provides a real-time web dashboard showing costs, token usage, and how quickly responses are received. This tool is for software engineers and development teams building applications powered by LLMs.
Use this if you are developing applications with LLMs and need a straightforward way to monitor your API costs, token consumption, and response times in real-time.
Not ideal if you are looking for a complete LLM operations platform with advanced model evaluation, prompt engineering tools, or complex workflow orchestration.
Stars
7
Forks
1
Language
TypeScript
License
—
Category
Last pushed
Mar 05, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/ikotun-dev/costrace"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
jmuncor/tokentap
Intercept LLM API traffic and visualize token usage in a real-time terminal dashboard. Track...
AgentOps-AI/tokencost
Easy token price estimates for 400+ LLMs. TokenOps.
Merit-Systems/echo
The User Pays AI SDK
Ruthwik000/tokenfirewall
Scalable LLM cost enforcement middleware for Node.js with budget protection and multi-provider support
adarshxs/TokenTally
Estimate Your LLM's Token Toll Across Various Platforms and Configurations