Vector Search with JavaScript: generate embeddings needs paid openai account?

Hi,

I have created a free openai account and generated an api key.

When I run the generate embeddings code with the api key, I get the following error:

Error: 429 You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.

Is a paid account needed?

Anyways, what model would you recommend to generate embeddings locally?

Thanks

Markus