Quick Answer
As of November 2026, Cross-Encoder’s cross-encoder/ms-marco-MiniLM-L6-v2 is the top pick for local use based on estimated weight memory at equal 4-bit precision: 11.5 MB (23M parameters × 0.5 bytes), versus 35.5 MB (71M parameters × 0.5 bytes) for mixedbread-ai’s mixedbread-ai/mxbai-rerank-xsmall-v1 [1][2]. The ranking is ms-marco-MiniLM-L6-v2 (Cross-Encoder), and mxbai-rerank-xsmall-v1 (mixedbread-ai) [1][2].
Key Takeaways
- Choose Cross-Encoder’s
cross-encoder/ms-marco-MiniLM-L6-v2when minimizing estimated weight storage at equal precision: its 23M parameters compare with mixedbread-ai’smixedbread-ai/mxbai-rerank-xsmall-v1at 71M.[1][2] mixedbread-ai/mxbai-rerank-xsmall-v1has the recency advantage: first published on 2024-02-29, versus 2022-03-02 forcross-encoder/ms-marco-MiniLM-L6-v2.[2][1]- For
cross-encoder/ms-marco-MiniLM-L6-v2, published F32 weights occupy 0.1 GB; estimated 4-bit weight storage is 11.5 MB (23M parameters × 0.5 bytes), excluding runtime memory.[1] - For
mixedbread-ai/mxbai-rerank-xsmall-v1, published F16 weights occupy 0.1 GB; estimated 4-bit weight storage is 35.5 MB (71M parameters × 0.5 bytes), excluding runtime memory.[2] - Both models use the Apache-2.0 licence and support a 512-token context, so those criteria do not separate them.[1][2]
How do ms-marco-MiniLM-L6-v2 and mxbai-rerank-xsmall-v1 compare?
| Model | Organization | Parameters | VRAM at 4-bit (estimated) | Context | License | Benchmark (date) |
|---|---|---|---|---|---|---|
| cross-encoder/ms-marco-MiniLM-L6-v2 [1] | Cross-Encoder [1] | 23M [1] | 11.5 MB (estimated: params × 0.5 bytes; weights only) [1] | 512 tokens [1] | Apache-2.0 [1] | — |
| mixedbread-ai/mxbai-rerank-xsmall-v1 [2] | mixedbread-ai [2] | 71M [2] | 35.5 MB (estimated: params × 0.5 bytes; weights only) [2] | 512 tokens [2] | Apache-2.0 [2] | — |
Which model should you run locally?
1. ms-marco-MiniLM-L6-v2
ms-marco-MiniLM-L6-v2 from Cross-Encoder is an Apache-2.0 model with 23 million parameters, first published on Hugging Face on 2022-03-02 [1]. Its repository identifier is cross-encoder/ms-marco-MiniLM-L6-v2. For local deployment, its parameter count supports considering it alongside mxbai-rerank-xsmall-v1 from mixedbread-ai, which has 71 million parameters [1][2]. Record the complete repository identifier in deployment notes so the model choice remains explicit.
The published specifications list a context length of 512 tokens and F32 weights of 0.1 GB for ms-marco-MiniLM-L6-v2 [1]. mxbai-rerank-xsmall-v1 has a 512-token context length and F16 weights listed at 0.1 GB [2]. The listed checkpoint sizes therefore establish no weight-storage advantage for either model [1][2]. Keep precision beside weight size in your comparison. A parameter count and a published checkpoint size answer different planning questions.
At equal precision, estimated 4-bit parameter storage for ms-marco-MiniLM-L6-v2 is 11.5 MB, calculated as 23 million parameters × 0.5 bytes per parameter [1]. Estimated 4-bit parameter storage for mxbai-rerank-xsmall-v1 is 35.5 MB, calculated as 71 million parameters × 0.5 bytes per parameter [2]. Both estimates describe parameter storage under the stated assumption. Neither calculation establishes total runtime memory, installation footprint or the availability of a corresponding quantized checkpoint.
Use those estimates only when comparing the same intended weight representation. Keep the formula and estimate label beside any calculated value copied into a deployment document. A practical gotcha is treating a parameter-storage estimate as a complete installation budget. Another is treating equal published checkpoint sizes as evidence of equal parameter counts. Neither interpretation follows from the figures, and neither supplies a total VRAM requirement for a particular GPU.
For installation planning, record the repository identifier, published weight size and intended representation separately. Identify the alternative as mixedbread-ai/mxbai-rerank-xsmall-v1. Keep installation measurements and observed startup output in separate fields. Weight sizes do not specify installation flags or what a successful first run prints. Add those details only after verifying the actual setup; do not turn a calculated storage estimate into an installation instruction or an expected startup message.
Context and licensing leave the comparison tied: both models list a 512-token context and the Apache-2.0 licence [1][2]. Publication timing differs: ms-marco-MiniLM-L6-v2 appeared on 2022-03-02 [1], while mxbai-rerank-xsmall-v1 appeared on 2024-02-29 [2]. Those dates establish publication order, without establishing development start dates, accuracy differences or workload suitability.
Choose cross-encoder/ms-marco-MiniLM-L6-v2 when lower estimated parameter storage at equal precision decides your local deployment [1][2]. Its 23 million parameters, compared with 71 million, support that conditional recommendation [1][2]. The published weights remain tied at 0.1 GB despite their different precision labels [1][2]. Keep the decision limited to storage under matching assumptions; the calculation establishes no speed, quality or total-memory advantage.
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]. For local evaluation, use mixedbread-ai/mxbai-rerank-xsmall-v1 [2]. Its publication came after ms-marco-MiniLM-L6-v2 from Cross-Encoder, first published on 2022-03-02 [1]. The later release date establishes chronology; it does not establish better relevance, lower memory use or faster execution.
The model has 71M parameters, a context length of 512 tokens, and F16 weights listed at 0.1 GB [2]. Its licence is Apache-2.0 [2]. Keep the published weight size separate from runtime memory: the weight listing does not establish how much RAM or VRAM a running deployment requires.
The published checkpoints show no weight-size advantage for mixedbread-ai’s model: its F16 weights are listed at 0.1 GB [2], while Cross-Encoder’s F32 weights are also listed at 0.1 GB [1]. Those listings use different precisions. Treating their matching sizes as proof of equal runtime memory would go beyond what those figures establish.
An equal-precision calculation gives a different comparison. At 4-bit precision, estimated weights for mixedbread-ai’s model are 35.5 MB, calculated as 71M parameters × 0.5 bytes per parameter [2]. Cross-Encoder’s corresponding 4-bit estimate is 11.5 MB, calculated as 23M parameters × 0.5 bytes per parameter [1]. Both calculations cover weights only; neither is a measured deployment footprint or evidence that a particular quantized package is available.
Context and licensing also provide no advantage over the comparison’s default pick. Both models have a 512-token context length [1][2], and both carry the Apache-2.0 licence [1][2]. Choosing mixedbread-ai’s model therefore does not buy additional context or a different stated licence. Neither shared specification settles which model ranks your documents more usefully.
The practical reason to choose mixedbread-ai’s model is a task-specific evaluation that favors its rankings. Keep it as a candidate when selecting a local reranker, and choose it if your own relevance checks justify the choice. The cited specifications support a later publication date [1][2], matching listed checkpoint sizes [1][2], and matching context and licence terms [1][2]. They do not establish a memory, licensing or task-quality win over Cross-Encoder’s model.
What hardware do you need for either model?
Cross-Encoder’s cross-encoder/ms-marco-MiniLM-L6-v2 has 23 million parameters [1]. Its estimated weight storage is 11.5 MB at 4-bit, calculated as parameters × 0.5 bytes [1], or 23 MB at 8-bit, calculated as parameters × 1 byte [1]. For disk planning, the published F32 weights are listed as 0.1 GB [1]. The quantized figures are arithmetic estimates, not measured memory requirements or downloadable file sizes.
mixedbread-ai’s mixedbread-ai/mxbai-rerank-xsmall-v1 has 71 million parameters [2]. Its estimated weight storage is 35.5 MB at 4-bit, calculated as parameters × 0.5 bytes [2], or 71 MB at 8-bit, calculated as parameters × 1 byte [2]. The published F16 weights are listed as 0.1 GB on disk [2]. Use that published figure when budgeting for the supplied weights; keep the quantized estimates separate.
For smaller GPUs, prioritize cross-encoder/ms-marco-MiniLM-L6-v2 on estimated weight storage: its lower parameter count gives it a lower estimated weight footprint at either quantization level [1][2]. Both published checkpoints nevertheless have the same listed disk size of 0.1 GB [1][2]. Weight estimates alone do not establish total VRAM requirements or guarantee that either model fits a particular GPU; no specific GPU capacity follows from these figures.
Frequently Asked Questions
Which model should I choose for local use?
Choose cross-encoder/ms-marco-MiniLM-L6-v2 if your priority is lower estimated weight storage at equal precision: it has 23M parameters [1], versus 71M for mixedbread-ai/mxbai-rerank-xsmall-v1 [2]. Both published checkpoints are listed as 0.1 GB, using F32 [1] and F16 [2], respectively. Both support 512 tokens [1][2] and list Apache-2.0 [1][2]. Those figures support a conditional storage recommendation; they do not establish a ranking-quality winner.
How much VRAM do the models need?
Published weight sizes are 0.1 GB in F32 for ms-marco-MiniLM-L6-v2 (Cross-Encoder) [1] and 0.1 GB in F16 for mxbai-rerank-xsmall-v1 (mixedbread-ai) [2]. Estimated raw weight storage at 4-bit is 11.5 MB for 23M parameters (params × 0.5 bytes) [1] and 35.5 MB for 71M parameters (params × 0.5 bytes) [2]. Treat those calculations as conditional weight-storage estimates, not total VRAM requirements or confirmation that a usable quantized checkpoint exists. Measure runtime memory before setting a GPU budget.
What are the licences, and how should I assess commercial use?
Both ms-marco-MiniLM-L6-v2 (Cross-Encoder) [1] and mxbai-rerank-xsmall-v1 (mixedbread-ai) [2] list Apache-2.0. Their declared licence therefore provides no basis for preferring either model for commercial deployment. Review the applicable licence terms against your intended use before shipping. Keep the commercial-use decision separate from the hardware decision: a shared licence does not establish a deployment price, memory requirement or performance result.
Can either model run on a CPU?
Treat CPU deployment as something to validate in your intended runtime. ms-marco-MiniLM-L6-v2 (Cross-Encoder) has 23M parameters [1], while mxbai-rerank-xsmall-v1 (mixedbread-ai) has 71M [2]; those counts alone do not establish CPU compatibility or responsiveness. Both have a 512-token context limit [1][2]. Try loading each model with your chosen software, then check memory use and response time with representative inputs before selecting a CPU deployment.
Which model costs less to run locally?
A defensible cost choice requires measurements from your deployment. Both models list Apache-2.0 [1][2], and both published checkpoints are listed as 0.1 GB [1][2], so neither figure establishes a dollar saving. ms-marco-MiniLM-L6-v2 (Cross-Encoder) has 23M parameters [1], compared with 71M for mxbai-rerank-xsmall-v1 (mixedbread-ai) [2]. Use that difference when evaluating storage at equal precision, but use your actual hardware, workload and operating costs for the spending decision.
Can I switch between the models later?
Plan a switch as a replacement to validate. ms-marco-MiniLM-L6-v2 (Cross-Encoder) and mxbai-rerank-xsmall-v1 (mixedbread-ai) share a 512-token context limit [1][2] and an Apache-2.0 licence [1][2]. Those shared properties do not establish drop-in software compatibility or equivalent rankings. Keep your evaluation queries and expected results, then check loading, input handling, ranking behavior and runtime memory with the replacement before changing your deployment. Use each model’s exact repository identifier in configuration.