Text Embedding Ada 002 API Pricing
text-embedding-ada-002- Input
- $0.10 per 1M tokens
- Context
- 8K tokens
As of November 24, 2026, Text Embedding Ada 002 costs $0.10 per 1M input tokens on OpenAI. Across 4 providers on LiteLLM, the input price ranges from $0.10 to $0.125. It has an 8,191-token context window.
Text Embedding Ada 002 pricing by provider
7 listings across 4 providers. 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 |
|---|---|---|---|---|
| OpenAI | text-embedding-ada-002 | $0.10 | $0 | 8K |
| Azure OpenAI | azure/text-embedding-ada-002 | $0.11 | $0 | 8K |
| GitHub Copilot | github_copilot/text-embedding-ada-002 | – | – | 8K |
| Vercel AI Gateway | vercel_ai_gateway/openai/text-embedding-ada-002 | $0.10 | $0 | – |
| Azure OpenAIeu | azure/eu/text-embedding-ada-002 | $0.11 | – | – |
| Azure OpenAIus-gov | azure/us-gov/text-embedding-ada-002 | $0.125 | $0 | 8K |
| Azure OpenAIus | azure/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 |
| Vercel AI Gateway | $0.50 |
| Azure OpenAI | $0.55 |
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.
from litellm import embedding
response = embedding(
model="text-embedding-ada-002",
input=["hello world"],
)model_list:
- model_name: text-embedding-ada-002
litellm_params:
model: text-embedding-ada-002
api_key: os.environ/OPENAI_API_KEYcurl http://0.0.0.0:4000/v1/embeddings \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-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. Across 4 providers on LiteLLM, the input price ranges from $0.10 to $0.125.
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. The lowest price is on OpenAI.
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. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:
- developers.openai.com/api/docs/pricing
- azure.microsoft.com/en-us/pricing/details/azure-openai/
- prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'
- prices.azure.com/api/retail/prices?$filter=armRegionName%20eq%20'usgovvirginia'%20and%20contains(productName,'OpenAI')
LiteLLM docs: OpenAI, Azure OpenAI, GitHub Copilot, Vercel AI Gateway.
Provider pages: OpenAI, Azure OpenAI, GitHub Copilot, Vercel AI Gateway.