API-KEY AND ID USER - individual analysis

Hi friends, what is the best practice for the chatbot regarding the user ID so that I can identify how much one or the other is consuming? Do I generate an API-KEY for each client manually? Because I don’t want the client to have to access open.ai to generate his key.

Welcome to the community.

You can just do this on your own on the backend. Last I checked, they recommend (require?) having a sign-up option on your site, so you should have user information that you can use to track their usage.

Are you planning a free service or do you want to charge people?