> ## Documentation Index
> Fetch the complete documentation index at: https://docs.muna.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Models

Lists every model available on the inference API.

```py Python theme={null}
from anthropic import Anthropic
import os

# 💥 Create an Anthropic client, pointed at Muna
anthropic = Anthropic(
  api_key=os.environ["MUNA_API_KEY"],
  base_url="https://inference.muna.ai"
)

# 🔥 List available models
models = anthropic.models.list()

# 🚀 Print the model tags
for model in models:
  print(model.id)
```

```ts JavaScript theme={null}
import Anthropic from "@anthropic-ai/sdk"

// 💥 Create an Anthropic client, pointed at Muna
const anthropic = new Anthropic({
  apiKey: process.env.MUNA_API_KEY,
  baseURL: "https://inference.muna.ai"
});

// 🔥 List available models
const models = await anthropic.models.list();

// 🚀 Print the model tags
for await (const model of models)
  console.log(model.id);
```

```bash curl theme={null}
curl https://inference.muna.ai/v1/models \
  -H "x-api-key: $MUNA_API_KEY" \
  -H "anthropic-version: 2023-06-01"
```

```json Response theme={null}
{
  "data": [
    {
      "id": "@qwen/qwen-3.8-27b",
      "type": "model",
      "display_name": "qwen-3.8-27b",
      "created_at": "2026-08-26T20:51:52Z",
      "max_input_tokens": 262144,
      "max_tokens": 65536
    }
  ],
  "first_id": "@qwen/qwen-3.8-27b",
  "last_id": "@qwen/qwen-3.8-27b",
  "has_more": false
}
```

> [!NOTE]
>
> This is the same endpoint as the [OpenAI API](https://docs.muna.ai/ref/openai/list-models.md). Each model carries the
> fields that both SDKs expect.

### Response

**data** `Model[]` *required*

Available models.

**properties**

**id** `string` *required*

Model tag.

**type** `string` *required*

Object type, always `model`.

**display\_name** `string` *required*

Model name.

**created\_at** `string` *required*

Date the model was added, in RFC 3339 format.

**max\_input\_tokens** `integer`

Maximum number of input tokens.

**max\_tokens** `integer`

Maximum number of output tokens.

**capabilities** `object`

Model capabilities, like thinking and image input.

**first\_id** `string`

First model tag in the list.

**last\_id** `string`

Last model tag in the list.

**has\_more** `boolean` *required*

Whether there are more models. Always `false`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.