Skip to Content

EmbeddingGemma 2

Turn text into vectors with EmbeddingGemma 2, served in the EU, through the OpenAI embeddings API: its model ID, vector sizes, prices and a code example.

Munito AI serves the EmbeddingGemma 2 embedding model in the EU through the OpenAI embeddings API. It turns text into vectors for search, retrieval, classification and clustering.

Use this model ID in the model field of a request:

google/embeddinggemma-2
PropertyValue
Model IDgoogle/embeddinggemma-2
TypeEmbedding
Inputtext
Context8K tokens (8,192)
Dimensions768, or 512, 256 and 128
RegionsEU

APIs

Prices

Prices are in USD for each million input tokens, in the standard tier. An embedding has no output tokens. The global host bills the global price. A regional host or a regional model ID bills the price of its region.

Prices apply from 2026-11-21 08:00:00 UTC.

RegionInput
Global$0.01
EU$0.01

See Pricing for the priority and flex tiers, and for how a request is billed.

Rate limits

Base limits per organization.

Usage tierRequests per minuteInput tokens per minute
Free400300,000
Tier 1750600,000
Tier 21,5001,200,000
Tier 33,0002,400,000
Tier 46,0004,800,000
CustomOn requestOn request

See Rate limits for dynamic limits, headers and retries.

Request custom limits through Support in the console.

Regions

Munito AI serves this model in the EU. The global host, api.munito.ai, sends each request to a region that serves it. To keep the processing in one region, use the host of that region:

RegionHost
EUapi.eu.munito.ai

See Regions for the base URLs and the rules for stored data.

Example

Send one text or an array of texts. The answer has one vector for each text, in the same order.

export MUNITO_API_KEY="munitoai_..."
curl https://api.munito.ai/inference/v1/embeddings \
  -H "Authorization: Bearer $MUNITO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/embeddinggemma-2",
    "input": ["Paris is the capital of France."]
  }'
# pip install openai
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.munito.ai/inference/v1",
    api_key=os.environ["MUNITO_API_KEY"],
)
response = client.embeddings.create(
    model="google/embeddinggemma-2",
    input=["Paris is the capital of France."],
)
print(len(response.data[0].embedding))

A model gives better vectors when the text starts with the prefix of its task. See Embeddings.