← Torna al catalogo
Ottieni una chiave API
Text Embedding 3 Small
text-embedding-3-smallINPUT / 1M$0.012
OUTPUT / 1M$0
LETTURA CACHE / 1M—caching 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