We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

OpenAI: Text Embedding Ada 002

openai/text-embedding-ada-002
EmbeddingsInput: text8KAdded Oct 30, 2025

Try OpenAI: Text Embedding Ada 002 now

Runs on your balance at the prices above. New accounts start with free usage.

Sign in to use thisCreate free account

Results will appear here.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign inSession cost $0.00

OpenAI: Text Embedding Ada 002 at a glance

  • Input price is 400% higher than the median of 34 Embeddings models.

About OpenAI: Text Embedding Ada 002

OpenAI: Text Embedding Ada 002 is an embeddings model from OpenAI, listed on api14 under the model id openai/text-embedding-ada-002. It belongs to the embeddings category and is described by the provider as OpenAI's legacy text embedding model. If you have worked with OpenAI's embedding endpoints before, this is the familiar ada 002 generation of that line, made available through api14 alongside the rest of the catalogue.

The model takes text as input and returns embeddings as output, which means it does not generate prose or chat replies. It maps a piece of text to a vector representation that you can store and compare. Its context window is 8192 tokens, so a single request can cover a fairly long passage rather than a short snippet. The details list a maximum output of 7372, which reflects the shape of the vectors it returns rather than generated text.

Because the output is a vector, the practical uses are the standard embedding workflows. You can build semantic search over a document collection by embedding your corpus once and embedding each query at request time. You can use the vectors for clustering or deduplication, for example to group similar support tickets or find near-identical records. Classification on top of frozen embeddings is another common pattern: train a lightweight classifier on the vectors instead of fine-tuning a generative model. Retrieval augmented generation also fits here, where embeddings pick the relevant passages and a separate text generation model writes the answer.

Calling it through api14 works the same way as any other model on the platform, using the OpenAI-compatible API with openai/text-embedding-ada-002 as the model id. You send your text in the request and read the embedding back from the response. The supported parameters list is empty, so there are no extra tuning knobs to set beyond the basics of the call itself; you do not need to configure temperature, top_p or similar sampling options because this model does not sample text.

Keep the model's scope in mind when choosing it. It only accepts text, so images, audio and other modalities are out of range here. It produces embeddings only, so any task that needs an actual written answer requires a different model for the generation step. Since OpenAI describes it as a legacy embedding model, new projects may want to weigh it against newer embedding options, while existing pipelines already built around ada 002 vectors can continue to call it through api14 without changing their integration.

How to call the OpenAI: Text Embedding Ada 002 API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "openai/text-embedding-ada-002".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.embeddings.create({
  "model": "openai/text-embedding-ada-002",
  "input": [
    "The quick brown fox",
    "Lorem ipsum"
  ]
});
console.log(result.data.map((d) => d.embedding.length));

Specifications

Context length
8,192
Max output
7,372
Input
text
Output
embeddings

Requests on api14 · last 7 days

10-1610-1710-1810-1910-2010-2110-22

OpenAI: Text Embedding Ada 002: frequently asked questions

How much does the OpenAI: Text Embedding Ada 002 API cost?
OpenAI: Text Embedding Ada 002 costs Input $0.35 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of OpenAI: Text Embedding Ada 002?
OpenAI: Text Embedding Ada 002 reads up to 8,192 tokens per request: prompt, history and documents together. It writes up to 7,372 output tokens per response.
What can OpenAI: Text Embedding Ada 002 do?
OpenAI: Text Embedding Ada 002 accepts text and returns embeddings.
How do I call OpenAI: Text Embedding Ada 002 from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openai/text-embedding-ada-002". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to OpenAI: Text Embedding Ada 002?
Comparable Embeddings models at a similar price: Mistral: Mistral Embed 2312, VoyageAI by MongoDB: voyage-code-4, VoyageAI by MongoDB: voyage-multimodal-3.5. Each runs through the same API key, so switching is one string.

OpenAI: Text Embedding Ada 002 community

New topic

This community has no topics yet. Open the first one about OpenAI: Text Embedding Ada 002.