Reranking Demo: What Rerank Depth Can and Cannot Fix
Runs BM25 over your own documents, then shows the ceiling reranking is bounded by — because a reranker can only reorder what the first stage handed it.
Every relevant document is inside depth 4, so a perfect reranker could reach 100%. A real cross-encoder will land somewhere below this ceiling.
- Documents in the corpus
- 10
- Marked relevant by you
- 3
- Recall@3 from BM25 alone
- 100%
- Relevant documents inside depth 4
- 3 of 3
- Relevant documents already lost
- 0
- Recall@3 ceiling after reranking
- 100%
- Documents reranked per query
- 4
- Rerank cost per 1,000 queries
- $0.20
- 13.88Rotating an API key with no downtime: create the new key, deploy it everywhere, confirm traffic has moved, and only then revoke the old one.rel
- 21.89An overlap window during which both the old key and the new key are accepted is what makes a rotation invisible to callers.rel
- 31.82If a key has leaked, revoke it immediately and accept the downtime. Graceful rotation is for planned changes, not for a compromise.rel
- 41.58Changing your account password does not invalidate any API key.depth 4 — nothing below here is ever seen
- 51.17API keys are long-lived by default. Every key you have created is listed on the keys page with its last-used timestamp.
- 60.97Webhook signing secrets are separate from API keys and are rotated on their own schedule.
- 70.56Rate limits are applied per key, so a newly created key starts with a fresh limit window.
- 80.38The keys page shows only the last four characters of a key. The full value is shown once, at creation.
- 90.00Invoices are issued monthly and can be downloaded as PDF from the billing page at any time.
- 100.00SSO setup: map your identity provider groups to roles before you invite anyone, or the first login lands in the wrong role.
What the ceiling is for
Reranking is usually described as an accuracy win, which it is, and almost never described in terms of what bounds it, which is the part that decides whether it will help you. A reranker is a second pass over a candidate list. It cannot retrieve. Every document your first stage failed to return is gone before the reranker exists, and the best possible outcome of any reranking setup is therefore recall@k of the first stage — where k is the depth you send, not the number you keep.
That is why the slider is the whole tool. Teams add a reranker, see a modest improvement, and conclude reranking is overrated. Often what happened is that they sent it the top 10, and half the relevant documents were sitting at positions 15 to 40. Drag the depth up and the ceiling moves; drag it down and watch it collapse, usually faster than you expected.
The cost row is the other half of the decision. Reranking cost is linear in depth and independent of how many documents you keep, so depth 100 costs ten times depth 10 for the same three chunks in the prompt. Somewhere between those is the point where the ceiling stops rising and you are paying for reordering documents that were never going to matter. The honest way to find it is to mark relevance on 30 or 40 of your own queries, sweep the depth, and read where the ceiling curve flattens.
What this does not tell you is how close to the ceiling your reranker actually gets. That needs the reranker, your data and a labelled set — this page gives you the bound the measurement will sit under.