OhMyGPT
Models

Get model rankings

GET
/v1/rankings/models

Every public model with traffic over the last 7 days, ranked by tokens served: rank, share of tokens, success rate and median time to first token. Success rate and TTFT are null until the model has at least 100 samples in the window: models are compared against each other here, so the floor is higher than for a single model's stats. Samples follow the model uptime rules (one per request, final outcome, caller errors excluded); token share counts the same requests.

响应主体

Successful response

application/json
  1. response
data*array<>

One item per public model with traffic in the window, sorted by rank.

period_days*integer

Length of the measurement window in days.

示例请求
curl -X GET 'https://api.ohmygpt.com/v1/rankings/models'
示例响应
{  "data": [    {      "model": "string",      "p50_ttft_ms": 0,      "rank": 1,      "success_rate": 0,      "token_share": 0    }  ],  "period_days": 0}