Buying set amount of tokens

I am a high school senior using OpenAI and I wanted to ask if I can purchase a set amount of tokens that I can use later. For example, is it possible for me to pay $20 and then use up to 333,000 tokens (20/0.06 = 333 * 1000 = 333,000) for the Davinci model with my API key? Can there be a special request be made?

1 Like

You can set a hard limit on your usage, so that you can’t go above $20.