← All models

OpenAI: Text Embedding 3 Small

text-embedding-3-small
embeddings

OpenAI embeddings (1536-dim) — semantic search, RAG. Cheap.

Price

Parameters

inputa string or array of strings

How to use via API

from openai import OpenAI

client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
r = client.embeddings.create(
    model="text-embedding-3-small",
    input="Привет! Это Mixen AI.",  # строка или список строк
)
vec = r.data[0].embedding
print(len(vec), vec[:3])
API docsTry in the bot