rerank.mojojojo.cc
Rerank API
Cohere-style reranking with the MiniLM-L6 cross-encoder on Mojo CPU kernels, $10 per million pairs
Live
Pricing
| Meter | Price | Free each month |
|---|---|---|
| Query-document pairs | $0.01 per thousand pairs | 1,000 pairs |
Billed from your mojojojo credits ($0.001 each). Nothing accrues without an API key, and a request is refused once the free allowance is spent and the balance is empty.
Try it
Loading your account…
Playground
Call it
curl https://rerank.mojojojo.cc/v1/rerank \
-H "Authorization: Bearer $MOJOJOJO_KEY" -H "Content-Type: application/json" \
-d '{"query":"capital of france","documents":["Paris is the capital.","Bananas are yellow."],"top_n":1}'
Endpoints
POST /v1/rerank
Agents: MCP · OpenAPI · llms.txt
Model
cross-encoder/ms-marco-MiniLM-L6-v2 (Apache-2.0), revision 233902d2
Limits and measured results
- Scores are raw cross-encoder logits (higher is more relevant); not comparable across queries.
- Up to 512 documents per request; each document is truncated to 512 tokens with the query.
- Max logit difference to PyTorch 2.9e-06.
- Speed: 0.34x PyTorch at batch 1, 0.89x at batch 200. English MS MARCO passages only; evaluate on your own data.
