Ranking methodology
No single score
The architecture is explicit: no universal score is canonical. A buyer optimizing a batch job ranks by price; an interactive agent by time to first token; a regulated workload filters by policy first. Every aggregate must expose its sample size, time window and confidence.
So the indexer does not rank. It serves signed inputs and lets each client decide.
What the indexer serves
For each route, GET /v1/routes and GET /v1/routes/{route_id} return:
| Input | Source | Freshness |
|---|---|---|
| Signed listing: identity, schedule, policy | Seller | Rechecked every crawl; stale after 900 s without a successful recheck |
capacity |
Seller | Under 120 s, else null |
observations[] |
One latest window per pinned operator | window_end within 900 s |
score_inputs.advertised_headroom |
The capacity report's headroom, or null |
As capacity |
score_inputs.measurement |
The newest fresh observation across pinned operators, or null |
As observations |
Plus, separately, GET /v1/price-history?family= returns a signed seven-day series of the lowest observed visible-output rate per quantization, in 15-minute UTC buckets. It is a historical aggregate of quotes, not trades or executable prices. Pages are ordered by (seller_id, route_id) for pagination, which is not a ranking.
How the shipped clients order routes
The Markets board sorts by one column you choose: visible output rate (the default, ascending), input or cached rate, tokens/s (tps_p50), time to first token (ttft_ms_p95), availability, headroom, seller or quantization. Missing values sort last in both directions. It filters by quantization and seller. There is no blended column.
The SDK planner is a placement policy, not a published ranking. Among routes that pass the hard filters (exact model identity, ZDR and region policy, schedule in effect, fresh capacity with headroom > 0, a cap at least w_req_micros), it picks the lowest
price + latency × (1 + load) + decode + queue_depth × latency
where price is the charge for 1,024 input and 256 visible output tokens (times an optional priceWeight), latency is the planner's own receipt-measured TTFT or else the observation's ttft_ms_p95 (or 100 ms with neither), load combines its own active requests and the seller's reported in-flight share, and decode is 256,000 × (1 + load) / tps from the observed or measured throughput. It caps concurrency at the throughput knee of the trusted observation curve and adapts with AIMD on overload. Ties go to the lower route ID. An alternative RoutePlanner can rank differently but cannot bypass signed policy, headroom or payment checks.
Sample sizes and windows, stated plainly
- One window with one round has 85 attempts;
ttft_ms_p95is a nearest-rank order statistic over at most 85 successes, and the concurrency-1 point is one request per round. - Each observation covers one window of at most 900 s, from one operator's network. Default views show only the latest window per operator;
observation_history=1exposes up to 24 hours. samples,window_start,window_endand the operator key are in every observation, so any aggregate you build can carry them.- Neither the indexer nor the shipped clients compute confidence intervals today. If you aggregate windows, report how many windows, how many operators and what span you used.
What ranking does not use yet
The architecture names settled receipts as the ground truth for actual volume, paid price, completion rate and disputes. In the MVP, receipts and vouchers stay with each buyer and seller; no index of settled usage exists, so no shipped ranking uses it.
Building your own
- Fetch pages with
limit1–200, followingnext_cursorunchanged with the same filters until it isnull. - Verify the indexer attestation, each listing once (by
listing_digest), each capacity report under the seller key, and each observation under your operator pins. - Apply hard filters first (identity, policy,
effective_from, fresh headroom, your cap vsw_req_micros). - Score on the criterion your workload needs, and show the inputs (price for your token mix, observed p95 TTFT, availability, number of windows and operators) next to the order.