# Gemini Embedding 2 API pricing

The official API price of Gemini Embedding 2 is $0.2 per 1M input tokens and $0 per 1M output tokens (as of 2026-11-12). Context window: 8.2K tokens, up to 1 output tokens per request. 5 providers sell it, none below the official price.

- Type: Embedding
- Context: 8.2K
- Max output: 1
- Released: 2026-04-22
- Open weights: No

## Price by provider (USD per 1M tokens)

| Provider | Model id | Input | Output | Cached | Notes |
| --- | --- | --- | --- | --- | --- |
| [Google](https://ai.google.dev/gemini-api/docs/models) | gemini-embedding-2 | $0.2 | $0 | — | Official |
| [Merge Gateway](https://docs.merge.dev/merge-gateway) | google/gemini-embedding-2 | $0.2 | $0 | — |  |
| [Tempr Gateway](https://temprhq.io/docs/gateway-reference.html) | google/gemini-embedding-2 | $0.2 | $0 | — |  |
| [SAP AI Core](https://help.sap.com/docs/sap-ai-core) | gemini-embedding-2 | — | — | — |  |
| [Vercel AI Gateway](https://github.com/vercel/ai/tree/5eb85cc45a259553501f535b8ac79a77d0e79223/packages/gateway) | google/gemini-embedding-2 | — | — | — |  |

Providers are those listed by models.dev. This site has not vetted them one by one; each provider's own page has the binding price.

Prices and specs come from models.dev (MIT licence), updated 2026-11-12. Each provider's name links to its official docs. A provider priced at 0 usually includes the model in a subscription; it is not necessarily a free API.

https://apibook.ai/models/google/gemini-embedding-2/
