Language
Torna al catalogo

Text Embedding 3 Small

text-embedding-3-small
Ottieni una chiave API
INPUT / 1M$0.012
OUTPUT / 1M$0
LETTURA CACHE / 1Mcaching non supportato su questo modello
CONTESTO8Ktoken per richiesta
Chiama questo modello
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)
Specifiche
ProviderOpenAI
CategoriaEmbedding
Contesto8K tokens
Output massimo
Endpoint/v1/embeddings
embedding