Google: Gemini Embedding 2

google/google/gemini-embedding-2

Google Gemini Embedding 2 API pricing

Gemini Embedding 2 costs $0.080 per million tokens on Oxyy, one rate for input and output. That is the pay-as-you-go price after the current 60% discount (Launch Promo; standard price $0.200). It turns text, images, audio, video and files into embedding vectors. For every Google model and rate, see Gemini API pricing.

Google's first multimodal embedding model, mapping text, images, video, audio, and PDFs into a unified embedding space for semantic search and RAG.
ModalitiesTextImageAudioVideoFileEmbeddings
Price$0.080 per 1M tokens, input and outputAll Gemini API pricing

Providers

Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.

ProviderTokens /MLatencyThroughput
Google$0.08014.78s—

Capabilities (2)

BatchMultimodal

Pricing

What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.

Price
$0.080
per 1M tokens, input and output · standard price $0.200
Current discount
60%
off every rate
RateStandard priceChargedUnit
Tokens (input + output)$0.200$0.080per 1M tokens, input and output

Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.

Specifications

Model ID
google/gemini-embedding-2
Developer
Google
Type
Embeddings
Input
Text, images, audio, video and files
Output
Embeddings
Tokenizer
Gemini
Image input
Up to 20 MB each
File input
Up to 100 MB each
Audio input
Up to 50 MB each
Video input
Up to 100 MB each
Endpoint
/v1/embeddings

Best for

EmbeddingMultimodalRAGSemantic search

Quickstart

Call google/gemini-embedding-2 with a POST to /v1/embeddings on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oxyy.ai/v1",
    api_key=os.environ["OXYY_API_KEY"],
)

response = client.embeddings.create(
    model="google/gemini-embedding-2",
    input="The quick brown fox jumps over the lazy dog",
)
print(len(response.data[0].embedding))

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better). Throughput and TTFT are measured on streaming requests, which are the only ones with a first-token moment to time.

Throughput
—tok/s
P50, streaming requests
Latency
14.78s
P50, end to end
UTC

Throughput

P99—
P95—
P50—

Latency

P5014.8s
P7514.8s
P9514.8s
P9914.8s

Time to first token

P50—
P95—

Cache hit rate

0.00%
Share of input tokens served from the prompt cache over the window.

Availability

The share of requests to this model that completed successfully over the last 30 days. Requests the caller cancelled, and requests still in flight, are not counted. When an upstream provider errors, the gateway retries against another provider serving the same model, so a single provider incident does not necessarily show up here.

Requests (30 days)
5
A success rate is shown from 100 completed requests
Days with traffic
2
of the last 30 days

Activity

Token volume and request traffic to this model over time. Daily totals, UTC.

Prompt4
Completion0

Prompt tokens measure input size. Completion tokens reflect total output length. Reasoning is not priced separately for this model, so it is not itemised here.

Frequently asked questions

What is Gemini Embedding 2?
Google's first multimodal embedding model, mapping text, images, video, audio, and PDFs into a unified embedding space for semantic search and RAG.
How much does Gemini Embedding 2 cost?
Gemini Embedding 2 costs $0.080 per million tokens on Oxyy, one rate for input and output. That is the pay-as-you-go price after the current 60% discount (Launch Promo; standard price $0.200). You pay per request, with no subscription.
What can Gemini Embedding 2 embed?
Gemini Embedding 2 turns text, images, audio, video and files into embedding vectors.
Which API endpoint does Gemini Embedding 2 use?
Send a POST request to https://api.oxyy.ai/v1/embeddings with "model": "google/gemini-embedding-2", authenticated with your Oxyy API key.
What other models does Google have?
Google also offers Gemini 2.5 Flash, Gemini 2.5 Flash-Lite, Gemini 2.5 Flash TTS and Gemini 2.5 Pro through Oxyy.

Alternatives to Gemini Embedding 2

Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

Explore more models

More models from Google