List model families
GET/v1/modelsAPI key
Model families (Claude Sonnet 4.5, GPT-4o), sorted by slug, each with its versions. Only families with a version that a source still reports are listed. q searches names, slugs and the other names sources use; models matches the names you use, at any level, and lists the ones that matched nothing in unmatched_models.
Authorization
API key Authorization: Bearer $MA_API_KEY
A Model Atlas API key: Authorization: Bearer ma_live_<prefix>_<secret>. A missing, malformed or revoked key gets 401 unauthorized. A key on an account without an active plan gets 403 forbidden. Checks are cached for up to a minute, so a revoked key, or a plan change, takes up to a minute to apply.
Parameters
| Parameter | Type | Description |
|---|---|---|
qquery | string | Search names, slugs, and aliases (case-insensitive).
|
providerquery | string | A provider slug.
|
modelsquery | string | Only these models: slugs or names you use (any level, any platform’s ID), comma-separated, up to 100.
|
inventoryquery | boolean |
|
limitquery | integer | How many items a page holds, 1 to 200. Outside that range is
|
cursorquery | string | The
|
Responses
A page of models.
application/json · ModelList
next_cursorstringrequirednullablePass as
cursorfor the next page. Null on the last page.- Example
null
unmatched_modelsarray of stringThe
models=entries that matched nothing, as you sent them. Present only whenmodelsis set. Repeated on every page.- Example
["gpt-4o-typo"]
dataarray of ModelrequiredThe page’s model families, sorted by slug.
Fields of each item in data (4)
slugstringrequiredThe family’s ID in this API. Use it in
model=filters.- Example
claude-sonnet-4-5
namestringrequiredThe family’s name.
- Example
Claude Sonnet 4.5
providerstringrequiredThe slug of the provider that makes it.
- Example
anthropic
versionsarray of stringrequiredThe slugs of its versions that a source still reports, sorted. See
/v1/versions/{version}.- Example
["claude-sonnet-4-5-20250929"]
{ "data": [ { "slug": "claude-sonnet-4", "name": "Claude Sonnet 4", "provider": "anthropic", "versions": [ "claude-sonnet-4-20250514" ] }, { "slug": "claude-sonnet-4-5", "name": "Claude Sonnet 4.5", "provider": "anthropic", "versions": [ "claude-sonnet-4-5-20250929" ] } ], "next_cursor": "eyJhZnRlciI6ImNsYXVkZS1zb25uZXQtNC01IiwiZiI6IjhjMzEzZGRhNDQ2MmJjYTEifQ"}400 Bad Request, code: invalid_parameter. A parameter or the request body is invalid.
application/problem+json · Problem
typestringrequiredAlways about:blank for now. Use
code.titlestringrequiredThe HTTP status’s standard name.
statusintegerrequiredThe HTTP status code, the same as the response’s.
detailstringWhat went wrong with this request, in plain language: which parameter, which slug. Absent when there’s nothing to add (an internal error).
codestringrequiredThe error, for your code to act on. Branch on this, not on
titleordetail.- Allowed
not_found,invalid_parameter,unauthorized,forbidden,conflict,rate_limited,not_implemented,internal
{ "type": "about:blank", "title": "Bad Request", "status": 400, "detail": "limit must be between 1 and 200.", "code": "invalid_parameter"}401 Unauthorized, code: unauthorized. The API key is missing, malformed or revoked.
application/problem+json · Problem
typestringrequiredAlways about:blank for now. Use
code.titlestringrequiredThe HTTP status’s standard name.
statusintegerrequiredThe HTTP status code, the same as the response’s.
detailstringWhat went wrong with this request, in plain language: which parameter, which slug. Absent when there’s nothing to add (an internal error).
codestringrequiredThe error, for your code to act on. Branch on this, not on
titleordetail.- Allowed
not_found,invalid_parameter,unauthorized,forbidden,conflict,rate_limited,not_implemented,internal
{ "type": "about:blank", "title": "Unauthorized", "status": 401, "detail": "Send your API key: Authorization: Bearer ma_live_…", "code": "unauthorized"}403 Forbidden, code: forbidden. The key’s account has no active plan.
application/problem+json · Problem
typestringrequiredAlways about:blank for now. Use
code.titlestringrequiredThe HTTP status’s standard name.
statusintegerrequiredThe HTTP status code, the same as the response’s.
detailstringWhat went wrong with this request, in plain language: which parameter, which slug. Absent when there’s nothing to add (an internal error).
codestringrequiredThe error, for your code to act on. Branch on this, not on
titleordetail.- Allowed
not_found,invalid_parameter,unauthorized,forbidden,conflict,rate_limited,not_implemented,internal
{ "type": "about:blank", "title": "Forbidden", "status": 403, "detail": "This account has no active plan, so its keys can't read the catalog yet.", "code": "forbidden"}429 Too Many Requests. Over the stage’s request throttle. API Gateway answers before the API does, so this body isn’t a Problem. Wait, then retry with backoff.