Modality
Embedding
Region
US
Published
14 Jul 2026
Pricing
Input
6.06
EGP per 1M tokens
Output
—
EGP per 1M tokens
Monthly cost example
302.94 EGP
Illustrative estimate: 50M input + 15M output tokens per month at this model’s catalog rates.
Use it via the API
text-embedding-ada-002 works with any OpenAI-compatible SDK — point the base URL at https://backend.sovereigneg.com/v1 and use your SovereignEG API key.
Run inference
POST /v1/embeddings — OpenAI-compatible: SovereignEG's own seg-sdk, or a drop-in for any OpenAI SDK.
from seg import SEG # pip install seg-sdk
client = SEG(api_key="YOUR_API_KEY")
response = client.embeddings.create(
model="text-embedding-ada-002",
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]}")from openai import OpenAI
client = OpenAI(
base_url="https://backend.sovereigneg.com/v1",
api_key="YOUR_API_KEY",
)
response = client.embeddings.create(
model="text-embedding-ada-002",
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: "text-embedding-ada-002",
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": "text-embedding-ada-002",
"input": "The food was delicious and the waiter...",
"encoding_format": "float"
}'Frequently asked questions
How much does text-embedding-ada-002 cost?
6.06 EGP per 1M input tokens. Billing is metered per token in Egyptian pounds (EGP), with no minimum commitment.
Where is text-embedding-ada-002 hosted?
text-embedding-ada-002 is served from US (US-hosted inference).
How do I use text-embedding-ada-002 via the API?
text-embedding-ada-002 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 "text-embedding-ada-002" and your API key.