Hacker News new | ask | show | jobs
Show HN: Track and bill users' AI token usage through an API (tiktokenizer.dev)
2 points by yelmahallawy 1142 days ago
Nowadays, everyone's building an AI app, but they're not pricing their apps fairly. Each user should be billed separately based on their GPT token usage, and many developers aren't tracking tokens. Instead, they just give a fixed price for their users, which isn't equitable. This is what I built Tiktokenizer to solve, it allows you to use OpenAI's GPT models and track each user's token usage through a single REST API. You could then use this API to get every user's token usage and bill them accordingly.