Back
Denny

Denny

@dennythedev

be yourself, everyone else is taken x.com/dennythedev
1
Joined February 2025

LangFuse would probably offer what you want. I don't recommend using it with flask though. Can't talk about other python frameworks or js because I've never used LangFuse with them

I want to keep track of how much each user is spending and have a better visibility of the user requests to measure performance and problems

You might be able to do that with just the OpenAI dashboard using the approach I mentioned.

Tag each completion call with metadata to include the user ID, then you can search completions in the dashboard to see how many completions they made over whatever time window you care about

Home
Search
Messages
Notifications
More