Skip to content

EmbeddingGemma 2

Free
google/embeddinggemma-2

Embed · 768 dimensions · Oct 2026 · 1 upstreams

EmbeddingGemma 2 is an open multimodal embedding model built by Google DeepMind which maps text (incl. code), images, video, and audio inputs—and combinations thereof—into a single, unified 768-dimensional vector space. The model has 740M total parameters, combining a 270M parameter text model with modular vision (170M) and audio (300M) encoders. AnyRouter exposes the text path via /embeddings — the OpenAI-compatible body is a text `input`, so the multimodal encoders (text/image/video/audio natively, 8,192-token shared window) are not reachable from this endpoint. Runs on the user's own paired device via Ollama and the AnyRouter relay.

Runs on your device

Free

Run this on your device to serve it, and to share it with the pool and get Go.

See the setup steps

0 online now · 0 shared to the pool

Share your idle device and get Go

Requests your device serves earn no credits.

Add --no-pool to keep it private. Your plan shows on your Credits page.

Pair your own machine

  1. 1
    Install the CLI and log in
    bash
    curl -fsSL https://anyrouter.dev/setup.sh | bash
    anyr login
  2. 2
    Start the relay
    bash
    anyr relay start
More options

--model <id> serves one model and --all serves every detected model, skipping the picker.

anyr login --device signs in on a headless machine.

Send a test request:

bash
curl https://anyrouter.dev/api/v1/embeddings   -H "Authorization: Bearer $ANYROUTER_API_KEY"   -H "Content-Type: application/json"   -d '{"model": "google/embeddinggemma-2", "input": "Why is the sky blue?"}'

Read the local relay docs and the shared pool.

max input
8K
dimensions
768
input / 1M
$0
routes
1

Upstreams

1
  1. 1OllamaRelayFree

Quick start

POST /api/v1/embeddings
curl
curl https://anyrouter.dev/api/v1/embeddings \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/embeddinggemma-2",
    "input": "The quick brown fox jumps over the lazy dog"
  }'

Details

Owner
Google
Kind
Embeddings
Released
Oct 2026
Context
8K
Data policy
Zero retention
Endpoint
/api/v1/embeddings