Saas buy token/credits as the one in open ai

Hi, there fellow bubblers, am actually new to the community and bubble has a whole, pls I need help it settings up a system, like open ai token section, (am using open ai gtp 3 API by the way)

whereby users, when imputing a prompt, the result of that prompt is deducted from their remaining tokens/credits on their dashboard, and the can purchase credits wen there are out of it, I want the bubble logic behind this

I would really appreciate for ur reply thanks :pray:

You can limit your users with words (20,000). You can then deduct the number of words from the result (20,000 -200). You can also count token

A helpful rule of thumb is that one token generally corresponds to ~4 characters of text for common English text. This translates to roughly ¾ of a word (so 100 tokens ~= 75 words)

1 Like

I see you.

1 Like

Following this

1 Like

That is a disturbing image. :grinning:

1 Like

No. This is:

2 Likes

That’s so disturbing :woman_facepalming:t5:

And not a solution :sweat_smile:

Yh, my main question is how can I imply the same on my bubble app, does it require an api, or plugin for this, or just bubbles logic🤔 thanks

Just Bubble logics I hope.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.