Get recent model availability
Answers whether the model works right now and when it had trouble over the last 72 hours, for the model as a whole and for each provider that served it. Counted the same way as /v1/models/{creator}/{model}/stats: overall counts every request for the model by the result the caller received, whoever chose the provider; each provider counts every upstream attempt it was sent. Only rates and minute counts are published.
creator*stringmodel*stringSuccessful response
application/json- response
as_of*stringdate-timemodel_id*stringoverall*Every request for the model, whoever chose the provider.
providers*array<>Providers with upstream attempts in the 72 hours, sorted by name.
curl -X GET 'https://api.ohmygpt.com/v1/models/string/string/availability'{ "as_of": "2019-08-24T14:15:22Z", "model_id": "string", "overall": { "affected_minutes": 0, "hourly": [ { "affected_minutes": 0, "time": "2019-08-24T14:15:22Z", "uptime_pct": 0 } ], "status": "operational", "uptime_pct": 0 }, "providers": [ { "affected_minutes": 0, "hourly": [ { "affected_minutes": 0, "time": "2019-08-24T14:15:22Z", "uptime_pct": 0 } ], "status": "operational", "uptime_pct": 0, "provider": "string" } ]}Retrieve model GET
Returns detailed information about a specific model. Model IDs use the `{creator}/{model}` form, so clients must send both path segments, for example `/v1/models/openai/gpt-4o`.
Get model endpoints GET
Lists the provider endpoints that serve a model, cheapest first, with their price, limits, availability and recent measurements in OpenRouter's format. Measurements come from real traffic, are refreshed about once a minute, and are null until an endpoint has enough samples (see each field). Rate limited per IP.