embeddinggemma-300m
LiveEmbeddingGemma is a 300M parameter multilingual open embedding model from Google DeepMind, designed for efficient deployment even on low-resource devices, producing high-quality text vector representations for tasks such as search, classification, clustering, and semantic similarity.
Modality
Embedding
Context window
2K tokens
Region
US
Published
Jul 21, 2026
Pricing
Input
0.11
EGP per 1M tokens
Output
Free
EGP per 1M tokens
Use it via the API
embeddinggemma-300m works with any OpenAI-compatible SDK — point the base URL at https://preprod-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://preprod-backend.sovereigneg.com/v1",
api_key="YOUR_API_KEY",
)
response = client.embeddings.create(
model="embeddinggemma-300m",
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://preprod-backend.sovereigneg.com/v1",
apiKey: "YOUR_API_KEY",
})
const response = await client.embeddings.create({
model: "embeddinggemma-300m",
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://preprod-backend.sovereigneg.com/v1/embeddings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "embeddinggemma-300m",
"input": "The food was delicious and the waiter...",
"encoding_format": "float"
}'Frequently asked questions
How much does embeddinggemma-300m cost?
0.11 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 embeddinggemma-300m?
embeddinggemma-300m supports a context window of 2,048 tokens (2K).
Where is embeddinggemma-300m hosted?
embeddinggemma-300m is served from US (US-hosted inference).
How do I use embeddinggemma-300m via the API?
embeddinggemma-300m is available through the OpenAI-compatible SovereignEG API: point your SDK's base URL at https://preprod-backend.sovereigneg.com/v1 and call /v1/embeddings with model "embeddinggemma-300m" and your API key.