zerank-2

Open weights · ZeroEntropy, now part of Notion ·

Open weightsApache 2.0GPU recommendedAPI closed

zerank-2 is ZeroEntropy’s 4B reranker, built on Qwen3-4B with a 32,768-token context. The weights are on Hugging Face under Apache 2.0, so you can serve it yourself. ZeroEntropy’s own API, which last listed $0.025 per million tokens, was shut down on 4 September 2026 after the company joined Notion. Its published scores come from ZeroEntropy’s own seven-domain test. They are strong, but they can’t be compared with anyone’s BEIR figures.

The licence

ZeroEntropy relicensed every one of its models to Apache 2.0 on 24 July 2026, the day it announced it was joining Notion, and the Hugging Face model card says Apache 2.0. An earlier version of ZeroEntropy’s models documentation, now offline with the rest of the site, called zerank-2 non-commercial and asked commercial users to get in touch; the company’s own announcement supersedes that line.

Commercial self-hosting therefore rests on the Apache 2.0 licence on the model card. It comes without a warranty or a support contract — ZeroEntropy no longer sells either.

Scores, and whose they are

DomainEmbeddings onlyzerank-2Cohere rerank-3.5
Web0.3819*0.6346*0.5594*
Conversational0.4305*0.6140*0.5648*
STEM and logic0.3744*0.6521*0.5418*
Code0.4582*0.6528*0.5364*
Legal0.4101*0.6644*0.5257*
Biomedical0.4783*0.7217*0.6246*
Finance0.6232*0.7600*0.7402*
Average0.4509*0.6714*0.5847*

ZeroEntropy’s own run, from the model card. The metric is NDCG@10, and every reranker reorders the same top 100 candidates from OpenAI’s text-embedding-3-small; “embeddings only” is that first stage on its own. The datasets are ZeroEntropy’s, not BEIR, so the models table lists no BEIR figure for zerank-2.

The same run puts the older zerank-1 at 0.6456* on average, and Gemini 2.5 Flash, used as a listwise reranker, at 0.5999*. Finance is the one domain where zerank-2 doesn’t lead: Gemini scores higher there. What the table shows most clearly is the size of the jump any of these rerankers gives over embeddings alone. That jump is the thing to measure on your own data.

Quick start

sentence-transformers

pip install sentence-transformers

from sentence_transformers import CrossEncoder

model = CrossEncoder("zeroentropy/zerank-2-reranker")

rankings = model.rank(
    "What is 2+2?",
    ["4", "The answer is definitely 1 million"],
)
# [{'corpus_id': 0, 'score': 5.40625}, {'corpus_id': 1, 'score': -4.5}]

Since May 2026, predict() and rank() return a raw logit rather than a 0–1 probability. The ranking is the same either way. For a 0–1 score, apply sigmoid(score / 5), as the model card does. Loading no longer needs trust_remote_code=True.

The API, and what replaced it

ZeroEntropy ran zerank-2 as a hosted API: $0.025 per million tokens, the same price it listed for zerank-1 and zerank-1-small, served from US-East, US-West and Europe. That API is closed. ZeroEntropy was acquired by Notion on 24 July 2026 and said its products would be supported until 4 September 2026 and then sunset; zeroentropy.dev and docs.zeroentropy.dev no longer resolve (checked 20 November 2026). The price above is the last one listed, not something you can buy today.

What is left is the model: the weights on Hugging Face are the ones the API served, and the sentence-transformers quick start above runs them on your own GPU. If you would rather not run a GPU, the cost calculator compares the hosted rerankers that are still selling — Cohere Rerank 5, Voyage rerank-3, Jina and the cloud platforms.

ZeroEntropy’s site also listed two smaller models, zerank-2-small and zerank-2-nano, with neither a price nor a model card, and neither is published on Hugging Face. With the company gone there is nothing more to say about them.

When to pick zerank-2

Pros and cons

Pros

  • Apache 2.0 weights, so self-hosting carries no per-token bill
  • 32K context
  • Loads directly with sentence-transformers’ CrossEncoder
  • Leads Cohere rerank-3.5 in every domain of ZeroEntropy’s own test

Cons

  • No hosted API since September 2026: self-hosting is the only route
  • Published scores are the vendor’s own, on its own datasets
  • 4B parameters: GPU required for comfortable latency
  • Too large for our in-browser demo

Measure it against what you run now

Rerank the same top 100 from your current retriever with zerank-2 and with your current setup, on 30 labelled queries.

Evaluate guide → All models →

Other models

Deciding between them? Compare the rerankers on the same benchmarks →