text-embedding-ada-002
text-embedding-ada-002 is OpenAI's second-generation embedding model that unified multiple prior embedding endpoints into a single model, producing 1536-dimensional vectors suitable for search, clustering, classification, and recommendations.
import { embed } from 'ai';
const result = await embed({ model: 'openai/text-embedding-ada-002', value: 'Sunny day at the beach',})P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.