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.
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.
| Provider | Tokens /M | Latency | Throughput |
|---|---|---|---|
| $0.080 | 14.78s | — |
Capabilities (2)
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.
| Rate | Standard price | Charged | Unit |
|---|---|---|---|
| Tokens (input + output) | $0.200 | $0.080 | per 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
- 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
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
Latency
Time to first token
Cache hit rate
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.
Activity
Token volume and request traffic to this model over time. Daily totals, UTC.
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?
How much does Gemini Embedding 2 cost?
What can Gemini Embedding 2 embed?
Which API endpoint does Gemini Embedding 2 use?
What other models does Google have?
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.

