ai newsMi., 25. Nov.
EilmeldungAnthropic EFS Beta Meets AWS Trusted Access Launch

I built a local-first CLI proxy to track LLM tokens, latency, and USD cost across providers

When working across multiple side projects and LLM APIs (OpenAI, Anthropic, Gemini, OpenRouter), keeping track of exact token usage and real-time USD cost gets messy fast. Most observability tools require routing your prompts through a hosted third-party SaaS—which is overkill (and a privacy headac

dev.toMittwoch 00:17 · 25.11.1 Min. Lesezeit
Bild: dev.to

When working across multiple side projects and LLM APIs (OpenAI, Anthropic, Gemini, OpenRouter), keeping track of exact token usage and real-time USD cost gets messy fast. Most observability tools require routing your prompts through a hosted third-party SaaS—which is overkill (and a privacy headache) if you just want to know how much your scripts are spending.

So I built llm-ledger ( llm-ledger-cli )—a lightweight, local-first HTTP proxy and Rich CLI dashboard written in Python.

If you use uv, you can spin up the local proxy immediately without installing anything:

Quelle: dev.to (dev.to). Original öffnen