mxbai-embed-large-v1
Mixedbread's open-source 335M embedding model. Top MTEB benchmark for English retrieval at release.
mxbai-embed-large-v1 is embeddings AI model from Custom, priced at €0.000 per 1M input tokens with a 512 tokens context window.
Pricing
API Integration
Use our OpenAI-compatible API to integrate mxbai-embed-large-v1 into your application.
npm install railwailimport railwail from "railwail";
const rw = railwail("YOUR_API_KEY");
const vectors = await rw.run("mxbai-embed-large-v1", "Hello world", { type: "embed" });
console.log(vectors[0].length); // embedding dimensions
// Or use the embed() method for full control
const res = await rw.embed("mxbai-embed-large-v1", ["Hello", "World"]);
for (const item of res.data) {
console.log(item.embedding.length);
}Deep dive — Mixedbread AI's mxbai-embed-large-v1
Mixedbread AI (also stylised mxbai) was founded in 2023 in Berlin by Sean Lee, Aamir Shakir, Julius Lipp and Rui Huang with the goal of building best-in-class open-source retrieval and embedding models. The team released several iterations of the mxbai-embed and mxbai-rerank series under Apache 2.0 licence on Hugging Face and is widely cited as one of the few well-funded open-weights embedding labs alongside Jina AI and Nomic AI. mxbai-embed-large-v1 launched in March 2024 and immediately ranked at the top of the MTEB English leaderboard among models under 1B parameters, while remaining fully open under Apache 2.0. The company raised a seed round in 2024 from BlueYard Capital and angel investors and offers a hosted API as a paid product complementing the free open weights.
Visit Mixedbread AI →mxbai-embed-large-v1 is a 335M-parameter Transformer bi-encoder built on top of the bert-large-uncased backbone (24 layers, 1024 hidden dim, 16 heads). It outputs a 1024-dim vector and is trained for English text embedding using the AnglE loss (Angle-Optimized Text Embedding) plus contrastive InfoNCE and a curated mix of supervised text pairs from NLI, MS MARCO, HotpotQA, FEVER, NQ and SQuAD. The model supports Matryoshka representation learning, meaning the leading 64 / 128 / 256 / 512 / 768 dimensions are independently meaningful and can be truncated for storage savings with minimal quality loss. Maximum input length is 512 tokens, and inputs longer than this must be chunked. The training emphasised generalisation rather than benchmark over-fitting, and the model is reported to remain competitive without any prompt engineering. Weights are Apache-2.0 licensed and the model runs efficiently on consumer GPUs.
- Parameters
- 335M
- Context
- 512 tokens
- Top-tier MTEB English score for an open-weights 335M model
- 1024-dim vectors with Matryoshka truncation to 64/128/256/512 dims
- AnglE loss for improved similarity isotropy
- Open weights under Apache 2.0 with no use restriction
- Runs on a single 8 GB GPU or in CPU mode for low-volume tasks
- Strong on retrieval, clustering and STS benchmarks
- Best for: open-source RAG, on-premise embedding pipelines, cost-sensitive SaaS
Supervised training on a curated mix of English text pairs from NLI, MS MARCO, HotpotQA, FEVER, Natural Questions and SQuAD, plus contrastive negatives mined from large web corpora.
License: Apache 2.0 for code and weights; commercial use permitted without restriction.
Known limitations
- English only (multilingual support requires a separate Mixedbread checkpoint)
- 512-token context limit
- 1024-dim full vectors heavier than 384-dim alternatives
- 335M parameters slower than smaller distilled models for high-throughput inference
- AnglE loss sensitive to input normalisation choices
Frequently asked questions
Related Models
View all EmbeddingsBGE Large EN v1.5
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.
BGE-M3 (Multilingual)
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.
ESM-2 650M (Protein Embeddings)
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.
Nomic Embed Text v1.5
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.
Start using mxbai-embed-large-v1 today
Get started with free credits. No credit card required. Access mxbai-embed-large-v1 and 100+ other models through a single API.