llmtee
llmtee is a lightweight LLM proxy that logs every LLM call with tokens, cost, latency, and time to first token. Users point their provider base URL at it; it passes traffic through chunk by chunk and records usage to an SQLite (or optionally Postgres) database, as a single ~25 MB container binary with ~40 MB memory footprint and ~0.2 ms added latency.
What it addresses
Existing options for logging LLM calls require running Postgres, ClickHouse and Redis, or using an SDK; the submitter needed a simple way to log LLM calls across agents.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
llmtee
llmtee is a lightweight LLM proxy that logs every LLM call with tokens, cost, latency, and time to first token. Users point their provider base URL at it; it passes traffic through chunk by chunk and records usage to an SQLite (or optionally Postgres) database, as a single ~25 MB container binary with ~40 MB memory footprint and ~0.2 ms added latency.
Problem: Existing options for logging LLM calls require running Postgres, ClickHouse and Redis, or using an SDK; the submitter needed a simple way to log LLM calls across agents.
Posted by @garritfra · Original source ↗
Story title · @garritfra · · Source ↗
Show HN: Log every LLM call with tokens, cost, latency, and time to first token
Submitted URL · @garritfra · · Source ↗
https://github.com/garritfra/llmtee
Source text · @garritfra · · Source ↗
Llmtee is a lightweight llm proxy. I built this project because I needed a simple way to log llm calls across my agents.
Source text · @garritfra · · Source ↗
Existing options require running Postgres, ClickHouse and Redis, or have me use an SDK. llmtree is just a single binary. You point your provider base url to llmtee, it will pass the traffic through chunk by chunk and log the usage to an SQLite database (or optionally Postgres).
Source text · @garritfra · · Source ↗
The container image is ~25 MB. Memory footprint is around ~40 MB and added latency is ~0.2 ms.