OpenAI text-embedding-3-small

EmbeddingiDostępne
od OpenAIID modelu: text-embedding-3-small

OpenAI's small, low-cost embedding model. Returns 1536-dim vectors by default and supports shortening output dimensions via the dimensions parameter without retraining. Replaced text-embedding-ada-002 with better retrieval quality at a fraction of the price, and is the default choice for general-purpose semantic search and RAG.

Cena
0,024 USD/1M wej.
Kontekst
8191 tokenów
Wejście → Wyjście
Tekst → Wektor
Deweloper
OpenAI
Zaktualizowano
23 września 2026
01

Playground

Spróbuj OpenAI text-embedding-3-small

Wejście i wyjście

0,024 USD/1M wej.
Spróbuj OpenAI text-embedding-3-small

0 / 32 000

Uruchamia model dwa razy (rozliczane dwa razy).

Wynik
Wektor pojawi się tutaj.

To uruchomienie

Cena pojawia się po uzupełnieniu danych wejściowych.

Nowy tutaj?

10 darmowych kredytów (0,10 USD) po zarejestrowaniu się przez Google

Dostępne 24 godzin po rejestracji, do 5 uruchomień dziennie i maksymalnie 2 kredytów na uruchomienie. Inne metody logowania uruchamiają się bez kredytów.

02

O OpenAI text-embedding-3-small

Krótko mówiącStan na 23 września 2026

OpenAI text-embedding-3-small to model opracowany przez OpenAI w kategorii Embeddingi. W serwisie Railwail OpenAI text-embedding-3-small kosztuje 0,024 USD / 1M tokenów wejściowych. Okno kontekstu zawiera 8191 tokenów.

text-embedding-3-small is the cheaper of OpenAI's third-generation embedding models. It outputs 1536-dim embeddings by default but supports the dimensions parameter, which uses Matryoshka-style truncation so you can request shorter vectors (for example 512 dims) and trade a small amount of accuracy for lower storage and faster similarity search. It scores higher than the older ada-002 on the MTEB benchmark while costing significantly less, which makes it the common default for production retrieval, clustering and classification pipelines. Accepts a single string or a batch of strings per request.

Tło

O OpenAI

Założona 2015 · San Francisco, California, USA

OpenAI was founded in December 2015 by Sam Altman, Elon Musk, Greg Brockman, Ilya Sutskever, Wojciech Zaremba and John Schulman and restructured to a capped-profit company in 2019. The embedding line started with text-embedding-ada-001 (2021), was unified into ada-002 (December 2022) and replaced in January 2024 by the v3 generation. text-embedding-3-small is the smaller, cheaper sibling of text-embedding-3-large: it beats ada-002 by ~5 points on MTEB at one fifth the price ($0.00002 per 1k tokens). Together with the large variant it was the first OpenAI embedding model to support Matryoshka-style dimension shortening, allowing callers to choose any vector size between 256 and 1,536 without retraining or quality drop.

Odwiedź OpenAI

Architektura

Transformer bi-encoder with Matryoshka representation learning

OpenAI text-embedding-3-small is the entry-level embedding model in the v3 generation. It produces 1,536-dimensional vectors by default and supports the same Matryoshka shortening as the large variant, so callers can request any dimension between 256 and 1,536 in the API and OpenAI will truncate-and-renormalise on the fly. Maximum input length is 8,191 tokens. Training used a contrastive retrieval objective on a curated multilingual web corpus including search-query/document pairs. The model scores around 62.3% MTEB and 44.0% MIRACL multilingual retrieval, a clear step up from 61.0% / 31.4% for ada-002, while being roughly five times cheaper and faster. It is positioned as the default embedding model for cost-sensitive production RAG and large-scale search. Like all OpenAI models the system is closed-source and hosted only.

Parametry
Undisclosed (smaller than text-embedding-3-large)
Kontekst
8191 tokenów

Możliwości

  • 1,536-dim vectors with Matryoshka truncation to any 256-1,536 size
  • 8,191-token context window for long-document embedding
  • Multilingual coverage across 100+ languages
  • $0.00002 per 1k tokens (~5x cheaper than text-embedding-3-large)
  • Drop-in upgrade from ada-002 via the same /embeddings endpoint
  • L2-normalised vectors with cosine similarity
  • Best for: cost-sensitive RAG, large-scale search, embeddings at high QPS

Trening i licencja

Not disclosed. OpenAI describes a 'curated multilingual web corpus' with search-query/document pairs.

Licencja: Proprietary commercial API. Generated embeddings may be stored and used commercially under the OpenAI Usage Policy.

Testy bezpieczeństwa: Embeddings are not subject to content-filter constraints; OpenAI publishes general bias and fairness statements.

Znane ograniczenia

  • Closed weights, hosted only
  • Cannot fine-tune the model
  • Lower MTEB / MIRACL scores than text-embedding-3-large
  • Multilingual quality below Cohere v3 for some low-resource languages
  • 8,191-token cap may force chunking for long documents
03

Ceny

Ceny w dolarach amerykańskich. Użycie jest rozliczane z prepłaconych kredytów.
Wejście0,024 USD / 1M tokenów
  • Rozliczane są tokeny, które faktycznie zużywa każde żądanie.
  • 1 kredyt = 0,01 USD

Kalkulator kosztów

Kalkulator cen

/ żądanie
/ żądanie

Razem

0,01 USD

1 kredytów

Za żądanie

0,0001 USD · 0,01 kredytów

Każde żądanie jest zaokrąglane w górę do 0,01 kredytu.

04

API

Wywołaj OpenAI text-embedding-3-small za pomocą klucza API Railwail. Użyj tego ID modelu w żądaniu:
text-embedding-3-smallDokumentacja APIUzyskaj klucz API
curl https://railwail.com/api/v1/embeddings \
  -H "Authorization: Bearer $RAILWAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "text-embedding-3-small",
    "input": "The quick brown fox"
  }'
Ustaw klucz jako RAILWAIL_API_KEYUtwórz klucz API
05

Specyfikacje

ID modelu
text-embedding-3-small
Deweloper
OpenAI
Kategoria
Embeddingi
Wejście
Tekst
Wyjście
Wektor
Okno kontekstu
8191 tokenów
Rozliczenie
Według użycia (tokeny lub czas GPU)
Rozmiar modelu
Undisclosed (smaller than text-embedding-3-large)
Licencja
Proprietary commercial API. Generated embeddings may be stored and used commercially under the OpenAI Usage Policy.
Wpis w katalogu zaktualizowany
23 września 2026

Parametry wejściowe

Dane wejściowe i ustawienia ze schematu wejściowego modelu. Przykład w sekcji API pokazuje, które z nich API akceptuje.

  • inputwymagane

    Text to embed (single string or array of strings)

    Typ: Tekst
    Domyślnie: –
    Dozwolone wartości: do 32 000 znaków
  • dimensions
    Typ: Liczba całkowita
    Domyślnie: 1536
    Dozwolone wartości: 64 do 1536
  • encoding_format
    Typ: Wybór
    Domyślnie: float
    Dozwolone wartości: float lub base64

Tagi

  • openai
  • embedding
  • retrieval
  • rag
  • matryoshka
  • general
06

Przykładowe prompty

Przykłady z katalogu Railwail. Nie zostały wygenerowane na żywo na tej stronie.
  • Semantic Search

    How to deploy a Node.js app to production
  • Document Clustering

    Machine learning model training techniques
07

Przypadki użycia

Do czego się go używa

  • Cost-sensitive production RAG
  • Large-scale semantic search across millions of documents
  • Embeddings for high-QPS personalisation pipelines
  • Clustering and topic discovery at low cost
  • Embeddings for downstream classification
08

Często zadawane pytania

Co to jest OpenAI text-embedding-3-small?

OpenAI text-embedding-3-small to model opracowany przez OpenAI w kategorii Embeddingi. W serwisie Railwail możesz go wywołać za pomocą klucza API poprzez API Railwail.

Ile kosztuje OpenAI text-embedding-3-small w serwisie Railwail?

W serwisie Railwail OpenAI text-embedding-3-small kosztuje 0,024 USD / 1M tokenów wejściowych. Opłata jest pobierana za to, co faktycznie zużywa każde żądanie. Użycie jest opłacane z przedpłaconych kredytów; 1 kredyt równa się 0,01 USD.

Jakie jest okno kontekstu OpenAI text-embedding-3-small?

Okno kontekstu OpenAI text-embedding-3-small zawiera 8191 tokenów.

Jak szybki jest OpenAI text-embedding-3-small?

Dla OpenAI text-embedding-3-small jest jeszcze zbyt mało zmierzonych przebiegów w serwisie Railwail, aby podać czas przebiegu. Zależy to od wejścia, ustawień i obciążenia u dostawcy.

Czy OpenAI text-embedding-3-small jest lepszy niż OpenAI text-embedding-3-large?

To zależy od zadania. OpenAI text-embedding-3-small (OpenAI) i OpenAI text-embedding-3-large (OpenAI) to oba modele z kategorii Embeddingi. Strona porównania pokazuje ich ceny i specyfikacje obok siebie.

Porównaj OpenAI text-embedding-3-small i OpenAI text-embedding-3-large

Jak używać OpenAI text-embedding-3-small przez API?

Utwórz klucz API Railwail i wyślij swoje żądanie z ID modelu text-embedding-3-small. Przykłady kodu dla curl, Python i JavaScript znajdują się w sekcji API na tej stronie.

09

Porównywalne modele

Wszystkie w tej kategorii

Użyj OpenAI text-embedding-3-small przez API

Jeden klucz API dla każdego modelu na Railwail. Opłaty pobierane są z przedpłaconych kredytów, 1 kredyt = 0,01 USD.