Quick Answer
Cross-Encoder’s cross-encoder/ms-marco-MiniLM-L4-v2 is the top pick for local use as of November 2026 because its estimated 4-bit weight footprint (19M parameters × 0.5 bytes = 9.5 MB) is smaller than Cross-Encoder’s cross-encoder/ms-marco-MiniLM-L6-v2 footprint (23M parameters × 0.5 bytes = 11.5 MB), excluding runtime memory [2][1]. The ranking is ms-marco-MiniLM-L4-v2 (Cross-Encoder), and ms-marco-MiniLM-L6-v2 (Cross-Encoder) [2][1].
Key Takeaways
- Choose Cross-Encoder’s
cross-encoder/ms-marco-MiniLM-L4-v2: its 19M parameters versus 23M for Cross-Encoder’scross-encoder/ms-marco-MiniLM-L6-v2favor a smaller estimated weight footprint.[2][1] cross-encoder/ms-marco-MiniLM-L6-v2has higher download activity: 63,128,527 versus 3,745,174 downloads over the last 30 days as of 2026-11-09; downloads do not establish a quality or speed advantage.[1][2]cross-encoder/ms-marco-MiniLM-L4-v2has 0.1 GB of F32 weights; estimated 4-bit weights are 9.5 MB (19M parameters × 0.5 bytes). Total runtime memory and compatible hardware are unspecified.[2]cross-encoder/ms-marco-MiniLM-L6-v2has 0.1 GB of F32 weights; estimated 4-bit weights are 11.5 MB (23M parameters × 0.5 bytes). Total runtime memory and compatible hardware are unspecified.[1]- Both models use the Apache-2.0 licence and provide a 512-token context, so neither licence nor context distinguishes the local deployment choice.[1][2]
How do ms-marco-MiniLM-L6-v2 and ms-marco-MiniLM-L4-v2 compare?
| Model | Organization | Parameters | VRAM at 4-bit (estimated) | Context | License | Benchmark (date) |
|---|---|---|---|---|---|---|
| cross-encoder/ms-marco-MiniLM-L4-v2 [2] | Cross-Encoder [2] | 19M [2] | 9.5 MB weights only; estimated (19M parameters × 0.5 bytes), excluding runtime overhead [2] | 512 tokens [2] | Apache-2.0 [2] | — |
| cross-encoder/ms-marco-MiniLM-L6-v2 [1] | Cross-Encoder [1] | 23M [1] | 11.5 MB weights only; estimated (23M parameters × 0.5 bytes), excluding runtime overhead [1] | 512 tokens [1] | Apache-2.0 [1] | — |
Which model should you run locally?
1. ms-marco-MiniLM-L4-v2
ms-marco-MiniLM-L4-v2 from Cross-Encoder is a model with 19 million parameters, first published on Hugging Face on March 2, 2022.[2] Its repository identifier is cross-encoder/ms-marco-MiniLM-L4-v2. Choose it over ms-marco-MiniLM-L6-v2 from Cross-Encoder when fewer parameters and lower estimated weight storage are the deciding requirements for local deployment.[1][2]
The published specifications give ms-marco-MiniLM-L4-v2 a context length of 512 tokens, F32 weights listed at 0.1 GB, and the Apache-2.0 licence.[2] Record the repository identifier and intended weight format together when planning an installation. Keep the model name separate from architectural assumptions: the name alone does not establish specifications beyond those documented.
The parameter count provides the concrete distinction: ms-marco-MiniLM-L4-v2 has 19 million parameters, compared with 23 million for ms-marco-MiniLM-L6-v2.[2][1] The published F32 weight sizes are both 0.1 GB, so those listed sizes do not establish a storage advantage for either model.[2][1] A preference for ms-marco-MiniLM-L4-v2 therefore rests on its lower parameter count and the estimated weight payload calculated from that count.[2][1]
At 4-bit, ms-marco-MiniLM-L4-v2 has an estimated weight payload of 9.5 MB, calculated as 19 million parameters × 0.5 bytes per parameter.[2] The same 4-bit calculation gives ms-marco-MiniLM-L6-v2 an estimated weight payload of 11.5 MB, calculated as 23 million parameters × 0.5 bytes per parameter.[1]
Both calculations describe weight storage only. Treat the estimates as planning figures, separate from measured runtime memory and the complete installation footprint. Neither calculation establishes that a corresponding quantized download exists, that a particular loading configuration supports it, or that a particular machine can run it. Do not turn a payload estimate into a hardware compatibility claim.
For installation planning, leave dependency sizes, loading flags and expected console output unspecified until they can be established for the chosen setup. No installation command, named flag or successful first-run printout is documented here. A practical deployment record should distinguish the published weight listing, any calculated payload and any measurements obtained during deployment. Keep those categories explicit rather than presenting the calculated payload as the space the installation will occupy.
The remaining deciding specifications are tied: both models were first published on March 2, 2022, both have a 512-token context length, and both carry the Apache-2.0 licence.[1][2] Selecting ms-marco-MiniLM-L4-v2 therefore preserves the documented context limit and licence while choosing fewer parameters.[1][2] Those shared specifications provide no basis for preferring either model’s output quality or execution speed.
Choose cross-encoder/ms-marco-MiniLM-L4-v2 when lower parameter count and lower estimated weight storage decide the deployment.[2][1] Its 19 million parameters, against 23 million for ms-marco-MiniLM-L6-v2, support that recommendation.[2][1] Keep the recommendation conditional on those priorities; a quality or speed preference remains unresolved.
2. ms-marco-MiniLM-L6-v2
ms-marco-MiniLM-L6-v2 from Cross-Encoder is the model published on Hugging Face as cross-encoder/ms-marco-MiniLM-L6-v2, first published there on 2022-03-02.[1] Its specifications list 23 million parameters, a context length of 512 tokens, F32 weights occupying 0.1 GB, and the Apache-2.0 licence.[1] Those figures describe its published configuration; they do not establish a particular device’s ability to run it.
Memory is the clearest numerical distinction from the alternative. Cross-Encoder’s ms-marco-MiniLM-L4-v2 has 19 million parameters, compared with 23 million for this model.[2][1] Both list the same F32 weight size of 0.1 GB.[1][2] The parameter counts distinguish their potential weight-storage requirements more clearly than those matching published size figures.
At 4-bit precision, weight storage is an estimated 11.5 MB, calculated as the cited 23 million parameters × 0.5 bytes per parameter.[1] The alternative’s corresponding estimated 9.5 MB uses its cited 19 million parameters × 0.5 bytes per parameter.[2] Both calculations describe parameter storage under that assumption. Neither estimate establishes total runtime memory, quantized-model availability, hardware compatibility or achievable throughput.
Context and licensing provide no advantage for this model. Both models specify a context length of 512 tokens and use the Apache-2.0 licence.[1][2] Their first-publication dates on Hugging Face also match: 2022-03-02.[1][2] Choosing this model therefore does not buy a documented increase in context capacity, a different licence or a later release.
Task fit needs a separate decision. No benchmark score is available here to establish that this model produces better results for your workload. The larger parameter count alone cannot settle that question.[1][2] If your application already uses this exact repository, retaining it while you evaluate the alternative is a reasonable workflow choice. Describe that choice as continuity pending validation, rather than a demonstrated quality advantage.
For a fresh local deployment selected solely on parameter-derived weight storage, the alternative wins that narrow comparison.[1][2] Choose this model when validation on your actual workload justifies it. The available figures establish no compensating advantage in memory footprint, context, licence or release date.[1][2] A recommendation based on task quality must wait for task-specific evidence.
What hardware do you need for either model?
ms-marco-MiniLM-L6-v2 (Cross-Encoder) has 23 million parameters [1], giving estimated weight memory of 11.5 MB at 4-bit (parameters × 0.5 bytes) [1] and 23 MB at 8-bit (parameters × 1 byte) [1]. ms-marco-MiniLM-L4-v2 (Cross-Encoder) has 19 million parameters [2], giving estimated weight memory of 9.5 MB at 4-bit (parameters × 0.5 bytes) [2] and 19 MB at 8-bit (parameters × 1 byte) [2]. Those calculations describe weight storage, rather than total memory needed to run either model.
For disk planning, ms-marco-MiniLM-L6-v2 (Cross-Encoder) lists 0.1 GB of F32 weights [1], and ms-marco-MiniLM-L4-v2 (Cross-Encoder) also lists 0.1 GB of F32 weights [2]. Use those listed file sizes when budgeting for the published weights. The quantized estimates above are calculations from parameter counts, rather than measured sizes of downloadable quantized files or complete local installations.
For a smaller GPU memory budget, cross-encoder/ms-marco-MiniLM-L4-v2 has the smaller estimated weight footprint [1][2]. Choose it if minimizing weight memory is your deciding criterion. Neither the parameter counts nor the listed weight sizes establish a minimum GPU capacity or confirm that a particular device can run either model. Treat the estimates as a starting point for memory planning, not a hardware compatibility guarantee.
Frequently Asked Questions
Which model should I choose for local use?
Choose cross-encoder/ms-marco-MiniLM-L4-v2 if lower parameter count is your priority: 19M versus 23M for cross-encoder/ms-marco-MiniLM-L6-v2.[2][1] Both list a 512-token context, 0.1 GB of F32 weights, Apache-2.0 licensing and a first publication date of 2022-03-02.[1][2] Those shared specifications provide no further deciding advantage. A recommendation based on retrieval quality would require comparable benchmark scores; no quality winner can be established here.
How much VRAM do I need?
Estimated 4-bit weights (parameters × 0.5 bytes) are 9.5 MB for ms-marco-MiniLM-L4-v2 (Cross-Encoder), based on 19M parameters,[2] and 11.5 MB for ms-marco-MiniLM-L6-v2 (Cross-Encoder), based on 23M parameters.[1] Both list F32 weights of 0.1 GB.[1][2] Weight storage alone does not establish total runtime VRAM or GPU compatibility. Measure actual memory use with your intended runtime and workload before selecting hardware.
Can I use either model commercially?
Yes. Both ms-marco-MiniLM-L6-v2 (Cross-Encoder) and ms-marco-MiniLM-L4-v2 (Cross-Encoder) list Apache-2.0, which permits commercial use.[1][2] The matching licence gives neither model an advantage for that decision. Review the licence terms for your planned use and distribution before shipping. Commercial permission does not establish which model better meets your application’s quality, memory or performance requirements; assess those requirements separately before choosing.
Can either model run on a CPU?
CPU compatibility cannot be established from the listed specifications alone. Both ms-marco-MiniLM-L6-v2 (Cross-Encoder) and ms-marco-MiniLM-L4-v2 (Cross-Encoder) report F32 weights of 0.1 GB,[1][2] but that figure does not establish CPU support, total system-memory requirements or inference latency. Confirm support in your intended runtime, then measure memory use and response time on your own machine before committing to a CPU deployment.
Which model costs less to run locally?
A numerical running-cost comparison cannot be established without hardware, electricity and runtime measurements. ms-marco-MiniLM-L4-v2 (Cross-Encoder) has 19M parameters,[2] compared with 23M for ms-marco-MiniLM-L6-v2 (Cross-Encoder).[1] The lower parameter count supports choosing it when parameter count is the deciding constraint, but does not establish lower electricity use or operating cost. Both report F32 weights of 0.1 GB,[1][2] so the listed file size provides no cost distinction.
Can I switch between the models later?
Treat a later switch as an application change to validate. ms-marco-MiniLM-L6-v2 (Cross-Encoder) and ms-marco-MiniLM-L4-v2 (Cross-Encoder) share a 512-token context and Apache-2.0 licence,[1][2] so those specifications introduce no difference when switching. Matching context and licensing do not establish identical outputs or runtime compatibility. Configure the exact repository identifier, then check your application’s outputs, memory use and latency before adopting the replacement.