Skip to main content
Watch: I Built an AI App Without Leaving Databricks

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.

Source: developers.openai.com/api/docs/pricing

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.

More OpenAI embedding models

Default dimensions, max input tokens and list price per 1M tokens.

OpenAI API modelsPrices per 1M tokens, context windows and specs for every OpenAI model in the API registry.

All embedding models

Newsletter

New models, every week

One email per week. New model releases, embedding and retrieval updates and what they mean for what you build.