Free BGE Reranker Base API via Cloudflare Workers AI with 10,000 daily free Neurons. Zero setup fee, no credit card required.
Different from embedding model, reranker uses question and document as input and directly output similarity instead of embedding. You can get a relevance score by inputting query and passage to the reranker. And the score can be mapped to a float value in [0,1] by sigmoid function.
Cloudflare Workers AI gives every free account 10,000 Neurons/day (~10k tokens, dozens of image generations, or audio transcriptions). Sign in with GitHub with no credit card required and call via Workers bindings or the REST API.
Cloudflare Workers AI gives every free account a daily free quota of 10,000 Neurons (about 10k tokens a day, dozens of image generations, or several audio transcriptions). No overseas credit card is required. GitHub one-click sign-in is supported, and you can call it worldwide at low latency through a Workers binding or the unified REST API.
Different from embedding model, reranker uses question and document as input and directly output similarity instead of embedding. You can get a relevance score by inputting query and passage to the reranker. And the score can be mapped to a float value in [0,1] by sigmoid function.
Call it directly with your own Cloudflare account Account ID and an API Token that has Workers AI permission. Standard REST endpoints are supported, and you can also paste your Key into this site's Playground to try it online.
Chat with free AI models right in your browser — multi-turn conversations, switch models mid-chat, and your API key stays in this browser.
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/@cf/baai/bge-reranker-base \
-H "Authorization: Bearer $CF_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"text": ["Cloudflare Workers AI embeddings demo", "Search retrieval query"]}'
Community Feedback
Comments are tied to your GitHub account — sign in to join the discussion.