modelright

Public JSON API

Read-only access to the live catalog — same data as the site, synced hourly from OpenRouter. No auth. Responses are CORS-enabled (Access-Control-Allow-Origin: *) and cached for 5 minutes.

List models

curl 'https://modelright.dev/api/v1/models'

Returns { data, page, limit, total, pages }. Filters mirror the /models page:

providerprovider slugprovider=openai
minContextminimum context window (tokens)minContext=200000
maxInputPricemaximum input $/1MmaxInputPrice=2
modalityimage | audio | video | filemodality=image
freeOnlyonly $0 modelsfreeOnly=1
hideRemoveddefault 1; set 0 to include removedhideRemoved=0
sortprice_in, price_in_desc, price_out, price_out_desc, namesort=price_in
pagepage number (default 1)page=2
limitrows per page, max 200 (default 50)limit=100
curl 'https://modelright.dev/api/v1/models?minContext=200000&maxInputPrice=2&sort=price_in'

Model detail

curl 'https://modelright.dev/api/v1/models/openai/gpt-5'

Includes the last 30 price/availability snapshots. Unknown pairs return 404 { error: "not_found" }.

Other machine surfaces