Skip to content

Preview: Model Atlas is in development and not yet available.

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

ParameterTypeDescription
q
query
string

Search names, slugs, and aliases (case-insensitive).

Example
sonnet
provider
query
string

A provider slug.

Example
anthropic
models
query
string

Only these models: slugs or names you use (any level, any platform’s ID), comma-separated, up to 100.

Example
gpt-4o,claude-sonnet-4-5
inventory
query
boolean

true: only what your account’s inventory covers (/v1/inventory, managed in the portal). A provider brings its families’ versions, a family its versions, a version its offerings. An empty inventory returns nothing. Can’t be combined with models.

Default
false
limit
query
integer

How many items a page holds, 1 to 200. Outside that range is 400 invalid_parameter.

Default
50
Range
1 to 200
Example
20
cursor
query
string

The next_cursor from the previous page. Opaque: pass it back unchanged, to the same endpoint with the same filters. A malformed cursor, or on catalog and event lists one made with other filters, is 400 invalid_parameter.

Example
eyJhZnRlciI6ImFudGhyb3BpYyIsImYiOiJmNmI1YWE5NTMxNTgxZmZmIn0

Responses

A page of models.

application/json · ModelList

  • next_cursorstringrequirednullable

    Pass as cursor for the next page. Null on the last page.

    Example
    null
  • unmatched_modelsarray of string

    The models= entries that matched nothing, as you sent them. Present only when models is set. Repeated on every page.

    Example
    ["gpt-4o-typo"]
  • dataarray of Modelrequired

    The page’s model families, sorted by slug.

    Fields of each item in data (4)
    • slugstringrequired

      The family’s ID in this API. Use it in model= filters.

      Example
      claude-sonnet-4-5
    • namestringrequired

      The family’s name.

      Example
      Claude Sonnet 4.5
    • providerstringrequired

      The slug of the provider that makes it.

      Example
      anthropic
    • versionsarray of stringrequired

      The slugs of its versions that a source still reports, sorted. See /v1/versions/{version}.

      Example
      ["claude-sonnet-4-5-20250929"]
200 example
{
"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"
}