Hacker News new | past | comments | ask | show | jobs | submit login

Is user auth (and tracking token spend) within scope of this or is that better handled at a layer in front of this?



Hi @deet - Yes it is! This automatically stores the cost per query to the Supabase table - here's how: https://github.com/BerriAI/litellm/blob/80d77fed7123af222011...

If you have ideas for improvement - we'd love a ticket/PR!




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: