OpenAI Text Embedding 3 Small adalah model embedding ringan dari OpenAI yang menghasilkan vektor 1536 dimensi dengan harga sekitar seperlima dari varian Large. Pilihan default untuk pencarian semantik volume tinggi, deduplikasi, dan klasifikasi di mana biaya per token lebih penting daripada recall puncak.
Pengganti langsung OpenAI. Ubah hanya base_url dan model.
# Python - pip install openai from openai import OpenAI client = OpenAI( base_url="https://meshtok.com/v1", api_key="sk-your-MeshTok-key", ) resp = client.chat.completions.create( model="openai/text-embedding-3-small", messages=[{"role":"user","content":"Hello!"}], ) print(resp.choices[0].message.content)
# cURL curl https://meshtok.com/v1/chat/completions \ -H "Authorization: Bearer sk-your-MeshTok-key" \ -H "Content-Type: application/json" \ -d '{"model":"openai/text-embedding-3-small","messages":[{"role":"user","content":"Hello!"}]}'
Model lain yang mungkin Anda pertimbangkan.
Frontier 3072-dim embeddings for RAG and search.
OpenAI’s latest frontier model.
Balanced GPT-5 for production.
Code-tuned GPT-5 for engineering.