Decision models ·

mxbai-rerank-base v2

Task
Reranking search results
Returns
Probability or score
Precision tier
76 / 100
Size
490M
Max input
32K tokens
License
apache-2.0
Released
2025-03

What it decides

Returns
A relevance score for each query and document pair.
Checks
Query and document pairs
Languages
100+ languages
Precision
76 / 100 · Smaller v2 with the same API.
Clarity
Probability or score (15 of 15 clarity points)
How it runs
Scores query and document pairs · a small language model, so it runs in the same apps as LLMs.
License
apache-2.0 (Open (Apache, MIT))

Source: model card on Hugging Face (opens in a new tab) · How decision models are rated

How to run it

Original weights · Hugging Face

Full-precision files from Mixedbread, for Transformers, Sentence Transformers, Text Embeddings Inference, Infinity or vLLM.

huggingface.co/mixedbread-ai/mxbai-rerank-base-v2 (opens in a new tab)

No sign-in needed.

Apps that run mxbai-rerank-base v2

Our pick for each kind of computer, assuming the model fits in its memory. Pick your own GPU or Mac in the Model Finder for an exact answer.

Mac (Apple silicon)

Sentence Transformers

A few lines of Python with Transformers or Sentence Transformers; easiest for scripts and notebooks.

Windows PC, NVIDIA GPU

Sentence Transformers

A few lines of Python with Transformers or Sentence Transformers; easiest for scripts and notebooks.

Also good: vLLM

Windows PC, AMD Radeon

Sentence Transformers

A few lines of Python with Transformers or Sentence Transformers; easiest for scripts and notebooks.

Also good: vLLM

Linux, NVIDIA GPU

vLLM

Serves the scoring head directly (rerank, classify or reward) with batching.

Also good: Sentence Transformers

Linux server, 80 GB+ GPUs

vLLM

Serves the scoring head directly (rerank, classify or reward) with batching.

Also good: Sentence Transformers

App Type Opens it as Systems Engine Start
vLLM Server Original weights WSLWindowsLinux vLLM
vllm serve mixedbread-ai/mxbai-rerank-base-v2
Sentence Transformers Library Original weights macOSWindowsLinux PyTorch Get Sentence Transformers

Which apps can open a model depends on the files published for it: GGUF for llama.cpp-based apps, MLX for Apple’s engine, the original weights for vLLM and SGLang. Compare every app.

Memory and speed

Each quantization on an NVIDIA GeForce RTX 4090, for one decision on a 512-token input. The best hardware table below covers other GPUs and Macs.

Format Memory needed Time per decision Decisions per second Quality Download
Q4_K_M 0.9 GB 8.6 ms 116/s 72Great quality (A) · 72 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking. All files (opens in a new tab)
Q5_K_M 1.0 GB 8.7 ms 115/s 73Great quality (A) · 73 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 88/100 (quality, fit, speed and memory use) sets the ranking. All files (opens in a new tab)
Q6_K 1.0 GB 8.8 ms 114/s 75Great quality (A) · 75 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 88/100 (quality, fit, speed and memory use) sets the ranking. All files (opens in a new tab)
Q8_0 1.1 GB 9.0 ms 111/s 76Great quality (A) · 76 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. All files (opens in a new tab)
F16 1.6 GB 9.9 ms 101/s 76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. Original weights (opens in a new tab)

One request at a time. Servers that batch (Text Embeddings Inference, vLLM, Infinity) handle many more decisions per second.

Best hardware for mxbai-rerank-base v2

The least expensive GPU in our catalog that runs it without offloading is the Intel Arc A380 (launch price $139) at F16.

Quality Hardware Quant Memory Time per decision Runs
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. Sapphire NITRO+ AMD Radeon RX 7900 XTX Vapor-X 24GBAMD Radeon RX 7900 XTX F16 2.8 GB / 24.0 GB 9.4 ms Runs great
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. Sapphire NITRO+ AMD Radeon RX 9070 XT OCAMD Radeon RX 9070 XT F16 2.4 GB / 16.0 GB 11 ms Runs great
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. Framework DesktopAMD Ryzen AI Max+ 395 (128 GB) F16 9.3 GB / 96.0 GB 19 ms Runs great
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. Apple MacBook Pro (14-inch, 2021) (M1 Pro or M1 Max)Apple M1 Max (64 GB) F16 5.4 GB / 48.0 GB 48 ms Runs great
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. Apple Mac Studio (2023) (M2 Max or M2 Ultra)Apple M2 Ultra (192 GB) F16 13.1 GB / 144 GB 21 ms Runs great
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. Apple Mac Studio (2025) (M4 Max or M3 Ultra)Apple M3 Ultra (256 GB) F16 17.0 GB / 192 GB 21 ms Runs great
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. Apple Mac Studio (2025) (M4 Max or M3 Ultra)Apple M3 Ultra (512 GB) F16 32.3 GB / 384 GB 21 ms Runs great
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. Apple MacBook Pro (14-inch, M4 Pro or M4 Max, 2024)Apple M4 Max (128 GB) F16 9.3 GB / 96.0 GB 30 ms Runs great
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. Apple MacBook Pro (14-inch, M4 Pro or M4 Max, 2024)Apple M4 Max (64 GB) F16 5.4 GB / 48.0 GB 30 ms Runs great
76Great quality (A) · 76 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. Apple MacBook Pro (14-inch, M4 Pro or M4 Max, 2024)Apple M4 Pro (24 GB) F16 2.9 GB / 16.1 GB 55 ms Runs great

Check it on your own hardware

Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.