OpenAI: text-embedding-ada-002 · fastrouter
text-embedding-ada-002 (often called ada v2) is an earlier-generation OpenAI embedding model for general semantic tasks like text and code search, clustering, and classification. It produces 1536-dimensional embeddings and was initially state-of-the-art for tasks such as text search, code search, and sentence similarity. Its performance on benchmarks is moderate (around 61% on MTEB), and it costs about $0.10 per 1K tokens. Ada-002 is suited to general retrieval and similarity tasks but is generally considered a legacy model; newer v3 models (3-small and 3-large) have mostly superseded it for better efficiency or accuracy. In fact, documentation notes that ada-002 is primarily kept for legacy use cases, while most new applications use the 3-small or 3-large models for improved performance.
Eingabe, $/1M $0.10
Ausgabe, $/1M —
Preisalarme
API
OpenAI-kompatible API: Die offiziellen OpenAI-SDKs funktionieren mit dieser Basis-URL. Ersetzen Sie YOUR_API_KEY durch Ihren Schlüssel vom Anbieter.
| API-Basis-URL | |
|---|---|
| Endpunkt | |
| Modell-ID | |
curl
curl https://go.fastrouter.ai/api/v1/embeddings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "openai/text-embedding-ada-002", "input": ["first text", "second text"]}'Python
import requests
r = requests.post(
"https://go.fastrouter.ai/api/v1/embeddings",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "openai/text-embedding-ada-002",
"input": [
"first text",
"second text"
]
},
)
print(r.json())JavaScript
const r = await fetch("https://go.fastrouter.ai/api/v1/embeddings", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "openai/text-embedding-ada-002",
"input": [
"first text",
"second text"
]
}),
});
console.log(await r.json());Anfrage (JSON)
{
"model": "openai/text-embedding-ada-002",
"input": [
"first text",
"second text"
]
}Antwort (JSON)
{
"object": "list",
"model": "openai/text-embedding-ada-002",
"data": [
{
"object": "embedding",
"index": 0,
"embedding": [
0.0123,
-0.0456,
"..."
]
}
],
"usage": {
"prompt_tokens": 6,
"total_tokens": 6
}
}Die Adresse stammt aus der Modellliste des Anbieters; bitte mit seiner Dokumentation abgleichen.
Source: AI Rate Card, https://airatecard.com/de/c/offer%3Afastrouter%7Copenai/text-embedding-ada-002, prices checked 2026-11-04; seller's page: https://fastrouter.ai/models/openai/text-embedding-ada-002
Technische Details
ID: offer:fastrouter|openai/text-embedding-ada-002