List models

GET /v1/models — OpenAI-compatible list of every model your key can call. The browseable HTML catalogue lives at /models.

curl https://api.infra.models/v1/models \
  -H "Authorization: Bearer im_live_..."

Response shape

{
  "object": "list",
  "data": [
    {
      "id": "im/anthropic-claude-3-5-sonnet",
      "object": "model",
      "created": 1715000000,
      "owned_by": "inframodels",
      "model_type": "chat",
      "context_length": 200000,
      "status": "stable",
      "pricing": {
        "input_credits_per_million_tokens": "4000000",
        "output_credits_per_million_tokens": "18000000"
      }
    },
    ...
  ]
}

Slug convention

Slugs use a namespace/name form. Today everything is under im/… (InfraModels-managed); custom fine-tunes will land under user-scoped namespaces later. The slug is the public contract — we don't rename in place.