Hi Tamas, reading this post I understood you are trying to make cost attribution easier through BYOK. But can this not be implemented without BYOK also. If I store the total tokens after each prompt along with the userid, we can charge the user based on the token usage.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Is this allowed? (This bring your own key usage) | 14 | 8119 | December 23, 2023 | |
| How to charge my users who're using one API Key? | 8 | 1140 | April 29, 2024 | |
| Is this the solution to BYOK? | 5 | 302 | February 4, 2026 | |
| Billing question for commercial apps | 5 | 3301 | January 13, 2023 | |
| Allowing users to add their own OpenAI API Keys - guidelines/policy? | 6 | 6988 | December 20, 2023 |