Quick Answer
Cross-Encoder’s ms-marco-MiniLM-L6-v2 is the top pick for local use as of November 2026 when minimizing estimated weight storage: 11.5 MB versus 16.5 MB for Cross-Encoder’s ms-marco-MiniLM-L12-v2 at 4-bit, estimated (params × 0.5 bytes) from 23M versus 33M parameters [1][2]. The ranking is ms-marco-MiniLM-L6-v2 (Cross-Encoder), and ms-marco-MiniLM-L12-v2 (Cross-Encoder) [1][2].
Key Takeaways
- Verdict: prefer Cross-Encoder’s
cross-encoder/ms-marco-MiniLM-L6-v2for lower estimated weight storage: 23M parameters [1] versus 33M for Cross-Encoder’scross-encoder/ms-marco-MiniLM-L12-v2[2]. - Runner-up:
cross-encoder/ms-marco-MiniLM-L12-v2offers more parameters—33M [2] versus 23M [1]—but parameter count alone does not establish better ranking quality. - Hardware planning for
cross-encoder/ms-marco-MiniLM-L6-v2: listed F32 weights occupy 0.1 GB [1]; estimated 4-bit weight storage is 11.5 MB (params × 0.5 bytes) [1]. Neither figure establishes total runtime RAM or VRAM requirements. - Hardware planning for
cross-encoder/ms-marco-MiniLM-L12-v2: listed F32 weights occupy 0.1 GB [2]; estimated 4-bit weight storage is 16.5 MB (params × 0.5 bytes) [2]. Neither figure establishes total runtime RAM or VRAM requirements. - Licence and context are tied: both use Apache-2.0 [1][2] and support 512 tokens [1][2]; both were first published on Hugging Face on 2022-03-02 [1][2].
How do ms-marco-MiniLM-L6-v2 and ms-marco-MiniLM-L12-v2 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 weights only, estimated (params × 0.5 bytes); total runtime VRAM unspecified [1] | 512 tokens [1] | Apache-2.0 [1] | — |
| cross-encoder/ms-marco-MiniLM-L12-v2 [2] | Cross-Encoder [2] | 33M [2] | 16.5 MB weights only, estimated (params × 0.5 bytes); total runtime VRAM unspecified [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 a model with 23M parameters, first published on Hugging Face on 2022-03-02 [1]. Its Hugging Face identifier is cross-encoder/ms-marco-MiniLM-L6-v2 [1]. The case for choosing it locally rests on its smaller parameter count and lower estimated weight storage compared with ms-marco-MiniLM-L12-v2 from Cross-Encoder [1][2]. Keep parameter counts, calculated weight storage and runtime memory separate when planning an installation. A weight calculation alone cannot establish whether an application fits your hardware.
The context length is 512 tokens [1], matching the 512-token context of cross-encoder/ms-marco-MiniLM-L12-v2 [2]. Context capacity therefore does not distinguish the models. Choosing the smaller model preserves the stated input limit [1][2], although that shared limit does not establish equivalent behavior or output quality. Treat context as an input constraint when comparing local configurations; matching limits do not demonstrate that either model handles a particular task equally well.
The listed F32 weights occupy 0.1 GB [1]. The comparison model also lists 0.1 GB of F32 weights [2], so the published figures provide no storage advantage at their stated precision. Neither figure establishes the complete installed footprint or total runtime memory. Keep space for application files and dependencies separate from the listed weights when preparing an installation budget. Avoid translating either weight figure into a claim about GPU suitability or memory available for another model.
For a parameter-based comparison, the estimated 4-bit weight size is 11.5 MB for cross-encoder/ms-marco-MiniLM-L6-v2 (estimated: 23M parameters × 0.5 bytes per parameter) [1]. The corresponding estimated 4-bit weight size is 16.5 MB for cross-encoder/ms-marco-MiniLM-L12-v2 (estimated: 33M parameters × 0.5 bytes per parameter) [2]. Both calculations cover weights alone. A calculated storage budget does not demonstrate that a compatible quantized build exists, that a runtime accepts particular flags, or that execution will succeed. Verify those details before treating the estimate as an installation plan.
Apache-2.0 licensing applies to both models [1][2]. Their first-publication date is also identical: 2022-03-02 [1][2]. Neither attribute distinguishes the models for local selection. The comparison therefore returns to the shared context limit and different parameter counts [1][2]. Publication timing does not establish supported installation commands, and a model identifier does not establish expected console output. Check execution separately; the specifications cannot define what a successful application run should print.
Choose cross-encoder/ms-marco-MiniLM-L6-v2 when minimizing estimated weight storage is the deciding requirement. Its 23M parameters [1], compared with 33M [2], support that narrow advantage. The deciding attributes are lower calculated weight storage alongside equal stated context, licensing, publication date and listed F32 weight size [1][2]. Keep the recommendation within those limits: the comparison does not establish superior relevance quality, faster execution or a guaranteed runtime memory saving.
2. ms-marco-MiniLM-L12-v2
ms-marco-MiniLM-L12-v2 from Cross-Encoder is a model first published on Hugging Face on 2022-03-02 [2]. Its repository identifier is cross-encoder/ms-marco-MiniLM-L12-v2. Cross-Encoder’s ms-marco-MiniLM-L6-v2 shares that publication date [1], so release timing provides no reason to prefer either model.
The specifications are 33M parameters, a 512-token context length, F32 weights listed at 0.1 GB, and an Apache-2.0 licence [2]. For a local setup, those figures describe the parameter count, input limit, listed weight size and licensing basis. The listed weight size should not be treated as a measurement of total runtime memory.
Against ms-marco-MiniLM-L6-v2, the parameter count is larger: 33M [2] versus 23M [1]. The listed F32 weight sizes are equal at 0.1 GB [1][2]. Those reported sizes do not establish identical runtime memory requirements, nor do they show a weight-size advantage for ms-marco-MiniLM-L12-v2. Keep the distinction between parameter count and listed file size explicit when comparing them.
At 4-bit precision, the weight-only estimate is 16.5 MB, estimated (params × 0.5 bytes) from 33M parameters [2]. The corresponding estimate for ms-marco-MiniLM-L6-v2 is 11.5 MB, estimated (params × 0.5 bytes) from 23M parameters [1]. Both calculations concern weights alone. Neither estimate establishes total VRAM requirements, a suitable GPU capacity, or whether a particular runtime supports that representation.
The case for choosing ms-marco-MiniLM-L12-v2 therefore rests on accepting its specifications for your requirements. Its 512-token context [2] and Apache-2.0 licence [2] may meet those requirements, but ms-marco-MiniLM-L6-v2 offers the same context and licence [1]. Neither category gives the larger model an advantage. A task-fit preference needs task-specific evidence; parameter count alone cannot establish a quality benefit.
For a choice based on parameter count and estimated weight storage, ms-marco-MiniLM-L6-v2 has the advantage described above [1][2]. ms-marco-MiniLM-L12-v2 remains a reasonable option when its stated limits meet your needs and reducing parameter count is not a priority. The comparison supports that conditional choice; it does not establish superior task fit, licensing terms or memory footprint.
What hardware do you need for either model?
For Cross-Encoder’s cross-encoder/ms-marco-MiniLM-L6-v2, estimated weight memory is 11.5 MB at 4-bit (23M parameters × 0.5 bytes per parameter) [1] and 23 MB at 8-bit (23M parameters × 1 byte per parameter) [1]. For Cross-Encoder’s cross-encoder/ms-marco-MiniLM-L12-v2, estimated weight memory is 16.5 MB at 4-bit (33M parameters × 0.5 bytes per parameter) [2] and 33 MB at 8-bit (33M parameters × 1 byte per parameter) [2]. Each estimate covers weights alone, without establishing total runtime VRAM requirements.
For disk planning, the listed F32 weights occupy 0.1 GB for cross-encoder/ms-marco-MiniLM-L6-v2 [1] and 0.1 GB for cross-encoder/ms-marco-MiniLM-L12-v2 [2]. Use those published sizes when budgeting for the original weight files. The quantized estimates above describe calculated weight storage; they do not establish the size of a downloadable quantized package or the total disk space required by a local installation.
For a smaller GPU, cross-encoder/ms-marco-MiniLM-L6-v2 has the lower estimated weight requirement because it has 23M parameters [1], compared with 33M for cross-encoder/ms-marco-MiniLM-L12-v2 [2]. That supports choosing it when weight memory is the deciding constraint. Neither parameter counts nor file sizes establish a minimum GPU capacity, guarantee that either model fits a particular card, or confirm quantization support in your chosen runtime.
Frequently Asked Questions
Which model should I choose for local use?
Choose cross-encoder/ms-marco-MiniLM-L6-v2 when parameter budget decides: 23M parameters [1] versus 33M [2] for cross-encoder/ms-marco-MiniLM-L12-v2. Both list a 512-token context [1][2], Apache-2.0 licensing [1][2], publication on 2022-03-02 [1][2], and F32 weights of 0.1 GB [1][2]. Those figures support choosing the lower parameter count; they do not establish a relevance-quality advantage. No relevance benchmark scores are included in this comparison, so a quality-based recommendation remains unresolved.
How much VRAM do these models need?
Total runtime VRAM requirements are not established by weight size alone. Both models list F32 weights of 0.1 GB [1][2]. Hypothetical 4-bit weight storage is estimated at 11.5 MB for ms-marco-MiniLM-L6-v2 (Cross-Encoder), calculated as 23M parameters × 0.5 bytes [1], and 16.5 MB for ms-marco-MiniLM-L12-v2 (Cross-Encoder), calculated as 33M parameters × 0.5 bytes [2]. Those estimates cover weights only; neither estimate establishes whether a particular GPU can run the model.
What licence applies, and how should I assess commercial use?
Both ms-marco-MiniLM-L6-v2 (Cross-Encoder) [1] and ms-marco-MiniLM-L12-v2 (Cross-Encoder) [2] list Apache-2.0. For a commercial project, the stated licence therefore provides no distinction between the models. Review the Apache-2.0 terms against your intended use and distribution before deployment. Keep that review separate from hardware selection: the shared licence label does not establish runtime compatibility, memory requirements, or operating cost.
Can either model run on a CPU?
CPU compatibility cannot be confirmed from the stated specifications alone. ms-marco-MiniLM-L6-v2 (Cross-Encoder) has 23M parameters [1], while ms-marco-MiniLM-L12-v2 (Cross-Encoder) has 33M [2]; both list F32 weights of 0.1 GB [1][2]. Those figures describe model size, not CPU support or latency. No CPU benchmark is included in this comparison. Check your intended runtime’s compatibility and measure the workload before choosing either model for a CPU deployment.
Which model costs less to run locally?
Neither model has an established operating-cost advantage here. ms-marco-MiniLM-L6-v2 (Cross-Encoder) has 23M parameters [1] versus 33M for ms-marco-MiniLM-L12-v2 (Cross-Encoder) [2], but both report F32 weights of 0.1 GB [1][2]. Parameter count alone does not establish electricity use, execution time, or hardware expense. A purchase price is also not specified in this comparison. Base a cost decision on measurements from your intended hardware and workload.
Can I switch between the models later?
A later switch needs integration checks, although several stated constraints match. Both models list a 512-token context [1][2], Apache-2.0 licensing [1][2], and F32 weights of 0.1 GB [1][2]. The parameter counts differ: 23M for ms-marco-MiniLM-L6-v2 (Cross-Encoder) [1] and 33M for ms-marco-MiniLM-L12-v2 (Cross-Encoder) [2]. Matching specifications do not establish an automatic replacement. Verify runtime support, input processing, output handling, memory use, and relevance on your workload before switching.