Skip to content

gemini-embedding-2

google/gemini-embedding-2

Google's first multimodal embedding model, GA in April 2026 after a March preview, mapping text, images, video, audio and PDFs into one vector space. 8,192-token input and 128 to 3,072 dimensions; incompatible with gemini-embedding-001 vectors.

API
curl "$AUDIOLAB_API_URL/v1/embeddings" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/gemini-embedding-2",
  "input": "Build search with AudioLab.",
  "encoding_format": "float"
}'
Input Price
$0.17 / 1M tokens
Output Price
—
Context
8.2K tokens
Output
Embedding

Capabilities

Explore what gemini-embedding-2 supports, then use the API section for a request tailored to this model.

Dimensions

Model Information

Product
Embeddings
Release Date
Apr 22, 2026
Data Policy
Configurable
Region
Global
Input
Text
Output
Embedding
Provider Documentation

Playground

Try gemini-embedding-2 by Google Gemini. Requests use the selected workspace’s credits and API pricing.

gemini-embedding-2Credits —
gemini-embedding-2
This model uses a dedicated input format. Explore its API example or open the supported playground.

Providers

Compare available endpoints, pricing, and context limits for gemini-embedding-2.

ProviderContextOutputInput PriceOutput PriceEndpoint
Google Gemini8.2K tokensEmbedding$0.17 / 1M tokens—
gemini-embedding-2

Prices are catalog rates. Your workspace’s estimate and endpoint pricing determine the final charge.

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValue
Dimensions3072
Max batch1
Max total tokens8192

Status

Current catalog availability. Your workspace’s access is checked separately before a request runs.

Getting Started

Use your workspace API key and the exact model identifier below. Set the API URL to the endpoint shown in your workspace and keep credentials on your server.

API
curl "$AUDIOLAB_API_URL/v1/embeddings" \
  -H "Authorization: Bearer $AUDIOLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/gemini-embedding-2",
  "input": "Build search with AudioLab.",
  "encoding_format": "float"
}'
Read the Endpoint Reference

Request Parameters

Available parameters depend on the provider and request format. The endpoint reference explains accepted values and required fields.

ParameterDetails
modelgoogle/gemini-embedding-2 — Required model identifier.
inputView Accepted Values
encoding_formatView Accepted Values
dimensionsView Accepted Values

Input and Output Limits

Formats and limits AudioLab enforces on each request.

LimitValue
Dimensions3072
Max batch1
Max total tokens8192

Similar Models

Explore more embeddings and compare their capabilities.

ModelContextInput PriceOutput Price
qwen3.7-text-embeddingAlibaba Cloud Model Studio128K tokens$0.0595 / 1M tokens—
nvidia/Nemotron-3-Embed-1B-BF16DeepInfra32.8K tokens$0.0128 / 1M tokens—
nvidia/Nemotron-3-Embed-1B-NVFP4DeepInfra32.8K tokens$0.0085 / 1M tokens—
nvidia/Nemotron-3-Embed-8BDeepInfra32.8K tokens$0.0298 / 1M tokens—
nvidia/llama-nemotron-embed-vl-1b-v2DeepInfra10.2K tokens$0.0085 / 1M tokens—
tongyi-embedding-vision-flashAlibaba Cloud Model Studio1K tokens$0.0765 / 1M tokens—
View All Embeddings