OpenAI

OpenAI Text Embedding 3 Large API

US OpenAI | released 2024-01 | knowledge cutoff 2023-09
View embedding docs → Get API key

OpenAI Text Embedding 3 Large is the flagship embedding model from OpenAI, producing 3072-dimensional vectors with state-of-the-art retrieval quality. It supports adjustable dimensionality via a single parameter, native multilingual coverage, and short-input optimization. The standard choice for production RAG pipelines, semantic search, and clustering at scale.

Embedding

Pricing (official list, per 1M tokens)

Input
$0.13/M
Output
$0.00/M

Specifications

Context window8.191K tokens Input modalitiesText StreamingYes APIOpenAI-compatible

How to use OpenAI Text Embedding 3 Large

Drop-in OpenAI replacement. Change only the base_url and 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-large",
    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-large","messages":[{"role":"user","content":"Hello!"}]}'

Related models

Other models you might consider.