Text Embedding 3 Small API

openai/text-embedding-3-small
Efficient embedding model with improved performance and reduced costs.
Output
Released
Dec 12, 2025

How to use Text Embedding 3 Small API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to openai/text-embedding-3-small.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/embeddings",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "openai/text-embedding-3-small",
      "input": "The quick brown fox"
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/embeddings", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "openai/text-embedding-3-small",
    "input": "The quick brown fox"
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/embeddings \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/text-embedding-3-small","input":"The quick brown fox"}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Text Embedding 3 Small API Pricing

TypePrice
Input
$0.026 / 1M tokens
Output

Text Embedding 3 Small Benchmarks

BenchmarkScoreWhat it measuresSourceRetrieved
MTEB
62.3%
Massive Text Embedding Benchmark across 8 task typesSourceJuly 12, 2026

Text Embedding 3 Small vs other models

ModelInputOutputContextBest for
$0.026 / 1M tokens
Semantic search + RAG
$0.169 / 1M tokens
Semantic search + RAG
$0.091 / 1M tokens
$0.074 / 1M tokens
Semantic search + RAG
$0.13 / 1M tokens
Semantic search + RAG

Frequently asked questions

Text Embedding 3 Small takes text as input and returns embedding.

Text Embedding 3 Small became available on December 12, 2025.

Text Embedding 3 Small is priced at input $0.026 / 1M tokens.

Text Embedding 3 Small was built by OpenAI.

Send a request to https://api.aimlapi.com/v1/embeddings with openai/text-embedding-3-small as the model id.

Yes. Text Embedding 3 Small is served through AI/ML API, so the same key and endpoint format used for other models applies.

It is OpenAI's embedding model built for semantic search and similarity tasks, offered at a lower cost.

Start building with Text Embedding 3 Small

Get API Key
1000+ models, one API.