Text Embedding 3 Small API

OpenAI's compact text embedding model for search and retrieval

openai/text-embedding-3-small
OpenAIVectors

About this model

Text Embedding 3 Small is an OpenAI embedding model introduced in January 2024 alongside text-embedding-3-large. It turns text into numeric vectors for search, clustering, recommendations and retrieval. OpenAI describes it as a more efficient upgrade over text-embedding-ada-002 and says its vector length can be shortened through a dimensions parameter.

Pick it for cost-conscious, high-volume embedding; OpenAI positions text-embedding-3-large as the more capable sibling when quality matters more.

The catalog lists an 8,191-token input limit. It returns vectors, not generated text.

Use cases

  • Semantic search
  • Retrieval for RAG
  • Clustering and recommendations

Input and output

Input
Text
Output
Embedding vectors
Developer
OpenAI
Type
Vectors
Context
8,191 tokens

Text Embedding 3 Small request example

This model type has a request format of its own; see the API documentation for details.