gte-base - API in Egypt, billed in EGP
LiveThe GTE models are trained by Alibaba DAMO Academy. They are mainly based on the BERT framework and currently offer three different sizes of models, including GTE-large, GTE-base, and GTE-small. The GTE models are trained on a large-scale corpus of relevance text pairs, covering a wide range of domains and scenarios. This enables the GTE models to be applied to various downstream tasks of text embeddings, including information retrieval, semantic textual similarity, text reranking, etc.
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
gte-base 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="gte-base",
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]}")import OpenAI from "openai"
const client = new OpenAI({
baseURL: "https://backend.sovereigneg.com/v1",
apiKey: "YOUR_API_KEY",
})
const response = await client.embeddings.create({
model: "gte-base",
input: "The food was delicious and the waiter...",
encoding_format: "float",
})
const vector = response.data[0].embedding
console.log(`dim=${vector.length}, first 8 dims:`, vector.slice(0, 8))curl https://backend.sovereigneg.com/v1/embeddings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gte-base",
"input": "The food was delicious and the waiter...",
"encoding_format": "float"
}'Frequently asked questions
How much does gte-base 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 gte-base?
gte-base supports a context window of 512 tokens (512).
Where is gte-base hosted?
gte-base is served from US (US-hosted inference).
Is gte-base an open-weights model?
Yes — gte-base 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 gte-base via the API?
gte-base 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 "gte-base" and your API key.