Skip to content
Fourohtwo

Cohere/Jina-style rerank

quickbuild.quynguyenbac.workers.dev/v1/rerank

Cohere/Jina-style rerank: POST {query, documents: string[] | {text}[], top_n, return_documents} and get {results: [{index, relevance_score, document?}]} sorted by relevance. Models (Cloudflare Workers AI): bge-reranker-base (cross-encoder, English/Chinese, scores 0..1); bge-m3 (multilingual similarity scoring) (default bge-reranker-base; other names map to it). Up to 100 documents, each scored on

BaseAnswering
GEThttps://quickbuild.quynguyenbac.workers.dev/v1/rerank

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://quickbuild.quynguyenbac.workers.dev/v1/rerank?query=How+do+AI+agents+pay+for+APIs%3F&top_n=2&documents=%3Cdocuments%3E");
console.log(await res.json());

Example input

{
  "query": "How do AI agents pay for APIs?",
  "top_n": 2,
  "documents": [
    "x402 uses HTTP 402 so agents pay per request with USDC.",
    "Bananas are rich in potassium."
  ]
}

More from QuickBuildProvider status