O

OpenAI: Text Embedding Ada 002

OpenAI
Streaming Vision
8K
Context
Free
Input /1M
Free
Output /1M
0
Max Output

OpenAI: Text Embedding Ada 002

Model Overview

Property Value
Model ID openai/text-embedding-ada-002
Name Text Embedding Ada 002
Released December 2022
Provider OpenAI

Description

Legacy embedding model still widely used. This model supports multimodal capabilities including vision and image understanding. It features advanced reasoning capabilities for complex problem-solving tasks.

Description

OpenAI: Text Embedding Ada 002 is a language model provided by OpenAI. This model offers advanced capabilities for natural language processing tasks.

Description

OpenAI: Text Embedding Ada 002 is a language model provided by OpenAI. This model offers advanced capabilities for natural language processing tasks.

Specifications

Spec Value
Context Window 8,191 tokens
Max Completion 0 tokens
Knowledge Cutoff September 2021
Modalities Text only

Pricing

Type Price
Input $0.00 per 1M tokens
Output $0.00 per 1M tokens

Capabilities

  • Vision: No
  • Tool Use: No
  • JSON Mode: No
  • Reasoning: No
  • Streaming: Yes
  • Function Calling: No

Use Cases

Backward compatibility, existing systems

Best For

  • Text-based applications
  • General language tasks
  • Straightforward text generation
  • Real-time applications requiring low latency
  • Systems where cost is the primary concern

Integration with LangMart

Gateway Support: Type 2 (Cloud), Type 3 (Self-hosted)

API Usage:

curl -X POST https://api.langmart.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/text-embedding-ada-002",
    "messages": [{"role": "user", "content": "Hello"}],
    "max_tokens": 0
  }'

Testing in LangMart

# Test chat completion
curl -X POST https://api.langmart.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/text-embedding-ada-002",
    "messages": [
      {"role": "user", "content": "Explain quantum computing"}
    ]
  }'

# Test with structured output
curl -X POST https://api.langmart.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/text-embedding-ada-002",
    "messages": [{"role": "user", "content": "Extract data"}],
    "response_format": {"type": "json_object"}
  }'

From OpenAI:

  • GPT-4 Family - Advanced reasoning
  • GPT-3.5 Turbo - Fast and affordable
  • GPT-4o - Optimized multimodal
  • o1 - Extended reasoning

References


Last Updated: December 28, 2025 Generator: OpenAI Markdown Documentation Generator