# Gemini Embedding 2

Gemini Embedding 2 is Google's embedding model for representing content as vectors that capture meaning. Its text embeddings support semantic search, document retrieval, classification, and clustering across languages. Its published context window is 8,192 tokens. The advertised input rate is $0.20 per million input tokens.

- Model identifier: ` google/gemini-embedding-2 `
- Creator: Google
- Providers: Google
- Model type: Embeddings
- Canonical model page: [Gemini Embedding 2](<https://impossibl.com/google/gemini-embedding-2>)
- API availability: Listed as serving through Impossibl.

## Providers

Google hosts Gemini Embedding 2. Impossibl routes your request intelligently and handles failover automatically when a provider is down.

| Provider | Endpoint location | Routes | Verified context window | Tool calling |
| --- | --- | --- | --- | --- |
| Google | Not specified | 1 | Not verified | Not supported |

The model price applies whichever provider serves the request. Endpoint locations do not guarantee inference residency.

## Specs and Capabilities

- Context window: 8,192 tokens
- Maximum output tokens: Not published in the public catalog; this is separate from the context window.
- Inputs: text
- Outputs: embedding
- Tool calling: Not supported

## API access

Use ` google/gemini-embedding-2 ` as the model identifier through the Impossibl API.

Published API endpoints:

- ` /v1/embeddings `

[API quickstart](<https://impossibl.com/docs/agent-quickstart>) · [Models and billing documentation](<https://impossibl.com/docs/models>)

## Published API prices

All rates are in USD. An unpublished rate is unknown, not zero. Workspace-specific pricing, taxes, balance-purchase fees, billing adjustments, and tool charges can affect the amount paid.

| Usage | Published base rate | Billing unit |
| --- | --- | --- |
| Input | $0.20 | per million input tokens |
| Output | $0.00 | per million output tokens |
| Cache read | Not published | per million cached input tokens |
| Cache write (default retention) | Not published | per million tokens |
| Cache write (one-hour retention) | Not published | per million tokens |
| Audio input | Not published | per million audio input tokens |

## Availability and retirement

The model is listed as serving. No retirement is announced in the current public catalog.

## Frequently asked questions

### What is Gemini Embedding 2?

Gemini Embedding 2 is Google's embedding model for representing content as vectors that capture meaning. Its text embeddings support semantic search, document retrieval, classification, and clustering across languages.

Sources: [Google embedding documentation](<https://ai.google.dev/gemini-api/docs/embeddings>); [OpenRouter model listing](<https://openrouter.ai/google/gemini-embedding-2>)

### How much does Gemini Embedding 2 cost?

Gemini Embedding 2 costs $0.20 per million input tokens and $0.00 per million output tokens through the Impossibl API. All rates are in USD.

### What is the context length of Gemini Embedding 2?

Gemini Embedding 2 has a 8,192-token context window through the Impossibl API.

### Does Gemini Embedding 2 support tool calling?

No. Gemini Embedding 2 does not support tool calling through the Impossibl API.

### What inputs and outputs does Gemini Embedding 2 support?

Gemini Embedding 2 accepts text as input. Gemini Embedding 2 returns embedding.

### How do I use Gemini Embedding 2 through an API?

Gemini Embedding 2 is available through the Impossibl API. Use google/gemini-embedding-2 as the model identifier with /v1/embeddings. The quickstart explains how to create an API key and send your first request.

## Sources and related links

Prices, limits, capabilities, endpoints, and availability come from the public Impossibl catalog. Creator documentation supplies descriptions and release dates where available; it does not override the published API offering.

- [Public Impossibl model catalog](<https://api.impossibl.com/v1/models>)
- [Full model directory as JSON](<https://impossibl.com/models.json>)
- [Gemini Embedding 2: model details and pricing](<https://impossibl.com/google/gemini-embedding-2>)
- [Model directory](<https://impossibl.com/models>)
- [Google embedding documentation](<https://ai.google.dev/gemini-api/docs/embeddings>)
- [OpenRouter model listing](<https://openrouter.ai/google/gemini-embedding-2>)
