Cheapest-model router: send your token workload and get every current LLM ranked by estima
Cheapest-model router: send your token workload and get every current LLM ranked by estimated USD cost, with per-MTok prices, cached-input rates, and context windows. Merges the weekly hand-verified llm-pricing table (every figure carrying its official source URL and verification date) with the daily OpenRouter marketplace catalog — 400+ models — and marks each row `operator-verified` or `marketplace-listed`; `verified_only=1` keeps just the first kind.…
5000 (raw units)
price
5
calls / 30d
4
unique payers
2026-09-10
updated
Provider
datastand.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x470a1b647d668d3820add26d70c8371557ff4c6b",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"maxTimeoutSeconds": 120
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"input_tokens": "20000",
"limit": "100",
"min_context": "200000",
"offset": "0",
"output_tokens": "1500"
},
"type": "http"
},
"output": {
"example": {
"cheapest": {
"est_cost_usd": 0.0031,
"model": "example-mini",
"provider": "example"
},
"count": 266,
"filters": {
"min_context": 200000,
"provider": null,
"unknown_context_excluded": 40,
"verified_only": false
},
"page": {
"has_more": true,
"limit": 100,
"next_offset": 100,
"offset": 0,
"returned": 100,
"total": 266
},
"results": [
{
"as_of": "2026-08-17",
"context_window_tokens": 200000,
"est_cost_usd": 0.0031,
"input_per_mtok_usd": 0.1,
"model": "example-mini",
"output_per_mtok_usd": 0.4,
"provider": "example",
"source": "https://example.com/pricing",
"verification": "operator-verified"
}
],
"workload": {
"input_tokens": 20000,
"output_tokens": 1500
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD"
],
"type": "string"
},
"queryParams": {
"properties": {
"include_unknown_context": {
"description": "1/true to also rank models whose context window is unverified when min_context is set",
"type": "string"
},
"input_tokens": {
"description": "Input tokens per request (default 1000)",
"type": "string"
},
"limit": {
"description": "Rows per page, 1-100 (default 100)",
"type": "string"
},
"min_context": {
"description": "Only models with at least this context window. Models whose window is null (not verified) are excluded and counted in filters.unknown_context_excluded.",
"type": "string"
},
"offset": {
"description": "Skip this many ranked models (default 0). Use page.next_offset from the previous response. A page past the end costs nothing.",
"type": "string"
},
"output_tokens": {
"description": "Output tokens per request (default 1000)",
"type": "string"
},
"provider": {
"description": "Filter to one vendor token, e.g. anthropic, openai, x-ai, mistralai, qwen. Matched exactly against the vendor (punctuation and case ignored, so x-ai and xai are the same token) — never as a prefix, because meta and meta-llama are different vendors. Every response carries providers_available; a token that matches nothing is refused for free and names the near misses.",
"type": "string"
},
"verified_only": {
"description": "1/true to rank only operator-verified rows, dropping the marketplace catalog",
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://datastand.dev/api/llm/route" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://datastand.dev/api/llm/route");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://datastand.dev/api/llm/route")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/6496.json, and this resource appears in /discovery/resources and /discovery/search.