← All work

Qwen3 Reranker API

A standalone, GPU-accelerated reranking service using Qwen3-Reranker-0.6B behind a Cohere-compatible /v2/rerank endpoint, so RAG pipelines can swap a hosted reranker for a local one.

October 2025ShippedSource on GitHub ↗

Retrieval pipelines often call Cohere's rerank endpoint. This service exposes the same /v2/rerank contract backed by Qwen3-Reranker-0.6B running locally on the GPU, so an existing pipeline can switch to a self-hosted reranker by changing a base URL. Ships with bash and Python test suites that exercise the API.

Hard parts

  • Matching the Cohere request/response shape exactly so clients need no changes

More work