Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Nomic AI - Open weights - verified

Nomic Embed Text v2 MoE embeddings

Nomic Embed Text v2 MoE is a current embedding model from Nomic AI, with open weights on Hugging Face at nomic-ai/nomic-embed-text-v2-moe. It returns 768-dimension vectors by default and accepts up to 512 input tokens, for text input. There is no API price: the weights download from Hugging Face under Apache 2.0, and you pay for the compute you run them on.

CurrentModel id: nomic-ai/nomic-embed-text-v2-moe- weights: nomic-ai/nomic-embed-text-v2-moe

Default dims
768
Max input
512 tok
Price / 1M
Self-hosted
Inputs
Text

Dimensions

Flexible output size
  • 768default
  • 256

Default output: 768 dimensions.

Listed sizes: 768 and 256.

Nomic AI documents shorter output vectors for this model (Matryoshka-style), so you can store smaller embeddings by asking for fewer dimensions instead of re-embedding with another model.

Pricing

No API price: the weights are on Hugging Face and you run them on your own hardware or host.

Open weights

License
Apache 2.0apache-2.0
Commercial use
Commercial use allowedCommercial use is allowed, per the license.
Parameters
475M (475,292,928)

Worth knowing

Mixture of Experts model (8 experts, top-2 routing, 305M of 475M parameters active) that requires the `search_query: ` and `search_document: ` prefixes and trust_remote_code=True.

Released . Multilingual: yes.

Usage

Copied verbatim from the page linked below. Placeholders such as project ids and API keys are the source's own.

Python
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("nomic-ai/nomic-embed-text-v2-moe", trust_remote_code=True)
sentences = ["Hello!", "¡Hola!"]
embeddings = model.encode(sentences, prompt_name="passage")
print(embeddings.shape)
# (2, 768)

similarity = model.similarity(embeddings[0], embeddings[1])
print(similarity)
# tensor([[0.9118]])

Source: huggingface.co/nomic-ai/nomic-embed-text-v2-moe

FAQ

How many dimensions does Nomic Embed Text v2 MoE output?

Default output: 768 dimensions. Listed sizes: 768 and 256. Nomic AI documents shorter output vectors for this model (Matryoshka-style), so you can store smaller embeddings by asking for fewer dimensions instead of re-embedding with another model.

What is the max input length of Nomic Embed Text v2 MoE?

512 tokens per input, per the model card. Longer text has to be chunked before you embed it.

Can I use Nomic Embed Text v2 MoE commercially?

Nomic Embed Text v2 MoE is released under Apache 2.0, and commercial use is allowed. The license text is at https://www.apache.org/licenses/LICENSE-2.0.

What can Nomic Embed Text v2 MoE embed?

Text input, per the provider. It is documented as multilingual.

Sources

Last verified from the pages below.

Other open-weight embedding models

Default dimensions and max input tokens for the other models you can run yourself.

All embedding models - Open-weight embedding models

Newsletter

New models, every week

One email per week. New model releases, embedding and retrieval updates and what they mean for what you build.