---
title: "Get all available AI models"
method: GET
path: "/api/ai/models"
tags: ["Admin"]
---

# Get all available AI models

`GET /api/ai/models`

Returns the normalized OpenRouter model catalog fetched from OpenRouter with output_modalities=all.

## Response `200`

Flat array of available models from the OpenRouter catalog

- AIModel[] — Normalized OpenRouter model catalog returned by GET /api/ai/models.
  - `id` string
  - `created` integer
  - `inputModality` string[]
  - `outputModality` string[]
  - `provider` string
  - `modelId` string
  - `inputPrice` number — Input price per million tokens in USD when token pricing is available.
  - `outputPrice` number — Output price per million tokens in USD when token pricing is available.
  - `inputPriceLabel` string — Human-readable input pricing label, such as "$2.50 / 1M tokens" or "Free", when available.
  - `outputPriceLabel` string — Human-readable output pricing label, such as "$10.00 / 1M tokens" or "Free", when available.

## Other responses

- `401` — Unauthorized
- `500` — Failed to get models list

---

[API](https://skmtc.net/insforge/apis/insforge-authentication-api.md) · [All operations](https://skmtc.net/insforge/apis/insforge-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/insforge/insforge-authentication-api/versions/a935bb49f932/schema)
