Text Embedding Preview API Pricing
vertex_ai/text-embedding-preview-0409- Input
- $0.00625 per 1M tokens
- Context
- 3K tokens
As of November 24, 2026, Text Embedding Preview costs $0.00625 per 1M input tokens on Google Vertex AI. It has a 3,072-token context window.
Text Embedding Preview pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| Google Vertex AIsnapshot 0409 | vertex_ai/text-embedding-preview-0409 | $0.00625 | $0 | 3K |
What Text Embedding Preview costs in practice
Embedding 10,000 documents of 500 tokens each
| Google Vertex AI | $0.03125 |
Use Text Embedding Preview with LiteLLM
Call Text Embedding Preview through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/embeddings. LiteLLM tracks the cost of every request at these prices.
from litellm import embedding
response = embedding(
model="vertex_ai/text-embedding-preview-0409",
input=["hello world"],
)model_list:
- model_name: text-embedding-preview
litellm_params:
model: vertex_ai/text-embedding-preview-0409
vertex_project: os.environ/VERTEX_PROJECT
vertex_location: os.environ/VERTEX_LOCATIONcurl http://0.0.0.0:4000/v1/embeddings \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "text-embedding-preview",
"input": "hello world"
}'Text Embedding Preview 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.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:
LiteLLM docs: Google Vertex AI.
Provider pages: Google Vertex AI.