bge-base-en-v1.5 - API in Egypt, billed in EGP

Live
BAAI

BGE embedding is a general Embedding Model. It is pre-trained using retromae and trained on large-scale pair data using contrastive learning. Note that the goal of pre-training is to reconstruct the text, and the pre-trained model cannot be used for similarity calculation directly, it needs to be fine-tuned

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

bge-base-en-v1.5 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="bge-base-en-v1.5",
    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 bge-base-en-v1.5 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 bge-base-en-v1.5?

bge-base-en-v1.5 supports a context window of 512 tokens (512).

Where is bge-base-en-v1.5 hosted?

bge-base-en-v1.5 is served from US (US-hosted inference).

Is bge-base-en-v1.5 an open-weights model?

Yes — bge-base-en-v1.5 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 bge-base-en-v1.5 via the API?

bge-base-en-v1.5 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 "bge-base-en-v1.5" and your API key.