Routing
Provider selection
Choose miners with the provider object, or let auto mode choose by score.
Routing preferences go in the provider object. A provider is a miner, named by its account address.
Auto mode
Send no provider object and the router chooses. It considers miners that
- serve the requested model,
- have a session endpoint the router has proven, and
- report ready,
and tries them in order of score. In grant mode a miner also needs a live signed offer. What happens when a miner fails is on the fallbacks page.
The score runs from 0 to 100 and comes from on-chain facts: how a miner's paid sessions ended, how many and how recent, who paid for them, its stake, its slashing record and its calibration. The formula is not published. The inputs are, on every miner in GET /v1/miners and on the miners page.
The provider object
| Field | Type | Meaning |
|---|---|---|
order | string[] | Try these miners first, in this order. |
only | string[] | Use these miners and no others. |
ignore | string[] | Never use these miners. |
sort | reliability or latency | reliability (default) orders by score. latency orders by the router's measured proof latency. |
allow_fallbacks | boolean | With order: whether other miners may be tried after the listed ones. Default true. |
More routing preferences Not live yet
More routing preferences:
| Field | Here |
|---|---|
order, only, ignore | Miner addresses, or the host of a miner's session endpoint. |
sort | A string or {by, partition}. reliability (the default): the miner's score. latency and throughput: router-measured time to the verified reply. price: every miner serving a model costs the same here, so the default order applies. |
max_price | {prompt, completion, request} in FLOP, per million tokens (request: per request). A model above it is skipped. |
require_parameters | true: refuse the request (503) when the model ignores a parameter you sent, instead of ignoring it. |
quantizations | Matched against the model's precision in the chain registry, bf16 today. |
data_collection: "deny", zdr: true | Cannot be honoured, because miners keep signed session evidence for audit and settlement. The request gets 503. |
preferred_min_throughput, preferred_max_latency | Accepted and ignored. |
GET /v1/providers lists the miners with a proven endpoint, one entry per miner (slug is the miner address). The directory with every registered miner stays at GET /v1/miners.
Pin one miner, and fail instead of moving to another:
{
"model": "qwen/qwen3-8b",
"messages": [{"role": "user", "content": "Hello"}],
"provider": {"only": ["5HKiGNFSqSyEMVMjjr8JBKkkppytaqFZCRm27KGbCeHhUq92"], "allow_fallbacks": false}
}Prefer two miners, then let the router choose:
"provider": {"order": ["5HKiGN...", "5CJxjZ..."], "allow_fallbacks": true}
Avoid a miner:
"provider": {"ignore": ["5HbvZY..."]}
Order by measured latency:
"provider": {"sort": "latency"}
Which miner served you
providerat the top level of the response is the miner's address.flop.miner,flop.endpointandflop.viasay who served it and how the channel was opened:offer(against the miner's signed offer) orforce(a force-open, when the miner has no live offer).flop.attemptslists every try, failed ones included, with the stage it reached and the error.
Finding miners
# miners with a proven endpoint for one model, best first curl "https://api.floprouter.com/v1/miners?reachable=true&view=full&model=qwen/qwen3-8b" # every registered miner, by settle rate curl "https://api.floprouter.com/v1/miners?sort=settle_rate&limit=1000"
Filters: reachable, ready, active, calibrated, model, min_score. Sort: score, settle_rate, sessions, stake, latency, capacity, with order, limit and offset. Without view=full, reachable=true returns the compact list of proven pairs.
Price
FLOP Network has no per-miner price, so the router does not route on price. It routes on reliability and reachability. See fees.