model-demand.agent-api.v1 · Response: JSON · Authentication: No API key required.
What this API contains
The models endpoint returns ranked OpenRouter demand and checked model facts, availability states, source details, and pagination. The about endpoint defines the current agent contract. The separate/api/supply feed contains provider supply and supply history. This feed is outside the formal v1 agent schema. It is not part of the /api/v1/models response. This API does not identify underserved models. Demand or missing data does not prove a supply opportunity.
The documentation is hosted at docs.inferenceproviderstats.com. API requests go to https://www.inferenceproviderstats.com; existing API URLs continue to work.
Quick start
- Read the about route for definitions and limits.
- List models with an explicit sort and limit.
- Use an exact, URL-encoded model ID when you need one model.
- Report the generation time, freshness, and source limits.
Example response shape
Decimal quantities use strings so clients can preserve exact values. This illustrative sample contains no model records and is not current production data.Query reference
All parameters are optional.model_id selects an exact lookup. Do not combine it with sort, order, limit, or offset. Unknown or repeated parameters return an invalid-query response.
Follow
pagination.has_next_page and advance offset by the page limit. Unavailable sort values appear after available values; model ID breaks ties.
Field and unit glossary
The complete field reference is generated from the same definitions as/api/v1/about. Units are exact contract values. A fraction is a share from 0 to 1, not a percentage. Byte values are not GiB values.
Freshness and source limits
generated_at is the time when the accepted export was generated. evaluation_cutoff is the latest evidence time in that export. fresh_until is the freshness deadline. Check freshness.state and its reason before reporting results.
Demand data contains the OpenRouter top 50 models. Models outside the cutoff do not have separate rows. Missing detail is unknown, not zero.
Keep each value, state, and reason together. Do not replace a null value with a number. Use /api/export for daily demand history; the models route returns checked aggregates.
Read the methods and evidence limits before comparing models or interpreting supply.
Errors
Error responses use
schema_version: "model-demand.agent-api-error.v1", error, and message. A successful empty list is a 200 response, not an error. See the OpenAPI document for the complete schema.