GreenPT green-rerank
green-rerank API, a reranker hosted in the EU
green-rerank is GreenPT's reranking model: a cross-encoder that reads your query next to each retrieved document and scores how well the document answers it. It runs in European data centres and is billed per input token in euros.
Send a query and a list of documents to POST /v1/rerank, set top_n, and get the best matches back, each with a relevance score.
The short answer
What is the green-rerank API?
green-rerank is GreenPT's reranker API, served from EU data centres. POST a query and a list of documents to https://api.greenpt.ai/v1/rerank and it returns the documents ordered by relevance, each with a relevance score and its original index. It is the step between vector search and your chat model, billed per input token.
- Model ID
- green-rerank
- EU base URL
- https://api.greenpt.ai/v1
- Context window
- 32K tokens
- Backing model
- Qwen3-Reranker-4B, a multilingual cross-encoder (100+ languages)
- Response
- index and relevance_score per document, best match first
curl https://api.greenpt.ai/v1/rerank \
-H "Authorization: Bearer $GREENPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "green-rerank",
"query": "How do I rotate an API key?",
"documents": [
"Rotate keys from the dashboard under API keys.",
"Invoices are emailed on the first of the month."
],
"top_n": 1
}'Prices
What green-rerank costs
Rates per million input tokens, read from the GreenPT price list when this page was built. Reranking has no output charge.
| Model | Context | Price (EUR, excl. VAT) |
|---|---|---|
| green-rerank | 32K |
|
Use cases
What teams use green-rerank for
RAG pipelines
Retrieve a wide set of passages with embeddings, rerank them, and send only the top_n to your chat model. Fewer, better passages mean fewer input tokens per answer.
Search relevance
Reorder results from a vector database or search index by what the query means, not only by the words it shares with a document.
Hybrid search
Merge keyword (BM25) and embedding results into one list and let the reranker decide the order.
Question answering
Rank passages by how likely they are to contain the answer, then quote the best one.
Multilingual collections
Score documents in more than 100 languages with one model and one API key.
Why GreenPT
Why run green-rerank on GreenPT
GreenPT is a Dutch company, GreenPT BV in Utrecht. EU inference is the default endpoint, not a region you opt into, and account, billing and usage data stay in the EU whichever endpoint you call.
EU endpoint by default; the US endpoint only when you call it by name.
Your prompts and outputs are never used for training.
One API key for chat, embeddings, rerank, OCR and speech.
Prepaid credits in euros that do not expire.
The energy and CO2 of every request in the response body.
green-rerank on GreenPT, in short
Where is green-rerank hosted?
green-rerank is served from GreenPT's EU endpoint, so your queries and documents are processed in EU data centres. Account, billing and usage data stay in the EU too, and GreenPT never trains on what you send.
How much does green-rerank cost?
green-rerank is billed per million input tokens in euros: the query and the documents you send. There is no output charge. The price table on this page shows the current rate from the GreenPT price list.
How do I call the green-rerank API?
POST JSON to https://api.greenpt.ai/v1/rerank with a Bearer API key, the model set to green-rerank, a query and a documents array. top_n limits how many results come back, and return_documents adds the text to each result. The same key works for chat and embeddings.
Why rerank after embedding search?
Embedding search compares a query vector with document vectors computed separately. That is fast, but it can miss how a document relates to the question. A cross-encoder such as green-rerank reads the query and each document together, so it orders a shortlist more precisely.
Do I need a subscription to use green-rerank?
No. Create a free API-only account, buy prepaid credits and pay per input token. Credits do not expire, and chat subscriptions are separate and optional.
Read next
More models and guides
- GLM-5.3 APIz.ai's flagship for agentic coding and tool use.
- GLM-5.3 Flash APIThe light tier of GLM-5.3: the same 1M-token context for less per token.
- Kimi K3.1 Pro APIMoonshot AI's multimodal agentic model, successor to Kimi K3.
- The GreenPT APIEvery endpoint behind one key: chat, embeddings, rerank, OCR and speech.
- EU inference APIWhy a European provider, and what to ask before you choose one.
- The 10 best EU inference providers of 2027Ten providers ranked on residency, models, price and developer experience.
- Sovereign AI in EuropeWhy EU ownership matters as much as an EU data centre.
- GreenPT vs ScalewayTwo European inference APIs, side by side.
- GreenPT vs OpenRouterA European provider versus a global router.
Start building
Run green-rerank in the EU today.
A free API-only account, credits in euros and the base URL you already know how to use.
- EU hosted
- OpenAI-compatible
- 100% renewable
