OpenAI: Text Embedding Ada 002
OpenAI Text Embedding Ada 002 API pricing
Text Embedding Ada 002 costs $0.040 per million tokens on Oxyy, one rate for input and output. That is the pay-as-you-go price after the current 60% discount (Launch Promo; standard price $0.100). It turns text into embedding vectors, with an 8K-token context window. A cheaper OpenAI option is Text Embedding 3 Small at $0.008 per 1M tokens; for every model and rate, see OpenAI API pricing.
Providers
Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.
| Provider | Tokens /M |
|---|---|
| OpenAI | $0.040 |
Capabilities (1)
Supported parameters (3)
Any other parameter you send is ignored rather than rejected.
Pricing
What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.
| Rate | Standard price | Charged | Unit |
|---|---|---|---|
| Tokens (input + output) | $0.100 | $0.040 | per 1M tokens, input and output |
Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.
Specifications
- Model ID
text-embedding-ada-002- Developer
- OpenAI
- Type
- Embeddings
- Input
- Text
- Output
- Embeddings
- Context window
- 8,191 tokens
- Tokenizer
- GPT
- Endpoint
/v1/embeddings
Best for
Quickstart
Call text-embedding-ada-002 with a POST to /v1/embeddings on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.oxyy.ai/v1",
api_key=os.environ["OXYY_API_KEY"],
)
response = client.embeddings.create(
model="text-embedding-ada-002",
input="The quick brown fox jumps over the lazy dog",
)
print(len(response.data[0].embedding))Frequently asked questions
What is Text Embedding Ada 002?
How much does Text Embedding Ada 002 cost?
What can Text Embedding Ada 002 embed?
Which API endpoint does Text Embedding Ada 002 use?
What other models does OpenAI have?
Alternatives to Text Embedding Ada 002
Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.


