google logo
google

Google: Gemini Embedding 2 (batch)

Descripción de la fuente (inglés)

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...

Resumen

Especificaciones del modelo

Contexto
8192 tokens
Salida máxima
7372 tokens
Arquitectura
text+image+file+audio+video->embeddings
Tokenizador
Gemini
Corte de conocimiento
No indicado
Moderado
No
OPENROUTER

Precios completos

Tarifas sincronizadas desde OpenRouter, por millón de tokens.

Entrada
$0.1
por millón de tokens
Entrada de imagen
$0.225
por millón de tokens
Entrada de archivo
$0.225
por millón de tokens
Entrada de audio
$3.25
por millón de tokens
Entrada de vídeo
$6
por millón de tokens
API

Inicio rápido

Configura OPENROUTER_API_KEY localmente. Python requiere requests; JavaScript se ejecuta en Node.js. Mantén la clave en el servidor.

Esta solicitud envía un lote asíncrono con el ID del modelo base. El ID de la tarea confirma el envío, no la finalización.

Documentación de la 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"
Capacidades y modalidades

Entrada → Salida

Entrada
textimagefileaudiovideo
Salida
embeddings
API

Parámetros API compatibles

Proveedores disponibles

1 Proveedor

Verificado: 16 de septiembre de 2026

Proveedores en vivo en OpenRouter

Disponibilidad, latencia, rendimiento y enrutamiento cambian continuamente. Consulta la fuente para datos actuales.

OpenRouter

Google

No indicado
Contexto
8K
Salida máxima
7K
Entrada
$0.1
Salida
Gratis
Lectura de caché
No indicado
Escritura de caché
No indicado
google

4 modelos

Todos los modelos
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...

Contexto
1.0M
Entrada
audio · file · image · text · video
Salida
text
Entrada: $3Salida: $15por millón de tokens
Ver detalles del modelo →
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...

Contexto
1.0M
Entrada
audio · file · image · text · video
Salida
text
Entrada: $1.5Salida: $7.5por millón de tokens
Ver detalles del modelo →
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...

Contexto
1.0M
Entrada
audio · file · image · text · video
Salida
text
Entrada: $1.5Salida: $7.5por millón de tokens
Ver detalles del modelo →
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...

Contexto
1.0M
Entrada
audio · file · image · text · video
Salida
text
Entrada: $0.75Salida: $3.75por millón de tokens
Ver detalles del modelo →