GPT-5.6 is here ๐ŸŽ‰ 20% off all GPT ๐ŸŽ‰ All July ๐Ÿ”ฅLearn more
OpenAI

OpenAI: Text Embedding 3 Small

Embedding
openai/text-embedding-3-small

Text Embedding 3 Small is OpenAI's improved, more performant successor to the ada embedding model. It converts text into numerical vectors whose distances measure how closely two pieces of text are related, covering search, clustering, recommendations, anomaly detection, and classification. Input limit: 8K tokens per request. At $0.02/M input tokens it is the lowest-cost option in the Text Embedding 3 pair, which makes it the practical default for embedding large document sets or high-traffic retrieval. Accessible via the OpenAI-compatible protocol through Ofox.

Context Window
8K
Max Output Tokens
8K
Released
2025-10-30
Available Providers
AzureAzure
Supported Protocols
OpenAIopenai

Providers

AzureAzure
-20%
Input Tokens
$0.016/M
$0.02/M
Output Tokens
$0/M
Web Search
$0.035/R
Protocols
OpenAIopenai/v1/embeddings

Code Examples

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.ai/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.embeddings.create(
model="openai/text-embedding-3-small",
input="Hello, world!",
)
print(response.data[0].embedding[:5])

Frequently Asked Questions

OpenAI: Text Embedding 3 Small on Ofox.ai costs $0.02/M per million input tokens and $0 per million output tokens. Pay-as-you-go, no monthly fees.