Text Embedding 3 Small
Text Embedding 3 Small is an OpenAI embedding model optimized for low-latency, low-cost vector representations of text.
What is Text Embedding 3 Small?
Text Embedding 3 Small is an OpenAI model that converts text into dense vector embeddings for efficient semantic comparison and retrieval. It is primarily used for tasks like semantic search, information retrieval, and clustering where many documents or queries must be embedded cost-effectively. It is also commonly applied in recommendation systems, topic modeling, and classification workflows that rely on vector similarity. It belongs to OpenAI’s third-generation text embedding family, following earlier models such as the text-embedding-ada-002 series.
Providers
Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick — Balanced (price + speed), Nitro (fastest), or Exacto (highest tool-calling accuracy).
| Provider | Input | Output | Cache read /M | Latency | Throughput | Uptime |
|---|---|---|---|---|---|---|
| OpenAI | $0.02 | — | — | 120ms | 80k tps | 99.06% |
Try this model
Test Text Embedding 3 Small right here — free to start.
Suggestions for your first prompt
Code snippet
Call the model through the OpenAI-compatible API.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://inference.example.com/v1"
)
response = client.chat.completions.create(
model="openai/text-embedding-3-small",
messages=[
{
"role": "user",
"content": "Describe this image in one sentence."
}
],
)
print(response.to_json())
{
"model": "openai/text-embedding-3-small",
"messages": [
{
"role": "user",
"content": "Describe this image in one sentence."
}
]
}
Uptime
Last 30 days
28/30 days operational | 99.06% uptime
5 Core Capabilities
-
Text Embedding
Generates dense numerical vector representations of text optimized for semantic tasks like search, clustering, and retrieval.
-
Semantic Similarity
Enables comparison of texts by measuring vector similarity, supporting relevance ranking, deduplication, and near-duplicate detection.
-
Document Clustering
Supports grouping of related documents or sentences based on embedding proximity, useful for topic discovery and organization.
-
Multilingual Support
Handles multiple languages for embeddings, enabling cross-lingual similarity search and retrieval in multilingual datasets.
-
Classification Features
Provides embedding vectors that can be used as input features for downstream classifiers and other machine learning models.
6 Most Valuable Use Cases
- Semantic Text Search
- Document Clustering
- Recommendation Matching
- Duplicate Content Detection
- Cross-Lingual Retrieval
- Efficient Vector Indexing
Why Build on LLM.API?
One unified API. Every major model. Built-in reliability, cost control, and observability.
-
Unified AI Routing
Automatically route each request to the optimal model across providers based on latency, cost, and quality—no client changes, just smarter traffic control.
One endpoint, every model -
Cost-Aware Orchestration
Control spend with per-route pricing rules, dynamic model downgrades, and usage caps so you can experiment freely without surprise bills.
Optimize every token -
Resilient Fallback Flows
Define automatic fallbacks when a provider fails or times out, ensuring mission-critical flows stay online even during upstream incidents.
Don’t ship single points -
Deep Observability
Trace every request end-to-end with logs, metrics, and latency breakdowns across providers so you can debug production issues in minutes, not days.
See every token hop -
Task-Level Abstractions
Declare tasks like chat, tools, or RAG once and let LLM.API translate them into provider-specific calls, keeping your app logic clean and portable.
Code to tasks, not vendors -
High-Throughput Batch
Submit large batches of prompts with automatic chunking, retries, and concurrency control to process millions of tokens efficiently and predictably.
Scale jobs, not scripts
When to Use — When NOT to Use
Use it if...
- You need low-cost, general-purpose text embeddings for large-scale production applications.
- You need strong performance on semantic search, retrieval, and reranking across many domains.
- Your use case involves clustering or deduplicating large text corpora efficiently and cheaply.
- Your use case involves building recommendation systems based on textual or metadata similarity.
- You need compact embeddings that balance quality and speed for interactive applications.
- Your use case involves multilingual semantic search where most text is in high-resource languages.
Avoid if...
- You need cross-modal embeddings that jointly represent text and images in one vector space.
- Your workload requires domain-specialized embeddings, heavily tuned to a narrow technical field.
- You need sentence embeddings explicitly aligned with another vendor’s proprietary embedding space.
- Your workload requires extremely long-context representations beyond the model’s documented token limits.
- You need embeddings optimized for code understanding rather than natural language text.
- Your workload requires strict on-prem deployment without any connection to OpenAI’s API.
Frequently Asked Questions
-
What is Text Embedding 3 Small?
Text Embedding 3 Small is an OpenAI model that generates vector representations of text, optimized for low cost and strong retrieval performance.
-
What is Text Embedding 3 Small best suited for?
Text Embedding 3 Small is best for semantic search, retrieval-augmented generation, clustering, recommendations, and other tasks requiring dense text similarity comparisons.
-
What is the context window of Text Embedding 3 Small?
Text Embedding 3 Small supports input texts up to 8,192 tokens in length.
-
How fast is Text Embedding 3 Small when called through LLM.API?
Text Embedding 3 Small is designed for high-throughput, low-latency embedding generation; actual latency depends on your request size and LLM.API region.
-
Which input modalities does Text Embedding 3 Small support?
Text Embedding 3 Small supports text-only input and outputs numeric embedding vectors; it does not accept images, audio, or other modalities.
-
How do I access Text Embedding 3 Small via LLM.API?
Call the LLM.API embeddings endpoint, set the provider to OpenAI, and specify the model name "text-embedding-3-small" in your request.
-
How does Text Embedding 3 Small compare to Text Embedding 3 Large?
Text Embedding 3 Small is cheaper and slightly lower quality than Text Embedding 3 Large, making it preferable for large-scale or latency-sensitive workloads.
-
What are the limitations of Text Embedding 3 Small?
Text Embedding 3 Small cannot generate natural language, code, or images and may underperform on highly specialized or domain-specific semantic tasks.
-
How is pricing for Text Embedding 3 Small handled on LLM.API?
Pricing for Text Embedding 3 Small on LLM.API is typically usage-based per token or character and may differ slightly from OpenAI direct pricing.
-
Can I use Text Embedding 3 Small for multilingual text?
Text Embedding 3 Small supports multiple languages, but performance may vary by language and is generally strongest for English content.
COMPARE
Competitive Models
-
GPT-5.3 Chat
GPT-5.3 Chat is an OpenAI conversational large language model designed for general-purpose dialogue and task assistance, with improved reasoning and instruction-following over prior GPT chat models.
-
GPT-5.1-Codex-Mini
GPT-5.1-Codex-Mini is an OpenAI code-focused model variant optimized for lightweight, fast software development assistance. It is notable for providing capable code generation and editing while using fewer resources than larger Codex-style models.
-
GPT-5.1
GPT-5.1 is an OpenAI language model; as of mid-2026, OpenAI has not publicly released technical details or documentation about it.
Get one key to every model
Swap your API key. Keep your code.