Hacker News new | ask | show | jobs
by alexander-g 1146 days ago
When are you actually billed? First, when you create embeddings at the beginning. Second, every time you call the OpenAI chat complete API?
1 comments

Yes, that's correct. Then OpenAI bills you around the end of the month so you have some leeway of credit.

You can use local embeddings, such as sentence transformer models, too, to save on embeddings (and maintain embeddings you can move to another provider with new queries etc)