Quick Answer
Alibaba-NLP/gte-reranker-modernbert-base from Alibaba NLP is the top pick for local use as of November 2026 when minimizing weight storage: 0.6 GB of F32 weights versus 16.4 GB of BF16 weights for Qwen/Qwen3-Reranker-8B from Qwen [1][3]. The ranking is gte-reranker-modernbert-base (Alibaba NLP), and Qwen3-Reranker-8B (Qwen) [1][3].
Key Takeaways
- Prefer Alibaba NLP’s
Alibaba-NLP/gte-reranker-modernbert-basewhen minimizing weight storage: 0.6 GB F32 versus 16.4 GB BF16 for Qwen’sQwen/Qwen3-Reranker-8B[1][3]. Qwen/Qwen3-Reranker-8Bsupports longer inputs: 40K tokens versus 8K tokens forAlibaba-NLP/gte-reranker-modernbert-base[3][1].- Alibaba NLP hardware planning: raw 4-bit weights would occupy an estimated 0.075 GB (150M parameters × 0.5 bytes); that estimate does not establish total RAM or VRAM requirements [1].
- Qwen hardware planning: raw 4-bit weights would occupy an estimated 4.1 GB (8.2B parameters × 0.5 bytes), about one quarter of the 16.4 GB BF16 weights; total runtime memory requirements remain unspecified [3].
- Both models use the Apache-2.0 licence, so licence choice does not distinguish them [1][3].
How do gte-reranker-modernbert-base and Qwen3-Reranker-8B compare?
| Model | Organization | Parameters | VRAM at 4-bit (estimated) | Context | License | Benchmark (date) |
|---|---|---|---|---|---|---|
| Alibaba-NLP/gte-reranker-modernbert-base [1] | Alibaba NLP [1] | 150M [1] | 75 MB estimated (150M parameters × 0.5 bytes; weights only, excludes runtime overhead) [1] | 8K tokens [1] | Apache-2.0 [1] | — |
| Qwen/Qwen3-Reranker-8B [3] | Qwen [3] | 8.2B [3] | 4.1 GB estimated (8.2B parameters × 0.5 bytes; weights only, excludes runtime overhead) [3] | 40K tokens [3] | Apache-2.0 [3] | — |
Which model should you run locally?
1. gte-reranker-modernbert-base
gte-reranker-modernbert-base from Alibaba NLP is a reranking model first published on Hugging Face on 2025-01-20 [1]. Its repository identifier is Alibaba-NLP/gte-reranker-modernbert-base [1]. For local deployment where smaller model weights are the deciding factor, it is the better pick: its F32 weights occupy 0.6 GB [1], compared with 16.4 GB of BF16 weights for Qwen3-Reranker-8B from Qwen [3].
The Alibaba NLP model has 150M parameters and an 8K-token context window [1]. Its Apache-2.0 licence matches the licence of the Qwen model [1][3]. Licensing therefore does not distinguish the models in this comparison. The practical choice comes down to the published weight sizes and whether the available context window covers your intended input.
Quantized weight storage can be estimated from the parameter count. At 4-bit precision, the Alibaba NLP model would have approximately 75 MB of weights—estimated (150M parameters × 0.5 bytes) [1]. The estimate describes parameter storage alone; it does not establish an available checkpoint, a supported quantization workflow, or total runtime memory. Quantization metadata and inference allocations are outside that calculation.
The published 0.6 GB F32 weight size [1] also needs a precise interpretation. A weight file size is not a complete installation footprint or a guarantee that inference fits within an equivalent amount of RAM or VRAM. Use the figure to compare the storage occupied by the published weights, without treating it as a hardware requirement.
For deployment planning, keep checkpoint storage, complete installation size and runtime memory as separate checks. Avoid turning a weight-storage estimate into a GPU recommendation. A repository identifier also does not establish installation flags or what a successful first run prints. Verify those details for the implementation you intend to run. Treat a downloaded checkpoint and a completed inference run as separate milestones; neither the published weight size nor the parameter count supplies an expected console transcript.
Context capacity is the reason to consider the larger alternative. The Alibaba NLP model supports 8K tokens [1], while the Qwen model supports 40K tokens [3]. Inputs exceeding the former limit fall outside its stated context capacity. The larger window can therefore decide the choice when input length matters more than keeping weight storage small.
Choose the Alibaba NLP model when its 8K-token context is sufficient [1] and minimizing published weight storage is your priority: 0.6 GB of F32 weights [1] versus 16.4 GB of BF16 weights [3]. Those figures support a local recommendation based on weight footprint. They do not establish superior reranking accuracy, inference speed, or compatibility with a particular machine.
2. Qwen3-Reranker-8B
Qwen3-Reranker-8B from Qwen is a reranking model first published on Hugging Face on 2025-05-29 [3]. Its repository identifier is Qwen/Qwen3-Reranker-8B [3]. The accompanying paper, “Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models,” was published on 2025-06-05 [4].
The model has 8.2 billion parameters, a context length of 40K tokens, and 16.4 GB of BF16 weights [3]. Qwen distributes it under the Apache-2.0 licence [3]. Those figures describe parameter count, context capacity, weight storage and licensing; the weight size alone does not establish a complete installation footprint or a total GPU or system-memory requirement.
For quantized planning, 4-bit weights would occupy approximately 4.1 GB—estimated as 8.2 billion parameters × 0.5 bytes per parameter [3]. That estimate is about one quarter of the listed 16.4 GB BF16 weight size [3]. Treat the calculation as a weight-only estimate, not a measured checkpoint size or a promise that a particular graphics card can run the model. The calculation does not establish memory requirements at the full 40K-token context [3].
Alibaba NLP’s Alibaba-NLP/gte-reranker-modernbert-base has 150 million parameters and 0.6 GB of F32 weights [1]. Qwen’s model therefore offers no advantage in the listed weight footprint: its BF16 weights occupy 16.4 GB [3]. If reducing weight storage is the deciding factor, the Alibaba NLP model remains the supported choice on those figures [1][3]. Neither weight figure establishes which machines can run a complete inference workload.
The reason to choose Qwen is context capacity. Its 40K-token limit exceeds the Alibaba NLP model’s 8K-token limit [1][3]. For reranking inputs that exceed the latter limit but remain within the former, Qwen provides the relevant context allowance [1][3]. That is a concrete task-fit advantage when input length determines model selection; it does not establish better ranking quality or faster execution.
Licensing does not separate the models: both use Apache-2.0 [1][3]. Choose Qwen when its 40K-token context is necessary and its memory requirements have been established for your deployment [3]. Choose the Alibaba NLP model when its 8K-token context is sufficient and the smaller listed weight footprint decides the comparison [1][3].
What hardware do you need for either model?
Alibaba NLP’s Alibaba-NLP/gte-reranker-modernbert-base has 150M parameters [1]. Estimated weight storage is 75 MB at 4-bit (150M parameters × 0.5 bytes) [1] and 150 MB at 8-bit (150M parameters × 1 byte) [1]. Qwen’s Qwen/Qwen3-Reranker-8B has 8.2B parameters [3]. Estimated weight storage is 4.1 GB at 4-bit (8.2B parameters × 0.5 bytes) [3] and 8.2 GB at 8-bit (8.2B parameters × 1 byte) [3].
For disk planning, the published weight files occupy 0.6 GB in F32 for Alibaba-NLP/gte-reranker-modernbert-base [1] and 16.4 GB in BF16 for Qwen/Qwen3-Reranker-8B [3]. Those figures describe weight files, not complete installation footprints. Quantized weight estimates also do not establish the size of a downloadable package or the disk space needed during conversion.
On weight storage alone, Alibaba-NLP/gte-reranker-modernbert-base is the practical choice for smaller GPUs [1][3]. Neither parameter-based estimate establishes total VRAM or RAM requirements, so neither guarantees compatibility with a particular card. Context provides a separate reason to consider Qwen/Qwen3-Reranker-8B: its window is 40K tokens [3], compared with 8K tokens for Alibaba-NLP/gte-reranker-modernbert-base [1]. Those context limits do not establish memory requirements at full context.
Frequently Asked Questions
Which model should I choose for local reranking?
Choose Alibaba NLP’s Alibaba-NLP/gte-reranker-modernbert-base when minimizing weight storage is the priority: its F32 weights occupy 0.6 GB [1]. Choose Qwen/Qwen3-Reranker-8B when you need its 40K-token context [3], compared with the Alibaba model’s 8K-token context [1]. Qwen’s BF16 weights occupy 16.4 GB [3]. Those figures support a choice based on weight size and context length. Reranking quality remains undecided in this comparison; parameter count alone does not establish which model will handle your documents better.
How much VRAM do I need?
Weight sizes are a starting point, not a complete VRAM requirement. Alibaba-NLP/gte-reranker-modernbert-base lists 0.6 GB of F32 weights [1]; Qwen3-Reranker-8B (Qwen) lists 16.4 GB of BF16 weights [3]. For Qwen, 4-bit weights alone would occupy an estimated 4.1 GB (8.2B parameters × 0.5 bytes), excluding quantization metadata and runtime memory [3]. That estimate does not establish whether a particular GPU can run the model at your intended context length.
Can I use either model commercially?
Alibaba-NLP/gte-reranker-modernbert-base and Qwen3-Reranker-8B (Qwen) both use Apache-2.0, which permits commercial use subject to its terms [1][3]. The stated licence therefore does not distinguish them for this decision [1][3]. Review the licence terms for your deployment and distribution plans. Then evaluate the hardware separately: the Alibaba model lists 0.6 GB of F32 weights [1], while Qwen lists 16.4 GB of BF16 weights [3]. Licence permission does not establish hardware suitability.
Can either model run on a CPU?
CPU suitability is not established by the listed model specifications. Alibaba-NLP/gte-reranker-modernbert-base has 150M parameters and 0.6 GB of F32 weights [1]; Qwen3-Reranker-8B (Qwen) has 8.2B parameters and 16.4 GB of BF16 weights [3]. Those figures describe parameters and weights, without establishing CPU support, total RAM requirements, or latency. Check support in your intended inference software, then measure memory use and response time with your own query-document pairs before choosing a CPU deployment.
What will running either model locally cost?
A fixed deployment price cannot be calculated from the listed specifications. Alibaba-NLP/gte-reranker-modernbert-base has 0.6 GB of F32 weights [1], compared with 16.4 GB of BF16 weights for Qwen3-Reranker-8B (Qwen) [3]. The Alibaba model therefore has a smaller stated weight-storage requirement [1][3], but that does not establish total installation size or operating cost. Budget for your chosen hardware and electricity, and measure the intended workload before estimating ongoing costs.
Can I switch between the models later?
Plan to validate a switch in your application. Check inference-software support, input formatting, memory use, and reranking results before replacing either model. Moving from Qwen3-Reranker-8B (Qwen) to Alibaba-NLP/gte-reranker-modernbert-base reduces the stated context limit from 40K tokens [3] to 8K tokens [1]. Moving in the opposite direction changes the listed weights from 0.6 GB F32 [1] to 16.4 GB BF16 [3]. Both use Apache-2.0 [1][3], but a shared licence does not establish deployment compatibility.
Sources
- Alibaba-NLP/gte-reranker-modernbert-base model card (Hugging Face) — 2026-11-11 · gte-reranker-modernbert-base on Q4KM
- Towards General Text Embeddings with Multi-stage Contrastive Learning — 2023-08-07
- Qwen/Qwen3-Reranker-8B model card (Hugging Face) — 2026-11-12 · Qwen3-Reranker-8B on Q4KM
- Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models — 2025-06-05