From your question, it's a bit unclear what you're trying to achieve exactly. However, I recently encountered a similar issue.
In my case, I was using the OpenAI API with the text-embedding-3-large
model and kept receiving a 429 status code. After some digging, I realized that OpenAI doesn’t offer any free embedding models — all their embedding APIs require payment.
If you're facing a similar problem, a good alternative is to use the all-MiniLM-L6-v2
model from Hugging Face. It's free and works well for tasks like building a semantic search engine, which is what I was working on.