r/DuckDB • u/hayssam-saleh • 8d ago
A LiteLLM callback that writes each request to DuckLake
I wrote a small LiteLLM proxy callback that writes one row per request into DuckLake (Apache-2.0).
It’s a callback for the LiteLLM proxy. Each request lands as one row in a DuckLake table, partitioned by day: model, tokens, spend, latency, status, team and key. Prompts and responses are optional. Any DuckDB can query it.
2
Upvotes