google logo
google

Google: Gemini Embedding 2 (batch)

Descrizione della fonte (inglese)

Gemini Embedding 2 is Google's first multimodal embedding model. We currently support mapping text and images into a unified vector space for semantic search and retrieval-augmented generation (RAG). It supports...

Panoramica

Specifiche del modello

Contesto
8192 tokens
Output massimo
7372 tokens
Architettura
text+image+file+audio+video->embeddings
Tokenizer
Gemini
Limite di conoscenza
Non indicato
Moderato
No
OPENROUTER

Prezzi completi

Tariffe sincronizzate da OpenRouter, per milione di token.

Input
$0.1
per milione di token
Input immagine
$0.225
per milione di token
Input file
$0.225
per milione di token
Input audio
$3.25
per milione di token
Input video
$6
per milione di token
API

Avvio rapido

Imposta OPENROUTER_API_KEY localmente. Python richiede requests; JavaScript viene eseguito in Node.js. Conserva la chiave sul server.

Questa richiesta invia un batch asincrono con l’ID del modello base. L’ID dell’attività conferma l’invio, non il completamento.

Documentazione API

curl --fail-with-body https://openrouter.ai/api/beta/batches \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpoint":"/v1/embeddings","model":"google/gemini-embedding-2","requests":[{"custom_id":"request-1","body":{"input":"Your text here"}}]}'

# Replace JOB_ID with the returned id to check progress.
curl --fail-with-body "https://openrouter.ai/api/beta/batches/JOB_ID" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY"
Capacità e modalità

Input → Output

Input
textimagefileaudiovideo
Output
embeddings
API

Parametri API supportati

Provider disponibili

1 Provider

Verificato: 16 settembre 2026

Provider live su OpenRouter

Disponibilità, latenza, throughput e routing cambiano continuamente. Consulta la fonte per i dati correnti.

OpenRouter

Google

Non indicato
Contesto
8K
Output massimo
7K
Input
$0.1
Output
Gratuito
Lettura cache
Non indicato
Scrittura cache
Non indicato
google

4 modelli

Tutti i modelli
google logogoogle

Google: Gemini 4 Neon

Gemini 4 Neon is a fast, mid-priced model in the Gemini 4 family from Google, built for coding and agentic work. It is suited for repository and terminal coding, web...

Contesto
1.0M
Input
audio · file · image · text · video
Output
text
Input: $3Output: $15per milione di token
Vedi i dettagli del modello →
google logogoogle

Google: Gemini 4 Neon (batch)

Gemini 4 Neon is a fast, mid-priced model in the Gemini 4 family from Google, built for coding and agentic work. It is suited for repository and terminal coding, web...

Contesto
1.0M
Input
audio · file · image · text · video
Output
text
Input: $1.5Output: $7.5per milione di token
Vedi i dettagli del modello →
google logogoogle

Google: Gemini 4 Hydrogen

Gemini 4 Hydrogen is the high-efficiency workhorse model of the Gemini 4 family from Google, built for high-throughput agentic workflows, coding and multi-model routing at lower cost and latency than...

Contesto
1.0M
Input
audio · file · image · text · video
Output
text
Input: $1.5Output: $7.5per milione di token
Vedi i dettagli del modello →
google logogoogle

Google: Gemini 4 Hydrogen (batch)

Gemini 4 Hydrogen is the high-efficiency workhorse model of the Gemini 4 family from Google, built for high-throughput agentic workflows, coding and multi-model routing at lower cost and latency than...

Contesto
1.0M
Input
audio · file · image · text · video
Output
text
Input: $0.75Output: $3.75per milione di token
Vedi i dettagli del modello →