Creating api key for each user

Hello, I use openai API in my application, so I need to set fees for users. What I want is to create an API key for each user and price them according to usage. Do you think this makes sense?

Hi!

Sure, makes a lot of sense. However, the OpenAI platform is not gonna do that for you. You’ll need a proxy/gateway/relay/monetization server that hands out its own api keys.

1 Like

Yet.

My understanding is more granular key control is on the roadmap.

When, ¯⁠\⁠_⁠(⁠ツ⁠)⁠_⁠/⁠¯

But, supposedly eventually and sooner rather than later.

That said, if you need it now or very soon you’ll be better off using another means to track users and use.

Yup! More granular control like setting limits for each key should be on the roadmap.

See this tweet from @logankilpatrick