OpenAI - API - verified
text-embedding-ada-002 embeddings
text-embedding-ada-002 is a legacy embedding model from OpenAI, called by API as text-embedding-ada-002. It returns 1,536-dimension vectors by default and accepts up to 8,192 input tokens, for text input. The first-party list price is $0.10 per 1M input tokens.
LegacyModel id: text-embedding-ada-002
- Default dims
- 1,536
- Max input
- 8,192 tok
- Price / 1M
- $0.10
- Inputs
- Text
Dimensions
- 1,536default
Default output: 1,536 dimensions.
Pricing
- Per 1M input tokens
- $0.10
- Batch, per 1M
- Not stated
Standard input price per 1M tokens; no separate Batch embedding rate is listed on the pricing page.
Usage
The sources read for this directory publish no copyable snippet for text-embedding-ada-002. Call it with the model id text-embedding-ada-002 as shown in the provider docs linked under Sources.
Worth knowing
Listed in OpenAI's catalog as an older embedding model; the guide says only the third-generation models were trained to support shortening via the dimensions parameter.
Release date not stated in the sources. Multilingual: not stated.
FAQ
How many dimensions does text-embedding-ada-002 output?
Default output: 1,536 dimensions.
What is the max input length of text-embedding-ada-002?
8,192 tokens per input, per OpenAI's documentation. Longer text has to be chunked before you embed it.
How much does text-embedding-ada-002 cost?
The first-party list price is $0.10 per 1M input tokens. Standard input price per 1M tokens; no separate Batch embedding rate is listed on the pricing page. Source: https://developers.openai.com/api/docs/pricing.
What can text-embedding-ada-002 embed?
Text input, per the provider.
Should I still use text-embedding-ada-002?
OpenAI lists text-embedding-ada-002 as an older model. Existing indexes keep working while it is served, but vectors from different models cannot be mixed, so moving to a newer model means re-embedding your corpus.
Sources
Last verified from the pages below.
- OpenAI model page - developers.openai.com
- OpenAI all models - developers.openai.com
- OpenAI embeddings guide - developers.openai.com
- OpenAI pricing - developers.openai.com
More OpenAI embedding models
Default dimensions, max input tokens and list price per 1M tokens.
Newsletter
New models, every week
One email per week. New model releases, embedding and retrieval updates and what they mean for what you build.
Keep exploring
Model API pricing and specs
First-party prices per 1M tokens for chat and reasoning models.
Local models
Open-weight LLMs you can download and run, with sizes and licenses.
What is RAG?
Where embeddings fit in a retrieval pipeline, end to end.
Vector databases compared
Where the vectors go once you have picked a model.