Language
Retour au catalogue

Text Embedding 3 Small

text-embedding-3-small
Obtenir une clé API
ENTRÉE / 1M$0.012
SORTIE / 1M$0
LECTURE CACHE / 1Mcaching non pris en charge sur ce modèle
CONTEXTE8Ktokens par requête
Appeler ce modèle
from openai import OpenAI

client = OpenAI(
    api_key="sk-ak-...",
    base_url="https://apikey.sh/v1",
)

resp = client.chat.completions.create(
    model="text-embedding-3-small",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)
Caractéristiques
FournisseurOpenAI
CatégorieEmbedding
Contexte8K tokens
Sortie max
Endpoint/v1/embeddings
embedding