LiteLLMModels

Text Embedding Ada 002 API Pricing

As of October 10, 2026, Text Embedding Ada 002 costs $0.10 per 1M input tokens on OpenAI. It has an 8,191-token context window.

By OpenAIModel ID text-embedding-ada-002Prices updated Checked
Input
$0.10 / 1M tokens
Output
$0 / 1M tokens
Context window
8,191 tokens
Providers
4
Added to LiteLLM
December 2023

Text Embedding Ada 002 pricing by provider

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

ProviderModel name in LiteLLMInputOutputContext
OpenAItext-embedding-ada-002$0.10$08K
Azure OpenAIazure/text-embedding-ada-002$0.10$08K
GitHub Copilotgithub_copilot/text-embedding-ada-002––8K
Vercel AI Gatewayvercel_ai_gateway/openai/text-embedding-ada-002$0.10$0–
Azure OpenAIeuazure/eu/text-embedding-ada-002$0.11––
Azure OpenAIusazure/us/text-embedding-ada-002$0.11––

What Text Embedding Ada 002 costs in practice

Embedding 10,000 documents of 500 tokens each

OpenAI$0.50
Azure OpenAI$0.50
Vercel AI Gateway$0.50

Use Text Embedding Ada 002 with LiteLLM

Call Text Embedding Ada 002 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="text-embedding-ada-002",
    input=["hello world"],
)
Proxy config.yaml
model_list:
  - model_name: text-embedding-ada-002
    litellm_params:
      model: text-embedding-ada-002
      api_key: os.environ/OPENAI_API_KEY
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-ada-002",
    "input": "hello world"
  }'

Text Embedding Ada 002 FAQ

How much does Text Embedding Ada 002 cost?

Text Embedding Ada 002 costs $0.10 per 1M input tokens on OpenAI.

What is the context window of Text Embedding Ada 002?

Text Embedding Ada 002 has an 8,191-token context window.

Which providers offer Text Embedding Ada 002?

Text Embedding Ada 002 is available from 4 providers through LiteLLM: OpenAI, Azure OpenAI, GitHub Copilot and Vercel AI Gateway.

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

Use the LiteLLM Python SDK with model="text-embedding-ada-002", 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 Ada 002?

Text Embedding Ada 002 was added to LiteLLM's model price file in December 2023.

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: OpenAI, Azure OpenAI, GitHub Copilot, Vercel AI Gateway.

Provider pages: OpenAI, Azure OpenAI, GitHub Copilot, Vercel AI Gateway.