openai logo

OpenAI: Text Embedding Ada 002

openai/text-embedding-ada-002
Created Nov 14, 2025|8,192 context|$0.10/M input tokens|$0.00/M output tokens
Intel TDX

text-embedding-ada-002 is OpenAI's legacy text embedding model.

Providers for OpenAI: Text Embedding Ada 002

RedPill routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

openai logo
openai
Total Context
8,192

API

RedPill provides an OpenAI-compatible embeddings API to all models & providers that you can call directly, or using the OpenAI SDK. Additionally, some third-party SDKs are available.

fetch("https://api.redpill.ai/v1/embeddings", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <YOUR-REDPILL-API-KEY>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "model": "openai/text-embedding-ada-002",
    "input": "Your text string goes here",
  })
})