AI Rate Card

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.

Modèle de baseTous les modèles de cette baseTous les modèles du fournisseurvers le fournisseur

Entrée, $/1M $0.10

Sortie, $/1M —

Contexte 8 192

Accepte texte

Dernière vérification 04.11.2026 12:00:14 UTC

Source page du fournisseur

Alertes de prix

Connectez-vous pour suivre le prix

API

API compatible OpenAI : les SDK officiels d'OpenAI fonctionnent avec cette URL de base. Remplacez YOUR_API_KEY par votre clé du fournisseur.

URL de base de l'API
https://go.fastrouter.ai/api/v1
Point de terminaison
https://go.fastrouter.ai/api/v1/embeddings
ID du modèle
openai/text-embedding-ada-002
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());
Requête (JSON)
{
  "model": "openai/text-embedding-ada-002",
  "input": [
    "first text",
    "second text"
  ]
}
Réponse (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
  }
}

L'adresse provient de la liste de modèles du fournisseur ; vérifiez-la dans sa documentation.

Documentation API du fournisseur

Source: AI Rate Card, https://airatecard.com/fr/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

Détails techniques

ID: offer:fastrouter|openai/text-embedding-ada-002