Skip to content
Rapid Router
API reference · Models

Endpoints and uptime

Per-provider price, latency, throughput and 72 hours of availability for one model.

Two public endpoints show a model's routes and how they have been behaving. GET /api/v1/models/:author/:slug/endpoints lists every provider serving the model with its price (cache read and write rates too, where the provider publishes them), whether it is connected right now, and its last 24 hours: request count, median latency, and throughput in output tokens per second. Those numbers come from served traffic. A route with fewer than 5 successful requests in the window shows the result of an hourly test request instead, a short prompt asking for about 20 tokens, and stats.source says which it is: traffic or probe. A route with neither reports zeros and nulls, not guesses.

GET /api/v1/models/:author/:slug/uptime covers the last 72 hours. Client errors (4xx) count as neither up nor down, since a malformed request says nothing about the provider. The hourly test requests count too: one that times out, errors or is refused (401, 402, 403, 404 or a 5xx) is down. An unknown model answers 404 on both endpoints.

curl https://rapidrouter.ai/api/v1/models/google/gemini-3.6-flash/endpoints

# -> { "data": { "id": "google/gemini-3.6-flash", "endpoints": [
#      { "provider": "google",
#        "pricing": { "input_per_m": 0.75, "output_per_m": 3.75,
#                     "cache_read_per_m": 0.075, "cache_write_per_m": null },
#        "healthy": true,
#        "stats": { "requests_24h": 1284, "p50_latency_ms": 912,
#                   "throughput_tps": 84.1, "source": "traffic" } },
#      ...
#    ] } }