OpenAI text-embedding-3-large

Popular
OpenAI
Embeddings

OpenAI's highest-quality embedding model. Returns 3072-dim vectors by default and supports reducing dimensions via the dimensions parameter. Outperforms text-embedding-3-small and the older ada-002 on MTEB and multilingual MIRACL retrieval benchmarks, for cases where accuracy matters more than cost.

Embed with OpenAI text-embedding-3-large
Vectorize text and preview the first 8 dimensions as a bar chart.
Sign in to try this model with €5 free credits.
Sign in
Outputs a high-dimensional vector you can plug into RAG or search.
Vector preview appears here.
TL;DR·Last updated June 24, 2026

OpenAI text-embedding-3-large is embeddings AI model from OpenAI, priced at €0.130 per 1M input tokens with a 8.2K tokens context window.

About this model

text-embedding-3-large is OpenAI's most capable third-generation embedding model. It produces 3072-dim embeddings by default and, like the small variant, supports the dimensions parameter for Matryoshka-style truncation so you can store shorter vectors when needed. It leads OpenAI's lineup on the MTEB English benchmark and on the multilingual MIRACL retrieval benchmark, making it the pick when embedding quality is the priority over price. Use it for high-recall semantic search, deduplication and reranking-style retrieval. Accepts a single string or a batch per request.
Try OpenAI text-embedding-3-large
Sign in to generate — 50 free credits on sign-up

Examples

See what OpenAI text-embedding-3-large can generate

FAQ Matching

Input:

"How do I reset my password?"

Similar matches:

Steps to change your account password

96%

I forgot my login credentials

91%

Account recovery and password reset guide

89%

Code Search

Input:

"React useEffect cleanup function memory leak"

Similar matches:

Preventing memory leaks in React component lifecycle

93%

useEffect return function for subscription cleanup

90%

React hooks best practices for side effects

84%

Pricing

Price per Generation
Per generationFree

API Integration

Use our OpenAI-compatible API to integrate OpenAI text-embedding-3-large into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

const vectors = await rw.run("text-embedding-3-large", "Hello world", { type: "embed" });
console.log(vectors[0].length); // embedding dimensions

// Or use the embed() method for full control
const res = await rw.embed("text-embedding-3-large", ["Hello", "World"]);
for (const item of res.data) {
  console.log(item.embedding.length);
}
Specifications
Context window
8,191 tokens
Avg. latency
600ms
Developer
OpenAI
Category
Embeddings
Supported Formats
text
Tags
openai
embedding
retrieval
rag
matryoshka
multilingual

Deep dive — OpenAI's OpenAI text-embedding-3-large

About OpenAI
Founded 2015 · San Francisco, California, USA

OpenAI was founded in December 2015 by Sam Altman, Elon Musk, Greg Brockman, Ilya Sutskever, Wojciech Zaremba and John Schulman, and restructured to capped-profit OpenAI LP in 2019. The embedding model family started with text-embedding-ada-001 in 2021, was unified into text-embedding-ada-002 in December 2022 (still the most-used embedding model on Earth at one point) and replaced in January 2024 by text-embedding-3-small and text-embedding-3-large. The v3 release was OpenAI's first to support Matryoshka-style dimension reduction (sale of arbitrary 256-3072 dim vectors from the same model) and beat ada-002 by 20+ percentage points on the MIRACL multilingual retrieval benchmark while costing roughly the same.

Visit OpenAI →
Architecture
Transformer bi-encoder with Matryoshka representation learning

OpenAI text-embedding-3-large is the flagship embedding model in the v3 generation. It produces 3,072-dimensional vectors by default with full Matryoshka representation support, so callers can request any dimension between 256 and 3,072 in the API and OpenAI will truncate-and-renormalise without re-running the model. The model accepts up to 8,191 tokens per input and was trained with a contrastive retrieval objective on a curated multilingual web corpus, including search-query/document pairs and large-scale instruction-tuned pairs. It scores 64.6% on MTEB and 54.9% on MIRACL multilingual retrieval, a step up from 61.0% / 31.4% for ada-002. Pricing is $0.00013 per 1k tokens. Output vectors are L2-normalised. Like all OpenAI models the system is closed-source and hosted only. OpenAI has not published a technical paper for the v3 family beyond a launch blog.

Parameters
Undisclosed
Context
8.2K tokens
What it can do
  • 3,072-dim vectors with Matryoshka truncation to any 256-3072 size
  • 8,191-token context window for long-document embedding
  • Multilingual coverage across 100+ languages
  • State-of-the-art MIRACL multilingual retrieval (~55%)
  • L2-normalised vectors with cosine similarity
  • Drop-in upgrade from ada-002 via the same /embeddings endpoint
  • Best for: production RAG, multilingual search, retrieval-heavy SaaS
Training & License

Not disclosed. OpenAI describes a 'curated multilingual web corpus' with search-query/document pairs and instruction-tuned pairs.

License: Proprietary commercial API. Generated embeddings may be stored and used commercially under the OpenAI Usage Policy.

Known limitations
  • Closed weights, hosted only
  • Cannot fine-tune the model
  • 3,072-dim full vectors are storage-heavy without truncation
  • Worse-than-Cohere v3 on some low-resource languages
  • 8,191-token cap may force chunking for very long documents

Frequently asked questions

Related Models

View all Embeddings

BGE Large EN v1.5

huggingface

BAAI (Beijing Academy of AI) open-weight English embedding model with 335M parameters. Returns 1024-dim vectors and was a top MTEB English retrieval model on release. The v1.5 update improved similarity distribution so it works well without a query instruction prefix for symmetric tasks. A widely used open alternative to hosted embeddings.

€1.00

BGE-M3 (Multilingual)

huggingface

BAAI multilingual embedding model covering 100+ languages with an 8192-token context. M3 stands for its multi-functionality (dense, sparse and ColBERT-style multi-vector retrieval), multilinguality and multi-granularity over long documents. Returns 1024-dim dense vectors and is a strong open choice for cross-lingual and long-text retrieval.

€1.00

ESM-2 650M (Protein Embeddings)

huggingface

Meta AI 650M-parameter protein language model trained on UniRef50 sequences. Feed it an amino-acid sequence and the per-residue hidden states act as learned protein embeddings, used for structure prediction, variant-effect and function tasks. This 33-layer checkpoint is the common balance of quality and cost in the ESM-2 family.

€2.00

Nomic Embed Text v1.5

huggingface

Nomic AI open embedding model with a fully reproducible training pipeline (open weights, data and code). Supports an 8192-token context and Matryoshka representation learning, so you can truncate the 768-dim output down to 64 dims with graceful quality loss. Uses task prefixes like search_query and search_document.

€1.00

Start using OpenAI text-embedding-3-large today

Get started with free credits. No credit card required. Access OpenAI text-embedding-3-large and 100+ other models through a single API.