mxbai-rerank-xsmall-v1 vs gte-reranker-modernbert-base for Local AI in 2026

Analysis Last updated  8 min read By Q4KM

Quick Answer

As of November 2026, mixedbread-ai’s mxbai-rerank-xsmall-v1 is the top pick for local use when prioritizing the listed weight footprint: 0.1 GB in F16 versus 0.6 GB in F32 for Alibaba NLP’s gte-reranker-modernbert-base [1][2]. The ranking is mxbai-rerank-xsmall-v1 (mixedbread-ai), and gte-reranker-modernbert-base (Alibaba NLP) [1][2].

Key Takeaways

How do mxbai-rerank-xsmall-v1 and gte-reranker-modernbert-base compare?

Model Organization Parameters VRAM at 4-bit (estimated) Context License Benchmark (date)
mixedbread-ai/mxbai-rerank-xsmall-v1 [1] mixedbread-ai [1] 71M [1] 35.5 MB weights only, estimated (71M parameters × 0.5 bytes) [1]; total runtime VRAM unknown 512 tokens [1] Apache-2.0 [1] —
Alibaba-NLP/gte-reranker-modernbert-base [2] Alibaba NLP [2] 150M [2] 75 MB weights only, estimated (150M parameters × 0.5 bytes) [2]; total runtime VRAM unknown 8K tokens [2] Apache-2.0 [2] —

Which model should you run locally?

1. mxbai-rerank-xsmall-v1

mxbai-rerank-xsmall-v1 from mixedbread-ai is a reranking model first published on Hugging Face on February 29, 2024.[1] Its case for local use rests on its parameter count and listed weight footprint: 71M parameters and 0.1 GB of F16 weights.[1] Use mixedbread-ai/mxbai-rerank-xsmall-v1 as its Hugging Face identifier. Keep that exact identifier in configuration so the intended repository is unambiguous.

The model has a context limit of 512 tokens and an Apache-2.0 licence.[1] Check the context limit before choosing it. A recommendation based on weight footprint applies only when your intended inputs fit within the supported context. Treat input length as a separate acceptance check: a favourable weight size does not resolve a context mismatch.

The alternative, gte-reranker-modernbert-base from Alibaba NLP, has 150M parameters, an 8K-token context limit, and 0.6 GB of F32 weights.[2] Its Hugging Face identifier is Alibaba-NLP/gte-reranker-modernbert-base. Both models carry the Apache-2.0 licence, so the licence designation provides no distinction between them for this comparison.[1][2] Keep the context requirement explicit when documenting your choice.

The listed weight footprint favours mxbai-rerank-xsmall-v1: 0.1 GB in F16 against 0.6 GB in F32 for the Alibaba NLP model.[1][2] Keep the different storage precisions attached to those figures in installation notes and comparisons. The published weight sizes do not establish a comparison at matching precision, a complete installation footprint, or a runtime memory requirement. Avoid turning a weight-file size into a free-VRAM requirement.

For quantized weights, a 4-bit weight-only estimate is 35.5 MB, estimated from 71M parameters × 0.5 bytes per parameter.[1] Treat that calculation as a parameter-storage estimate. The calculation does not establish an available quantized build, its quality, or the total memory needed to run it. Runtime overhead remains unquantified here. Another gotcha is mixing that calculated figure with the rounded, published weight size and presenting the result as a measured compression ratio.

Choose mxbai-rerank-xsmall-v1 when your priority is the smaller listed weight footprint and your workload fits its 512-token context.[1][2] The deciding figures are its 71M parameters and 0.1 GB F16 weights, compared with the alternative’s 150M parameters and 0.6 GB F32 weights.[1][2] No benchmark or speed advantage is established by this comparison. Keep the recommendation conditional on those storage and context requirements.

Choose the Alibaba NLP model when its 8K-token context is the deciding requirement.[2] Its later publication date—January 20, 2025—does not by itself establish better reranking quality.[2] The practical verdict is conditional: favour mixedbread-ai for the smaller listed weights, and favour Alibaba NLP when you need its longer context.[1][2] Neither choice establishes a hardware purchase requirement or guarantees that the model will fit alongside another local workload.

2. gte-reranker-modernbert-base

gte-reranker-modernbert-base from Alibaba NLP is a reranker first published on Hugging Face on 2025-01-20 [2]. Its repository identifier is Alibaba-NLP/gte-reranker-modernbert-base. For local use, its distinguishing specification is an 8K-token context window [2], compared with the 512-token context window of mxbai-rerank-xsmall-v1 from mixedbread-ai [1]. Choose it when that additional input capacity matters to your reranking workload.

Alibaba NLP’s model has 150M parameters, F32 weights listed at 0.6 GB, and an Apache-2.0 licence [2]. Those specifications describe parameter count, stored weights and licensing; the weight figure alone does not establish a runtime memory requirement. Treat the download footprint as a starting point for evaluating deployment, rather than a guarantee that the model will fit a particular GPU.

A hypothetical 4-bit weight footprint is estimated at 75 MB (150M parameters × 0.5 bytes per parameter) [2]. That calculation covers weights alone. It does not include runtime overhead or establish total VRAM consumption, and it does not demonstrate the availability or quality of a particular quantized build. Use the estimate for preliminary planning, then verify the actual implementation’s memory use.

Memory footprint does not give Alibaba NLP’s model an advantage over the conditional winner. mixedbread-ai’s model lists 71M parameters and 0.1 GB of F16 weights [1], against Alibaba NLP’s 150M parameters and 0.6 GB of F32 weights [2]. The published weight sizes use different precisions, so they should not be presented as an equal-precision comparison. The listed footprint nevertheless supports choosing mixedbread-ai’s model when minimizing stored weight size is the deciding requirement.

Licensing does not separate the models: both use Apache-2.0 [1][2]. Alibaba NLP’s later publication date—2025-01-20 [2], versus 2024-02-29 for mixedbread-ai’s model [1]—also does not establish better ranking quality or faster inference.

The practical reason to choose Alibaba NLP’s model is task fit: an input requirement beyond mixedbread-ai’s 512-token context [1] but within Alibaba NLP’s 8K-token context [2]. For workloads that fit either window, the cited figures support the conditional memory-based recommendation for mixedbread-ai’s model. For workloads needing the longer window, Alibaba NLP’s model remains the appropriate candidate to evaluate, with its larger listed weight footprint accepted explicitly [1][2].

What hardware do you need for either model?

mxbai-rerank-xsmall-v1 (mixedbread-ai) has 71M parameters [1]. Estimated weight-only memory is 35.5 MB at 4-bit (71M parameters × 0.5 bytes per parameter) [1], or 71 MB at 8-bit (71M parameters × 1 byte per parameter) [1]. The listed F16 weights occupy 0.1 GB on disk [1]. Use that disk figure for the listed weights; a quantized build’s actual file size requires separate measurement.

Alibaba NLP’s Alibaba-NLP/gte-reranker-modernbert-base has 150M parameters [2]. Estimated weight-only memory is 75 MB at 4-bit (150M parameters × 0.5 bytes per parameter) [2], or 150 MB at 8-bit (150M parameters × 1 byte per parameter) [2]. The listed F32 weights occupy 0.6 GB on disk [2]. The disk figures therefore describe different weight precisions, while the estimates compare weight storage at matching precisions.

For smaller GPUs, mxbai-rerank-xsmall-v1 (mixedbread-ai) is the conditional memory-based choice: its estimated weight footprint is lower at either quantization level [1][2]. Actual fit also depends on runtime overhead and available VRAM, so weight storage alone does not establish a GPU memory requirement. Check total memory use with your intended runtime and workload before deciding whether either model fits alongside other workloads.

Frequently Asked Questions

Which model should I choose for local reranking?

Choose mixedbread-ai/mxbai-rerank-xsmall-v1 when the smaller listed weight footprint matters: 0.1 GB in F16, with a 512-token context limit [1]. Choose Alibaba NLP’s Alibaba-NLP/gte-reranker-modernbert-base when you need its longer 8K-token context; its listed F32 weights occupy 0.6 GB [2]. The recommendation depends on footprint and input length. Those figures establish practical differences, but they do not establish a benchmark-based winner for reranking quality.

How much VRAM do I need?

The listed weight sizes are 0.1 GB in F16 for mxbai-rerank-xsmall-v1 (mixedbread-ai) [1] and 0.6 GB in F32 for Alibaba-NLP/gte-reranker-modernbert-base [2]. Neither figure establishes total VRAM needed during inference. The different storage precisions also matter when comparing those footprints. Measure total memory use with your intended runtime and inputs before choosing hardware; the weight sizes alone do not justify a minimum free-VRAM requirement.

What are the licences, and how should I assess commercial use?

Both repositories list Apache-2.0: mxbai-rerank-xsmall-v1 (mixedbread-ai) [1] and Alibaba-NLP/gte-reranker-modernbert-base [2]. The named licence therefore supplies no distinction between them when choosing a model for a commercial project. Check the actual licence text for permissions and obligations relevant to your intended use, redistribution, and modifications before shipping. Keep that review separate from hardware selection, where their listed weight footprints and context limits differ.

Can I run either model on a CPU?

CPU execution cannot be confirmed from the model specifications alone. mxbai-rerank-xsmall-v1 (mixedbread-ai) has 71M parameters and listed F16 weights of 0.1 GB [1]; Alibaba-NLP/gte-reranker-modernbert-base has 150M parameters and listed F32 weights of 0.6 GB [2]. For a CPU deployment, verify support in your intended runtime and measure memory use and latency on your hardware. Parameter counts and weight sizes do not establish CPU compatibility or execution speed.

How much does running either model cost?

A total monetary cost is not established for either model. Both list Apache-2.0 [1][2], while their listed weights occupy 0.1 GB in F16 for mxbai-rerank-xsmall-v1 (mixedbread-ai) [1] and 0.6 GB in F32 for Alibaba-NLP/gte-reranker-modernbert-base [2]. Licence names and weight sizes do not establish download prices, hardware purchases, or operating expenses. Build a budget around your intended deployment and verify applicable charges before describing either option as free.

Can I switch between the models later?

Treat switching as a change to validate in your application. Review input length first: mxbai-rerank-xsmall-v1 (mixedbread-ai) supports 512 tokens [1], while Alibaba-NLP/gte-reranker-modernbert-base supports 8K tokens [2]. Moving to the shorter context requires checking whether your inputs fit. Also remeasure deployment memory and evaluate reranking behavior on representative queries. Both list Apache-2.0 [1][2], but a shared licence does not establish runtime compatibility or interchangeable results.

Sources

  1. mixedbread-ai/mxbai-rerank-xsmall-v1 model card (Hugging Face) — 2026-11-11 · mxbai-rerank-xsmall-v1 on Q4KM
  2. Alibaba-NLP/gte-reranker-modernbert-base model card (Hugging Face) — 2026-11-11 · gte-reranker-modernbert-base on Q4KM
  3. Towards General Text Embeddings with Multi-stage Contrastive Learning — 2023-08-07

Get these models on a hard drive

Skip the downloads. Browse our catalog of 985+ commercially-licensed AI models, available pre-loaded on high-speed drives.

Browse Model Catalog