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

# List Models

> List the AI models available on Mira Network with list_models() and learn how to pick a model ID for chat completions.

## List Available Models

Use `list_models()` to see the models available on Mira Network and get the IDs you pass to chat completions.

### Example

```python theme={null}
from mira_network import MiraClient

async def explore_models():
    async with MiraClient(api_key="your-api-key") as client:
        result = await client.list_models()

        # Each entry's "id" is the model name you pass to chat_completions_create()
        for model in result["data"]:
            print(model["id"])
```

### Response Structure

`list_models()` returns an OpenAI-style object with a `data` array:

```python theme={null}
{
    "object": "list",
    "data": [
        {"id": "claude-haiku-4.5", "object": "model"},
        {"id": "gpt-5.2", "object": "model"},
        {"id": "gpt-4o-mini", "object": "model"},
        {"id": "gemini-3-flash", "object": "model"},
        {"id": "deepseek-v3.2", "object": "model"}
        # ... model availability may change over time
    ]
}
```

### Usage Notes

* Pass a model's `id` as the `model` argument in [chat completions](/network/model-operations/generate).
* Different models have different capabilities and per-token pricing.
* The available models can change over time, so fetch this list rather than hardcoding it.
