OpenAI: Text Embedding 3 Small

Text Embedding 3 Small is OpenAI's compact embedding model, released 2025-10, designed for efficient text representation. It improves on the earlier Ada embedding model and is suited to search, clustering, recommendations, anomaly detection, and classification.

Modalities
inTextoutVector
Price
$0.006/ 1M in
Context
8K
Released
Oct 30, 2025

Channels

Every channel serves the same model, but they differ in price and stability. On each API key in the Platform, you pick a primary and a backup channel per vendor, and each billing line shows which channel served the request.

Provider
Discount
Input /M
Cache read /M
Codexcheap
—
$0.006
—
Defaultstable
—
$0.01
—

Context pricing

This model’s price depends on how much input context a request carries. The headline price is the cheapest band, and a longer prompt moves the whole request into a higher one.

Input context
Input /M
Output /M
Codexcheap
standardBase
$0.006
$0.00
Defaultstable
standardBase
$0.01
$0.00

Quick start

POST /v1/embeddings
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.embeddings.create(
    model="text-embedding-3-small",
    input="The quick brown fox",
)
vector = resp.data[0].embedding
# len(vector) — pass dimensions= to shorten it
Wire Text Embedding 3 Small into your product

1M free tokens to start, no card required. It’s OpenAI-compatible, so you only change the base URL.

Start free