LiteLLMModels

Text Embedding 005 API Pricing

As of October 10, 2026, Text Embedding 005 costs $0.025 per 1M input tokens from Vercel AI Gateway, the lowest of 2 providers. It has a 2,048-token context window.

By GoogleModel ID vercel_ai_gateway/google/text-embedding-005Prices updated Checked
Input
$0.025 / 1M tokens
Output
$0 / 1M tokens
Context window
2,048 tokens
Providers
2
Added to LiteLLM
December 2024

Text Embedding 005 pricing by provider

2 listings across 2 providers. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMPer 1M charsInputOutputContext
Vercel AI Gatewayvercel_ai_gateway/google/text-embedding-005–$0.025$0–
Google Vertex AIvertex_ai/text-embedding-005$0.025$0.10$02K

What Text Embedding 005 costs in practice

Embedding 10,000 documents of 500 tokens each

Vercel AI Gateway$0.125
Google Vertex AI$0.50

Use Text Embedding 005 with LiteLLM

Call Text Embedding 005 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.

Python SDK
from litellm import embedding

response = embedding(
    model="vercel_ai_gateway/google/text-embedding-005",
    input=["hello world"],
)
Proxy config.yaml
model_list:
  - model_name: text-embedding-005
    litellm_params:
      model: vercel_ai_gateway/google/text-embedding-005
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/embeddings \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "text-embedding-005",
    "input": "hello world"
  }'

Text Embedding 005 FAQ

How much does Text Embedding 005 cost?

Text Embedding 005 costs $0.025 per 1M input tokens from Vercel AI Gateway, the lowest of 2 providers.

What is the context window of Text Embedding 005?

Text Embedding 005 has a 2,048-token context window.

Which providers offer Text Embedding 005?

Text Embedding 005 is available from 2 providers through LiteLLM: Vercel AI Gateway and Google Vertex AI. The lowest price is on Vercel AI Gateway.

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

Use the LiteLLM Python SDK with model="vercel_ai_gateway/google/text-embedding-005", 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 005?

Text Embedding 005 was added to LiteLLM's model price file in December 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. Provider pricing pages:

LiteLLM docs: Vercel AI Gateway, Google Vertex AI.

Provider pages: Vercel AI Gateway, Google Vertex AI.