Providers + pricing
| Capabilities | Provider details | ||||
|---|---|---|---|---|---|
| ● Your own key · billed by your provider · AnyRouter fee $0 | |||||
OpenRouter openrouter-byok | $0.20list | $0list | Unavailable | ||
| ● Free pool · donated keys · not available for this model — donate a key | |||||
Try it
import OpenAI from "openai" const client = new OpenAI({ apiKey: process.env.ANYROUTER_API_KEY, baseURL: "https://anyrouter.dev/api/v1",}) const resp = await client.embeddings.create({ model: "google/gemini-embedding-2", input: "The quick brown fox jumps over the lazy dog",})console.log(resp.data[0].embedding.slice(0, 8))
ANYROUTER_API_KEY · edits on the demo update this codeUptime + latency
No health checks recorded for this model yet.
More performance detail
Your access
Run Gemini Embedding 2 on your own key — your requests are billed by the provider. Pool callers pay AnyRouter credits.
No BYOK keys configured for this model yet.
Share a key with the pool to earn credits for every request it serves, covering your plan cost.
About
Gemini Embedding 2 is Google's first multimodal embedding model, mapping text, images, video, audio, and PDFs into one 3,072-dimension vector space for cross-modal semantic search, document retrieval, and recommendations over 100+ languages. Upstream accepts 8,192 input tokens and MRL-truncates to 128–3,072 dimensions. AnyRouter exposes the text path only — the OpenAI-compatible /embeddings body is a text `input`, so the extra upstream modalities are deliberately not declared here.
Released 2026-04-22 · params: input · model · dimensions · encoding_format

