Text Embedding Ada 002 API

Reliable embedding model offering solid performance for various tasks.

Modalities
TextText
Input price
$0.1per 1M tokens
Model type
Embeddings
Released
Dec 12, 2025

Text Embedding Ada 002 overview

Text Embedding Ada 002 specs

Model ID
openai/text-embedding-ada-002
Developer
OpenAI
Input
Text
Output
Text
Endpoint
POST https://api.aimlapi.com/v1/embeddings

Basic Information

  • Model Name: text-embedding-ada-002
  • Version: text-embedding-ada-002

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.

  • High Dimensionality: Provides embeddings with 1536 dimensions, capturing detailed semantic information.
  • Broad Applicability: Suitable for a wide range of NLP tasks, including search, clustering, and classification.
  • Scalability: Optimized for handling large datasets and high-volume requests, making it ideal for enterprise applications.
  • Search: Enhances search engines by ranking results based on relevance to the query.
  • Clustering: Groups similar text strings together, useful in organizing large datasets.
  • Recommendations: Improves recommendation systems by identifying related items.
  • Anomaly Detection: Identifies outliers in datasets, which can be critical for security and quality control.
  • Diversity Measurement: Analyzes similarity distributions to ensure diverse content representation.
  • Classification: Assigns text strings to predefined categories based on similarity.

Technical Details

  • Architecture:
    • Utilizes a Transformer-based architecture known for its efficiency in processing sequential data. Transformers excel in capturing contextual relationships between words in a sentence, leading to better semantic understanding.
  • Training Data:
    • Trained on a diverse and extensive dataset sourced from various internet texts, including books, articles, and web pages. This diverse training data helps the model generalize well across different domains and applications.
  • Data Source and Size:
    • Leveraged a vast corpus of text data, ensuring comprehensive coverage of language use cases. The large-scale training dataset allows the model to capture nuanced language patterns.
  • Knowledge Cutoff:
    • The model has a knowledge cutoff of September 2021, meaning it was trained on data available up to this date. It does not include information or events occurring after this period.
  • Diversity and Bias:
    • Efforts were made to include a diverse range of text sources to minimize biases. However, some biases may still exist due to the nature of the training data. Continuous evaluation and updates are necessary to address any identified biases.

Performance Metrics

  • Comparison to Other Models:
    • Outperformed many predecessors and comparable models at the time of its release, especially in terms of cost-efficiency and scalability.
  • Accuracy:
    • Demonstrated strong performance on key benchmarks:
      • MIRACL: Achieved an average score of 31.4%, reflecting its capability in multi-language retrieval tasks.
      • MTEB: Scored 61.0% on average, indicating solid performance in English language tasks.
  • Speed:
    • Optimized for quick inference, making it suitable for real-time applications and services.
  • Robustness:
    • Capable of handling a variety of input types and maintaining performance across different text formats and languages.

Use cases

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.

Leverage embedding similarity to suggest related articles, products, or media items.

Text Embedding Ada 002 API pricing

Text Embedding Ada 002 pricing in US dollars
UsagePriceUnit
Input$0.11M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

How to use the Text Embedding Ada 002 API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl '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 jumps over the lazy dog."
}'

Text Embedding Ada 002 FAQ

What inputs and outputs does Text Embedding Ada 002 support?

Text Embedding Ada 002 takes text as input and returns embedding.

When was Text Embedding Ada 002 released?

Text Embedding Ada 002 became available on December 12, 2025.

How much does Text Embedding Ada 002 cost?

Text Embedding Ada 002 costs $0.1 per 1M input tokens on AI/ML API, billed as you go with no subscription.

Who created Text Embedding Ada 002?

Text Embedding Ada 002 was built by OpenAI.

How do I call Text Embedding Ada 002 on AI/ML API?

Send a request to https://api.aimlapi.com/v1/embeddings with openai/text-embedding-ada-002 as the model id.

Is Text Embedding Ada 002 available through a single API key?

Yes. Text Embedding Ada 002 is served through AI/ML API, so the same key and endpoint format used for other models applies.

What kind of tasks is this embedding model designed for?

OpenAI describes it as an embedding model suitable for various tasks.

What is the Text Embedding Ada 002 model ID?

Use openai/text-embedding-ada-002 as the model parameter. Requests go to https://api.aimlapi.com/v1/embeddings with your AI/ML API key.

Start building with Text Embedding Ada 002

Text Embedding Ada 002 API

openai/text-embedding-ada-002

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl '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 jumps over the lazy dog."
}'