# List models

Source: https://immiscible.fly.dev/docs/api/get-v1-models

`GET /v1/models`

The model catalogue as the router sees it, OpenAI-shaped (`{ object: "list", data: [...] }`), with withdrawn models marked.

## Authentication

Workspace key. A gateway key (`ask_...`) issued under Keys in the console, sent as `Authorization: Bearer` or `x-api-key`. It binds traffic to a person or service, a team and optionally a task class. Answers without a key too, with the catalogue as it stands for nobody in particular.

## Request

curl:

```bash
curl "https://immiscible.fly.dev/v1/models" \
  -H "authorization: Bearer $IMMISCIBLE_KEY"
```

Node:

```ts
const res = await fetch('https://immiscible.fly.dev/v1/models', {
  headers: {
    authorization: `Bearer ${process.env.IMMISCIBLE_KEY}`,
  },
});
const data = await res.json();
console.log(res.status, data);
```

Python:

```python
import os
import requests

res = requests.get(
    "https://immiscible.fly.dev/v1/models",
    headers={
        "authorization": f"Bearer {os.environ['IMMISCIBLE_KEY']}",
    },
)
print(res.status_code, res.json())
```

## Response

```json
{
  "object": "list",
  "data": [
    {
      "id": "anthropic/claude-opus-4.8",
      "object": "model",
      "owned_by": "anthropic",
      "displayName": "Claude Opus 4.8",
      "tier": "frontier",
      "price": {
        "inputPerMTok": 15,
        "outputPerMTok": 75,
        "cachedInputPerMTok": 1.5
      },
      "capability": {
        "swebenchPro": 78,
        "gpqa": 84,
        "ifeval": 93,
        "reasoning": 96,
        "toolUse": 95,
        "contextWindow": 1000000,
        "multilingual": 88
      },
      "jurisdiction": {
        "weightsOrigin": "US",
        "weightsClass": "closed",
        "servingDomicile": "US",
        "servingEntity": "Anthropic PBC",
        "dataRegions": [
          "us-east"
        ],
        "cloudActExposed": true
      },
      "compliance": {
        "soc2TypeII": true,
        "iso27001": true,
        "hipaaEligible": true,
        "zeroDataRetention": true,
        "gpaiCodeOfPractice": true,
        "euRepresentative": true
      },
      "availability": {
        "status": "available",
        "reason": null,
        "since": null
      }
    }
  ]
}
```
