#Use user account for API calls

9 messages · Page 1 of 1 (latest)

shadow beacon
#

Hi, is there an official way to build apps that uses the user openai account instead setting up an billing middleman for api requests? I would like to create apps that only requires users to have an openai account where they pay for their own usage. Currently chatgpt account does not include any API quota which is sad as it requires end-users to have multiple billings and have knowlege about where to setup tokens.

meager peak
#

You should rewrite this.

mild needle
#

End-users typically do not use the API because it's not meant for end-users.

shadow beacon
#

yes, I understand this is the current case. Which I find unfortunate. Right now as an application developer there are essentially two ways to work with openai.

  1. build a chatgpt plugin to expose your app/service/idea to chatgpt users. Users have an account with openai, so as plugin developer you don't need to worry about the inference cost.
  2. use openai API to add functionality in your app/service. As developer you need to consider inference cost, and most likely have your own billing to pass this down to your users.

I think it would be nice to do 2. without having to manage your own billing, just have user login via oauth or similar and have the app/service access openai API on their behalf to remove the burden of billing from developers. I haven't found if there is such option already, that's I ask here.

#

It would create an ecosystem of apps that you can use as long as you have an premium chatgpt account, in the same way plugins is now.

#

like how there used to be an ecosystem of twitter clients

mild needle
#

Your ecosystem will be of your own building.