Sentence Transformers: all-mpnet-base-v2 — AI model

Sentence Transformers: all-mpnet-base-v2 is a AI model from Sentence Transformers, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.

The all-mpnet-base-v2 embedding model encodes sentences and short paragraphs into a 768-dimensional dense vector space, providing high-fidelity semantic embeddings well suited for tasks like information retrieval, clustering, similarity scoring, and...

Specs

VendorSentence Transformers
Typeembedding
Context window8,192 tokens
Pricing$0.01/M in · $0.00/M out
APIembeddings

Code example

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sentence-transformers/all-mpnet-base-v2",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Use via Hormouz

Connect to this model and 450+ others with one API key — stable under heavy load and optimized for Iran.

Get started

Related models