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.
- 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.
| 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.10 | $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 | 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 |
| 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.
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 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:
- developers.openai.com/api/docs/pricing
- learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-sold-directly-by-azure
- prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'
LiteLLM docs: OpenAI, Azure OpenAI, GitHub Copilot, Vercel AI Gateway.
Provider pages: OpenAI, Azure OpenAI, GitHub Copilot, Vercel AI Gateway.
