> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.ai.openrouter.ListModels

- Component: `appmixer.ai.openrouter.ListModels`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.ai.openrouter 1.1.4](https://connectors.appmixer.com/connector/appmixer.ai.openrouter/1.1.4.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.ai.openrouter/1.1.4/component/appmixer.ai.openrouter.ListModels>

List models.

## Input ports

### Port `in`

_No fields defined for this port._

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Models (`models`) | array | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.ai.openrouter.ListModels",
  "author": "Appmixer <info@appmixer.com>",
  "description": "List models.",
  "auth": {
    "service": "appmixer:ai:openrouter"
  },
  "inPorts": [
    {
      "name": "in"
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Models",
          "value": "models",
          "schema": {
            "type": "array",
            "example": [
              {
                "id": "openai/gpt-4o",
                "created": 1715367049
              },
              {
                "id": "anthropic/claude-3.5-sonnet",
                "created": 1718841600
              }
            ],
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "created": {
                  "type": "integer"
                },
                "owned_by": {
                  "type": "string"
                }
              }
            }
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
