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

**URL:** <https://forum.devtalk.com/t/vector-search-with-javascript-generate-embeddings-needs-paid-openai-account/215349>\
**Category:** PragProg Customers\
**Tags:** book-vector-search-with-javascript, question\
**Created:** [19 September 2025 10:00 UTC](https://forum.devtalk.com/t/vector-search-with-javascript-generate-embeddings-needs-paid-openai-account/215349 "2025-09-19T10:00:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hummusonrails](https://forum.devtalk.com/user_avatar/forum.devtalk.com/hummusonrails/32/7536_2.png) [@hummusonrails](https://forum.devtalk.com/u/hummusonrails)\
**Post date:** [21 September 2025 02:27 UTC](https://forum.devtalk.com/t/vector-search-with-javascript-generate-embeddings-needs-paid-openai-account/215349/2 "2025-09-21T02:27:37Z")

</div>

Hi Markus,

Yes, OpenAI does have a pricing model. You can learn about their pricing model on t[heir pricing page](https://openai.com/api/pricing/).

There are certainly good open source alternatives. To start take a look at the trending board of [open source models on HuggingFace](https://huggingface.co/models?library=transformers,sentence-transformers&sort=trending) as a good reference point to begin your exploration. One particular model you can take a look at [nomic-embed-text](https://ollama.com/library/nomic-embed-text) from ollama, but I encourage you to explore all the open source options and find what works best for your needs.

All the best,

Ben

---

_[View the full topic](https://forum.devtalk.com/t/vector-search-with-javascript-generate-embeddings-needs-paid-openai-account/215349)._
