Quick Answer
As of November 2026, Cross-Encoder’s cross-encoder/ms-marco-MiniLM-L4-v2 is the top pick for local use when minimizing weight storage: estimated 4-bit weights are 9.5 MB (19M parameters × 0.5 bytes), versus 35.5 MB (71M parameters × 0.5 bytes) for mixedbread-ai’s mixedbread-ai/mxbai-rerank-xsmall-v1, excluding runtime memory [1][2]. The ranking is ms-marco-MiniLM-L4-v2 (Cross-Encoder), and mxbai-rerank-xsmall-v1 (mixedbread-ai).
Key Takeaways
- Choose cross-encoder/ms-marco-MiniLM-L4-v2 for a smaller estimated quantized weight footprint: 19M parameters [1] versus mixedbread-ai/mxbai-rerank-xsmall-v1 at 71M [2]. The recommendation concerns memory budgeting; no benchmark scores establish a quality winner in this comparison.
- mxbai-rerank-xsmall-v1 (mixedbread-ai) offers a newer release: first published on 2024-02-29 [2], compared with 2022-03-02 for ms-marco-MiniLM-L4-v2 (Cross-Encoder) [1]. Release recency alone does not establish better ranking quality.
- For ms-marco-MiniLM-L4-v2 (Cross-Encoder), reported F32 weights occupy 0.1 GB [1]; estimated 4-bit weights occupy 9.5 MB (19M parameters × 0.5 bytes) [1]. The estimate covers weights only and does not establish required system RAM or GPU memory.
- For mxbai-rerank-xsmall-v1 (mixedbread-ai), reported F16 weights occupy 0.1 GB [2]; estimated 4-bit weights occupy 35.5 MB (71M parameters × 0.5 bytes) [2]. The estimate covers weights only and does not establish required system RAM or GPU memory.
- Context and licensing are tied: ms-marco-MiniLM-L4-v2 (Cross-Encoder) provides a 512-token context under Apache-2.0 [1], as does mxbai-rerank-xsmall-v1 (mixedbread-ai) [2]. Neither criterion separates the models.
How do ms-marco-MiniLM-L4-v2 and mxbai-rerank-xsmall-v1 compare?
| Model | Organization | Parameters | VRAM at 4-bit (estimated) | Context | License | Benchmark (date) |
|---|---|---|---|---|---|---|
| cross-encoder/ms-marco-MiniLM-L4-v2 [1] | Cross-Encoder [1] | 19M [1] | 9.5 MB estimated weights only (19M params × 0.5 bytes); runtime overhead excluded [1] | 512 tokens [1] | Apache-2.0 [1] | — |
| mixedbread-ai/mxbai-rerank-xsmall-v1 [2] | mixedbread-ai [2] | 71M [2] | 35.5 MB estimated weights only (71M params × 0.5 bytes); runtime overhead excluded [2] | 512 tokens [2] | Apache-2.0 [2] | — |
Which model should you run locally?
1. ms-marco-MiniLM-L4-v2
ms-marco-MiniLM-L4-v2 from Cross-Encoder is a reranking model first published on Hugging Face on 2022-03-02.[1] Its repository identifier is cross-encoder/ms-marco-MiniLM-L4-v2.[1] For a local deployment where estimated quantized weight storage decides the choice, it is the better pick: its 19M parameters compare with 71M for mxbai-rerank-xsmall-v1 from mixedbread-ai.[1][2] That recommendation concerns weight storage, without establishing a measured advantage in reranking quality.
Cross-Encoder lists a context length of 512 tokens, an Apache-2.0 licence and F32 weights occupying 0.1 GB.[1] mixedbread-ai lists the same 512-token context and Apache-2.0 licence, alongside F16 weights occupying 0.1 GB.[2] The listed weight footprints therefore match at the reported precision, although the weight formats differ.[1][2] Parameter count alone does not make Cross-Encoder’s listed weight package smaller.
For installation planning, treat each listed footprint as a weight figure. The weight figures do not specify a complete installation size or a measured total for a running application. Keep space for the rest of your chosen deployment separate from the model comparison. Matching displayed sizes also do not mean the repositories contain weights in the same format or establish equivalent numerical precision.
At 4-bit precision, Cross-Encoder’s weight storage is estimated at 9.5 MB (19M parameters × 0.5 bytes).[1] The corresponding estimate for mixedbread-ai is 35.5 MB (71M parameters × 0.5 bytes) at 4-bit precision.[2] Both calculations describe weight storage alone. Neither establishes peak runtime memory, total application memory, an available quantized package or a requirement for particular hardware. Use the estimates to compare prospective weight storage, without treating them as deployment measurements.
Before planning a quantized deployment, check that the format you intend to use is available and supported by your chosen runtime. Parameter arithmetic cannot supply a loading command, a launch flag or an expected success message. A first run needs its own verification; the storage estimates alone cannot confirm that either model loads correctly, accepts your input or produces the expected output.
Context and licensing provide no deciding advantage: each model has a 512-token context and an Apache-2.0 licence.[1][2] Choosing mixedbread-ai therefore brings no context increase or licence change on these figures.[1][2] mixedbread-ai’s model was first published on Hugging Face on 2024-02-29, after Cross-Encoder’s publication on 2022-03-02.[1][2] Publication dates establish release order; they do not establish which model ranks documents more accurately.
Choose Cross-Encoder’s model when the smaller estimated quantized weight footprint is your priority.[1][2] The deciding figures are 19M versus 71M parameters and estimated 4-bit weight storage of 9.5 MB versus 35.5 MB, with context and licence matched.[1][2] Those specifications do not establish a reranking-quality winner. Cross-Encoder’s recommendation is consequently specific: it offers the lower estimated quantized weight storage, while the listed unquantized packages both occupy 0.1 GB.[1][2]
2. mxbai-rerank-xsmall-v1
mxbai-rerank-xsmall-v1 from mixedbread-ai is a reranking model first published on Hugging Face on 2024-02-29 [2]. Cross-Encoder’s ms-marco-MiniLM-L4-v2 was first published on 2022-03-02 [1]. The release dates establish chronology, but they do not establish a ranking-quality advantage. Choosing mixedbread-ai’s model because of its release date alone would leave the practical question of task performance unanswered.
The mixedbread-ai model has 71M parameters, a context length of 512 tokens, and an Apache-2.0 licence [2]. Its listed F16 weights occupy 0.1 GB [2]. Cross-Encoder’s model has 19M parameters, the same 512-token context length, and the same Apache-2.0 licence [1]. Its listed F32 weights also occupy 0.1 GB [1]. The reported weight footprints therefore match, although the listed weight formats differ [1][2].
For mxbai-rerank-xsmall-v1, the estimated 4-bit weight payload is 35.5 MB, calculated as 71M parameters × 0.5 bytes per parameter [2]. For ms-marco-MiniLM-L4-v2, the estimated 4-bit weight payload is 9.5 MB, calculated as 19M parameters × 0.5 bytes per parameter [1]. Both calculations describe estimated weight storage only. Neither establishes a runtime-memory maximum, a GPU requirement, or the memory consumed by an actual deployment.
For a local choice driven by estimated quantized weight storage, Cross-Encoder’s model has the advantage: its estimated 4-bit payload is 9.5 MB versus mixedbread-ai’s 35.5 MB [1][2]. The reported unquantized weight footprints are tied at 0.1 GB [1][2]. Context and licensing also remain tied at 512 tokens and Apache-2.0 [1][2]. Those figures provide no memory, context, or licensing win for mxbai-rerank-xsmall-v1.
The mixedbread-ai model remains a reasonable candidate when your reranking requirements accept its 512-token context and Apache-2.0 licence [2]. An existing deployment using mixedbread-ai/mxbai-rerank-xsmall-v1 can assess continued use against those requirements. Compatibility supports considering the model; it does not demonstrate superior task fit. A task-specific evaluation is needed to establish whether its rankings justify choosing it over Cross-Encoder’s alternative.
Comparable ranking-quality scores are unavailable for this comparison, so a quality winner remains unresolved. Choose mxbai-rerank-xsmall-v1 when your own evaluation supports it and its storage requirements fit your deployment. The cited specifications alone support Cross-Encoder’s advantage in estimated quantized weight storage, while leaving a task-quality reason to prefer mixedbread-ai’s model unestablished.
What hardware do you need for either model?
Cross-Encoder’s cross-encoder/ms-marco-MiniLM-L4-v2 has 19M parameters [1]. Its weight memory is estimated at 9.5 MB at 4-bit (parameters × 0.5 bytes) and 19 MB at 8-bit (parameters × 1 byte) [1]. Treat those figures as estimates for the weights alone, not measured GPU memory requirements. Use them as a starting budget when deciding whether to try the model on your hardware, rather than as a guarantee that a particular GPU can run it.
mixedbread-ai’s mixedbread-ai/mxbai-rerank-xsmall-v1 has 71M parameters [2]. Its weight memory is estimated at 35.5 MB at 4-bit (parameters × 0.5 bytes) and 71 MB at 8-bit (parameters × 1 byte) [2]. The same limit applies: estimated weight storage does not establish peak runtime memory. Neither estimate should be read as a measured VRAM maximum or a complete hardware requirement.
For disk planning, the listed F32 weights occupy 0.1 GB for Cross-Encoder’s model [1], while the listed F16 weights occupy 0.1 GB for mixedbread-ai’s model [2]. Those file sizes describe the supplied weights, not measured quantized downloads. Cross-Encoder’s model is the practical starting choice for smaller GPUs because its estimated weight memory is lower at either precision [1][2]. Actual fit still needs validation in your chosen runtime; the weight estimates alone cannot establish a minimum GPU capacity.
Frequently Asked Questions
Which model should I choose for local reranking?
For deployment where estimated quantized weight storage decides the choice, choose cross-encoder/ms-marco-MiniLM-L4-v2: it has 19M parameters [1], versus 71M for mixedbread-ai/mxbai-rerank-xsmall-v1 [2]. Both list a 512-token context and Apache-2.0 licence [1][2]. Their listed weights are each 0.1 GB, in F32 and F16 respectively [1][2]. The recommendation concerns estimated quantized weight storage. A quality preference requires evaluation on your own query–document pairs.
How much VRAM do the models need?
Estimated 4-bit weight storage is 9.5 MB for ms-marco-MiniLM-L4-v2 (Cross-Encoder) (19M parameters × 0.5 bytes) [1], versus 35.5 MB for mxbai-rerank-xsmall-v1 (mixedbread-ai) (71M parameters × 0.5 bytes) [2]. Those estimates describe weights alone; they are not measured VRAM requirements or runtime-memory limits. Use them for preliminary storage planning, then measure total memory with your intended runtime and workload before deciding whether your GPU has sufficient capacity.
Can I use either model commercially?
Both ms-marco-MiniLM-L4-v2 (Cross-Encoder) and mxbai-rerank-xsmall-v1 (mixedbread-ai) list the Apache-2.0 licence [1][2], which permits commercial use subject to its terms. Licence choice therefore does not distinguish the models for a commercial deployment [1][2]. Review the applicable licence text and accompanying notices before distributing a product containing either model. Keep that review separate from evaluating whether the model meets your application’s quality and hardware requirements.
Can I run either model on a CPU?
CPU suitability needs verification with your runtime and workload. The stated specifications do not establish CPU compatibility, latency, throughput, or total RAM requirements. ms-marco-MiniLM-L4-v2 (Cross-Encoder) has 19M parameters [1], while mxbai-rerank-xsmall-v1 (mixedbread-ai) has 71M [2]. Parameter counts support weight-storage estimates, but cannot establish acceptable CPU performance. Confirm runtime support, then measure memory consumption and response time using representative query–document pairs before committing to CPU deployment.
Which model costs less to run locally?
Operating cost cannot be calculated from parameter counts and weight-file sizes alone. Both models list 0.1 GB of weights, with F32 for ms-marco-MiniLM-L4-v2 (Cross-Encoder) [1] and F16 for mxbai-rerank-xsmall-v1 (mixedbread-ai) [2]. Those figures do not establish electricity use, hardware requirements, or processing time. Estimate your deployment cost after measuring the intended workload on your hardware; neither model has an established operating-cost advantage in this comparison.
Can I switch between the models later?
Plan a later switch as an integration change that requires validation. ms-marco-MiniLM-L4-v2 (Cross-Encoder) and mxbai-rerank-xsmall-v1 (mixedbread-ai) both list a 512-token context and Apache-2.0 licence [1][2], so those stated limits match. Matching context and licence do not establish interchangeable runtime interfaces or ranking behavior. Before switching, verify support for the replacement model and evaluate its rankings, memory consumption, and response time against your application’s requirements.