# Text Embedding Preview API Pricing

As of October 10, 2026, Text Embedding Preview costs $0.00625 per 1M input tokens on Google Vertex AI. It has a 3,072-token context window.

- Page: https://models.litellm.ai/models/text-embedding-preview
- LiteLLM model name: `vertex_ai/text-embedding-preview-0409`
- Context window: 3,072 tokens
- Added to LiteLLM: April 2024
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Google Vertex AI (snapshot 0409) | `vertex_ai/text-embedding-preview-0409` | $0.00625 | $0 | – | – | – | 3K |

## Cost examples

Embedding 10,000 documents of 500 tokens each:

- Google Vertex AI: $0.03125

## Use it with LiteLLM

```python
from litellm import embedding

response = embedding(
    model="vertex_ai/text-embedding-preview-0409",
    input=["hello world"],
)
```

## FAQ

### How much does Text Embedding Preview cost?

Text Embedding Preview costs $0.00625 per 1M input tokens on Google Vertex AI.

### What is the context window of Text Embedding Preview?

Text Embedding Preview has a 3,072-token context window.

### Which providers offer Text Embedding Preview?

Text Embedding Preview is available from Google Vertex AI through LiteLLM, using the model name vertex_ai/text-embedding-preview-0409.

### How do I call Text Embedding Preview with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="vertex_ai/text-embedding-preview-0409", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/embeddings from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### When did LiteLLM add Text Embedding Preview?

Text Embedding Preview was added to LiteLLM's model price file in April 2024.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
