all-mpnet-base-v2 - API in Egypt, billed in EGP

Live
SBERT

A sentence transformation model that has been trained on a wide range of datasets, including but not limited to S2ORC, WikiAnwers, PAQ, Stack Exchange, and Yahoo! Answers. Our model can be used for various NLP tasks such as clustering, sentiment analysis, and question answering.

Modality

Embedding

Context window

512 tokens

Region

US

Weights

Open weights

Published

Jul 14, 2026

Pricing

Input

0.33

EGP per 1M tokens

Output

Free

EGP per 1M tokens

Monthly cost example

16.25 EGP

Illustrative estimate: 50M input + 15M output tokens per month at this model's catalog rates.

Use it via the API

all-mpnet-base-v2 works with any OpenAI-compatible SDK — point the base URL at https://backend.sovereigneg.com/v1 and use your SovereignEG API key.

Run inference

OpenAI-compatible — POST /v1/embeddings — drop-in for any OpenAI SDK.

from openai import OpenAI

client = OpenAI(
    base_url="https://backend.sovereigneg.com/v1",
    api_key="YOUR_API_KEY",
)

response = client.embeddings.create(
    model="all-mpnet-base-v2",
    input="The food was delicious and the waiter...",
    encoding_format="float",
)

vector = response.data[0].embedding
print(f"dim={len(vector)}, first 8 dims: {vector[:8]}")

Frequently asked questions

How much does all-mpnet-base-v2 cost?

0.33 EGP per 1M input tokens; Output tokens are free. Billing is metered per token in Egyptian pounds (EGP), with no minimum commitment.

What is the context window of all-mpnet-base-v2?

all-mpnet-base-v2 supports a context window of 512 tokens (512).

Where is all-mpnet-base-v2 hosted?

all-mpnet-base-v2 is served from US (US-hosted inference).

Is all-mpnet-base-v2 an open-weights model?

Yes — all-mpnet-base-v2 is an open-weights model. You call it through the SovereignEG API like any other catalog model, with per-token EGP billing.

How do I use all-mpnet-base-v2 via the API?

all-mpnet-base-v2 is available through the OpenAI-compatible SovereignEG API: point your SDK's base URL at https://backend.sovereigneg.com/v1 and call /v1/embeddings with model "all-mpnet-base-v2" and your API key.