Overview
Text-embedding-ada-002 is an efficient and reliable embedding model designed to convert text into numerical representations. It serves as a foundational tool for various natural language processing (NLP) applications, enabling machines to understand and process human language more effectively.
Key Features
Intended Use
Text-embedding-ada-002 can also be used for Medical Coding. Model successfully identifies the relevant code from a set of similar codes 80% of the time (better than GPT 4 with 50%). Learn more about this and other models and their applications in Healthcare here.
Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.
Semantic search & retrieval
Use Ada‑002 for embedding queries and documents to power content-based search in knowledge bases and CMS platforms.
Document classification & clustering
Apply embeddings to categorize content, tag documents, or create topic clusters semantically.
Recommendation systems
Leverage embedding similarity to suggest related articles, products, or media items.
RAG workflows
Combine dense embeddings with vector databases to retrieve context for downstream generation or chatbot tasks.
Anomaly detection
Identify unusual or off-topic content by measuring embedding divergence in streams or logs.
import requests r = requests.post( "https://api.aimlapi.com/v1/embeddings", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "openai/text-embedding-ada-002", "input": "The quick brown fox" }, ) print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/embeddings", { method: "POST", headers: { Authorization: `Bearer ${process.env.AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "openai/text-embedding-ada-002", "input": "The quick brown fox" }), }); console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/embeddings \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"openai/text-embedding-ada-002","input":"The quick brown fox"}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Benchmark | Score | What it measures | Source | Retrieved |
|---|---|---|---|---|
| MTEB | 61% | Massive Text Embedding Benchmark across 8 task types | Source | July 12, 2026 |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Text Embedding Ada 002 This page | Semantic search + RAG | |||
| Semantic search + RAG | ||||
| Semantic search + RAG | ||||
| Semantic search + RAG | ||||
| Semantic search + RAG |
Text Embedding Ada 002 takes text as input and returns embedding.
Text Embedding Ada 002 became available on December 12, 2025.
Text Embedding Ada 002 is priced at input $0.13 / 1M tokens.
Text Embedding Ada 002 was built by OpenAI.
Send a request to https://api.aimlapi.com/v1/embeddings with openai/text-embedding-ada-002 as the model id.
Yes. Text Embedding Ada 002 is served through AI/ML API, so the same key and endpoint format used for other models applies.
OpenAI describes it as an embedding model suitable for various tasks.