---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

[Models](/models)/[Embeddings](/models?category=embeddings)/nomic-ai/modernbert-embed-base

HFText EmbeddingsApache-2.0

# modernbert-embed-base

by nomic-ai

ModernBERT-powered text embeddings -- 8192 tokens, Matryoshka dimensions, fast inference

2.8Mdl/month

149Mparams

[HuggingFace](https://huggingface.co/nomic-ai/modernbert-embed-base)[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

Identifiers

Model ID

`nomic-ai/modernbert-embed-base`

## Deploy modernbert-embed-base

Single-tenant

Mixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.

[Read the customer-hosted guide](https://mixpeek.com/docs/customer-hosted/overview) [Talk to us about single-tenant](/demo)

## Overview

ModernBERT Embed Base is Nomic AI's text embedding model built on the ModernBERT architecture, which modernizes the BERT encoder with rotary position embeddings, Flash Attention, and unpadded variable-length batching. The result is an embedding model that handles 8192-token inputs with faster inference than comparably sized alternatives.

At 149M parameters, it outperforms Nomic's previous embedding models on MTEB while being significantly cheaper to run. It supports Matryoshka representations at 768 and 256 dimensions. On Mixpeek, it provides a strong baseline text embedding model that balances quality, speed, and context length for document-heavy retrieval pipelines.

## Architecture

ModernBERT encoder, 149M parameters. Rotary position embeddings for 8192-token context. Flash Attention 2 for efficient long-sequence processing. Matryoshka dimensions: 768 (full) and 256 (compressed).

## Mixpeek SDK Integration

IngestRetrieve

// No extractor parameter takes a Hugging Face model id (checked against
// GET /v1/discovery/extractors, which returns 13), so modernbert-embed-base runs
// on your side and the output is upserted through POST
// /v1/namespaces/{namespace\_id}/documents/upsert. On Enterprise the other
// path is to upload the weights instead: POST /v1/namespaces/{id}/models
// accepts the huggingface format and a custom plugin loads them.
const res = await fetch(
  "https://api.mixpeek.com/v1/namespaces/ns\_your\_namespace/documents/upsert",
  {
    method: "POST",
    headers: {
      Authorization: "Bearer API\_KEY",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      collection\_id: "col\_your\_collection",
      documents: \[
        {
          document\_id: "asset-00412",
          // The vector name has to match a vector index on the collection.
          vectors: { "text-embedding": yourVector },
          payload: { source\_key: "archive/2026/asset-00412" },
        },
      \],
    }),
  },
);

// Managed alternative, if this exact model is not the requirement:
// text\_extractor@v1 runs intfloat/multilingual-e5-large-instruct
// (1024-d) over a bucket, with no inference of your own.

## Capabilities

*   8192 token context window
*   Matryoshka dimension reduction (768/256)
*   Flash Attention 2 for fast inference
*   Variable-length batching (no padding waste)
*   Strong MTEB performance at 149M params

## Use Cases on Mixpeek

Long-document embedding for RAG

High-throughput text indexing

Baseline embedding model for new collections

Cost-efficient retrieval at scale

## Benchmarks

Dataset

Metric

Score

Source

MTEB Retrieval (en)

nDCG@10

54.7

Nomic AI, 2025 -- Model Card

## Performance

Input SizeUp to 8192 tokens

GPU Latency~4ms / passage (A100)

GPU Throughput~2500 passages/sec (A100, batch 128)

GPU Memory~0.6 GB

## Common Pipeline Companions

[

Qwen/Qwen3-Reranker-8B

Rerank ModernBERT results for precision

](/model/Qwen/Qwen3-Reranker-8B)[

BAAI/bge-m3

Compare single-vector vs hybrid retrieval

](/model/BAAI/bge-m3)

## Explore on Mixpeek

[

More Embeddings models

Compare alternatives in this category

](/models?category=embeddings)[

Best Self-Hosted Embedding Models

Hand-picked tools & platforms compared

](/curated-lists/best-self-hosted-embedding-models)[

Instruction-Tuned Embeddings

Deep-dive technical guide

](/guides/instruction-tuned-embeddings)[

Feature Extractors

See how Mixpeek runs models as extractors

](/extractors)[

Mixpeek Vector Store

Store & search embeddings at scale

](/mvs)[

Pricing

Usage-based pricing for pipelines

](/pricing)[

All Curated Lists

Compare models, APIs & infrastructure

](/curated-lists)

### Specification

FrameworkHF

Organizationnomic-ai

FeatureText Embeddings

Output1024-dim vector

Modalitiesdocument, audio

RetrieverText Similarity

Parameters149M

LicenseApache-2.0

Downloads/mo2.8M

[

### Research Paper

ModernBERT

arxiv.org](https://arxiv.org/abs/2412.13663)

### Build a pipeline with modernbert-embed-base

Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

### Alternative Models

[

BAAI/bge-large-en-v1.5

Text Embeddings

](/model/BAAI/bge-large-en-v1.5)[

sentence-transformers/all-MiniLM-L6-v2

Text Embeddings

](/model/sentence-transformers/all-MiniLM-L6-v2)[

Qwen/Qwen3-Embedding-0.6B

Text Embeddings

](/model/Qwen/Qwen3-Embedding-0.6B)[

nomic-ai/nomic-embed-text-v2-moe

Text Embeddings

](/model/nomic-ai/nomic-embed-text-v2-moe)

### Related in Embeddings

[

openai/clip-vit-large-patch14

Visual Embeddings

](/model/openai/clip-vit-large-patch14)[

google/siglip-base-patch16-224

Visual Embeddings

](/model/google/siglip-base-patch16-224)[

google/siglip2-giant-opt-patch16-384

Visual Embeddings

](/model/google/siglip2-giant-opt-patch16-384)[

facebook/dinov2-large

Visual Embeddings

](/model/facebook/dinov2-large)