> ## Documentation Index
> Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Gemini Embedding 2 Preview API

> Gemini Embedding 2 Preview embeddings API on Venice: 3,072 dimensions, 2K input tokens, $0.25 per 1M tokens. Anonymized access without your identity.

> [accordion] Plain-text specification
>
> ## Gemini Embedding 2 Preview API
>
> Gemini Embedding 2 Preview is an embedding model by Google, available on the Venice API as `gemini-embedding-2-preview`. Requests are anonymized, so the provider never sees your identity.
>
> ### Gemini Embedding 2 Preview API pricing
>
> | Model ID | Variant | Privacy | Price |
> | - | - | - | - |
> | `gemini-embedding-2-preview` | Standard | Anonymized | \$0.25 / 1M tok |
>
> ### Gemini Embedding 2 Preview specifications
>
> | Spec | Value |
> | - | - |
> | Provider | Google |
> | Released | Apr 17, 2026 |
> | Privacy | Anonymized |
> | Status | Stable |
> | Dimensions | 3,072 |
> | Max input | 2K tokens |
>
> ### How to use the Gemini Embedding 2 Preview API
>
> Send requests to `POST https://api.venice.ai/api/v1/embeddings` with `"model": "gemini-embedding-2-preview"` and your API key.
>
> ```bash theme={"system"}
> curl https://api.venice.ai/api/v1/embeddings \
>   -H "Authorization: Bearer $VENICE_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "gemini-embedding-2-preview",
>     "input": "Private AI for everyone."
>   }'
> ```
>
> ### Related models
>
> * [Text Embedding 3 Large API](https://docs.venice.ai/models/text-embedding-3-large.md): \$0.1625 / 1M tok
> * [BGE-M3 API](https://docs.venice.ai/models/bge-m3.md): \$0.15 / 1M tok
> * [Text Embedding 3 Small API](https://docs.venice.ai/models/text-embedding-3-small.md): \$0.025 / 1M tok
> * [BGE-EN-ICL API](https://docs.venice.ai/models/bge-en-icl.md): \$0.0125 / 1M tok


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.