---
title: "Get AI model catalog"
url: https://docs.gleap.ai/en/reference/rest-api/get-models
method: GET
path: "/ai/models"
api: "API Reference"
tag: "AiModels"
operationId: "GetModels"
updatedAt: "2026-11-11T10:00:00.893Z"
language: en
---

# Get AI model catalog

`GET https://api.gleap.io/v3/ai/models`

Returns the full model catalog, the curated picker lists (Kai agent, Kai Code cloud, Kai Code OpenCode, transcription), the per-runtime default model ids and, as `runtimeDefaults.kai`, the model Kai runs for a project that saved none. Internal fields and markup metadata are not exposed; customer-facing cost figures are pre-computed. Each model says whether the agents of the organisation of the `project` header can run it in its AI region (signed-in members only; everyone else gets every model as available).

## Example request

```bash
curl --request GET \
  --url https://api.gleap.io/v3/ai/models
```

## Responses

### 200 (`application/json`)

Ok

- `models` (object[], required): Full catalog (every entry, no filtering).
  - `id` (string, required)
  - `displayName` (string, required)
  - `shortLabel` (string)
  - `description` (string)
  - `tagline` (string): Short purpose shown beside the model in the curated pickers, e.g. "Fast and cheap".
  - `provider` (enum<string>, required): One of: `anthropic`, `openai`, `google`, `xai`, `openrouter`, `mistral`, `deepseek`, `local`.
  - `contextWindow` (number<double>)
  - `costPerMillionTokens` (object): Effective raw rate per 1M tokens. Always populated for catalog entries (pure-alias tiers resolve theirs from the backing model).
    - `input` (number<double>, required)
    - `cachedInput` (number<double>)
    - `cacheWriteInput` (number<double>): Prompt-cache write rate for the default 5-minute TTL (Anthropic: 1.25× input).
    - `cacheWrite1hInput` (number<double>): Prompt-cache write rate for the 1-hour TTL (Anthropic `ttl: '1h'`: 2× input). `getModelCost` fills it in as 2× `input` for Anthropic models that don't set it; every other provider has no 1h tier and prices a 1h bucket at the 5-minute write rate.
    - `audioInput` (number<double>): Audio input tokens, where they cost more than text (Gemini Flash: 2×); absent means the `input` rate.
    - `output` (number<double>, required)
    - `longContextThreshold` (number<double>)
    - `longInputMultiplier` (number<double>)
    - `longOutputMultiplier` (number<double>)
    - `longContextTiers` (object[]): Long-context tiers with rates of their own (OpenRouter's `overrides`); when set, they replace the multipliers.
      - `aboveInputTokens` (number, required)
      - `input` (number)
      - `cachedInput` (number)
      - `cacheWriteInput` (number)
      - `cacheWrite1hInput` (number)
      - `audioInput` (number)
      - `output` (number)
  - `capabilities` (object)
    - `chat` (boolean)
    - `vision` (boolean)
    - `tools` (boolean)
    - `streaming` (boolean)
    - `transcription` (boolean)
    - `reasoning` (boolean)
    - `minimalReasoning` (boolean)
    - `temperatureUnsupported` (boolean): Anthropic models that reject `temperature` (claude-opus-4-8, claude-haiku-5-5).
    - `thinkingAlwaysOn` (boolean): Anthropic models whose thinking can't be turned off: `thinking: {type:'disabled'}` is a 400 at every effort level (Fable 5 / 5.1, Opus 5.5). Low effort is the only way to make them think less.
    - `reasoningOptional` (boolean): OpenRouter takes `reasoning.effort: none` for it: a one-off classification can run without thinking.
  - `pickers` (object)
    - `kaiAgent` (boolean)
    - `kaiCodeCloud` (boolean)
    - `kaiCodeOpenCode` (boolean)
    - `recommended` (boolean): One of the few models every picker recommends after Gleap's Auto tiers.
  - `supportedEfforts` (enum<string>[])
  - `defaultEffort` (enum<string>): One of: `low`, `medium`, `high`, `extra_high`, `max`.
  - `subagentModelId` (string)
  - `aliases` (string[])
  - `iconKey` (enum<string>): One of: `anthropic`, `openai`, `google`, `xai`, `meta`, `mistral`, `cohere`, `kimi`, `minimax`, `mimo`, `qwen`, `deepseek`, `glm`, `amazon`, `local`.
  - `opencodeId` (string)
  - `variant1M` (boolean)
  - `costPerConversationUsd` (string): What a typical Kai Support conversation is billed (USD) on this model where the organisation's agents run, ready to show (kaiConversationCost.logic). Set per request by `GET /ai/models`; absent for a model nobody prices.
  - `billedCostPerMillionTokens` (object): The model's list price per 1M tokens × the markup, per product. A call is charged at least this: OpenRouter's fee and a region's higher price are not in it (usageCharge.logic). Pickers show these; `costPerMillionTokens` stays the raw provider rate.
    - `kai` (object, required): Kai support answers.
      - `input` (number<double>, required)
      - `output` (number<double>, required)
    - `agents` (object, required): Custom agents, Kai Resolve and its code investigations, Kai Copilot.
      - `input` (number<double>, required)
      - `output` (number<double>, required)
    - `kaiCode` (object, required): Kai Code cloud sessions.
      - `input` (number<double>, required)
      - `output` (number<double>, required)
  - `availableForAgents` (boolean): For a member of the organisation the request names: its agents run the model where they run (always for the Auto tiers).
  - `regionalSubstituteId` (string): When they do not: the OpenRouter id the organisation's region runs instead, and its name.
  - `regionalSubstituteName` (string)
  - `noLongerAvailable` (enum<string>): `removed`: OpenRouter no longer serves the model, `availableForAgents` is false and its saved selections run Auto. `expiring`: OpenRouter is about to retire it; it still runs and stays available, but cannot be newly saved. One of: `removed`, `expiring`.
  - `regions` (enum<string>[]): The regional domains (eu, us) that serve it in-region, from the synced catalog.
  - `withoutZeroDataRetention` (enum<boolean>): No upstream serves it with zero data retention; training on its requests stays denied. One of: `true`.
- `pickers` (object, required): Curated picker lists (replaces FE iterate-and-filter logic).
  - `transcription` (object[], required): STT models (transcription-capable).
    - `value` (string, required): Value persisted on the project / session. Either an alias or a canonical id.
    - `label` (string, required)
  - `kaiCodeOpenCode` (object[], required): Kai Code OpenCode (desktop) runtime model picker.
    - `value` (string, required): Value persisted on the project / session. Either an alias or a canonical id.
    - `label` (string, required)
  - `kaiCodeCloud` (object[], required): Kai Code cloud runtime model picker.
    - `value` (string, required): Value persisted on the project / session. Either an alias or a canonical id.
    - `label` (string, required)
  - `kaiAgent` (object[], required): Default Kai support agent dropdown.
    - `value` (string, required): Value persisted on the project / session. Either an alias or a canonical id.
    - `label` (string, required)
- `runtimeDefaults` (object, required)
  - `kai` (string, required): The catalog id of the model Kai runs for a project that saved no model.

```json
{
  "models": [
    {
      "id": "string",
      "displayName": "string",
      "shortLabel": "string",
      "description": "string",
      "tagline": "string",
      "provider": "anthropic",
      "contextWindow": 0,
      "costPerMillionTokens": {
        "input": 0,
        "cachedInput": 0,
        "cacheWriteInput": 0,
        "cacheWrite1hInput": 0,
        "audioInput": 0,
        "output": 0,
        "longContextThreshold": 0,
        "longInputMultiplier": 0,
        "longOutputMultiplier": 0,
        "longContextTiers": [
          {
            "aboveInputTokens": 0,
            "input": 0,
            "cachedInput": 0,
            "cacheWriteInput": 0,
            "cacheWrite1hInput": 0,
            "audioInput": 0,
            "output": 0
          }
        ]
      },
      "capabilities": {
        "chat": true,
        "vision": true,
        "tools": true,
        "streaming": true,
        "transcription": true,
        "reasoning": true,
        "minimalReasoning": true,
        "temperatureUnsupported": true,
        "thinkingAlwaysOn": true,
        "reasoningOptional": true
      },
      "pickers": {
        "kaiAgent": true,
        "kaiCodeCloud": true,
        "kaiCodeOpenCode": true,
        "recommended": true
      },
      "supportedEfforts": [
        "low"
      ],
      "defaultEffort": "low",
      "subagentModelId": "string",
      "aliases": [
        "string"
      ],
      "iconKey": "anthropic",
      "opencodeId": "string",
      "variant1M": true,
      "costPerConversationUsd": "string",
      "billedCostPerMillionTokens": {
        "kai": {
          "input": 0,
          "output": 0
        },
        "agents": {
          "input": 0,
          "output": 0
        },
        "kaiCode": {
          "input": 0,
          "output": 0
        }
      },
      "availableForAgents": true,
      "regionalSubstituteId": "string",
      "regionalSubstituteName": "string",
      "noLongerAvailable": "removed",
      "regions": [
        "global"
      ],
      "withoutZeroDataRetention": true
    }
  ],
  "pickers": {
    "transcription": [
      {
        "value": "string",
        "label": "string"
      }
    ],
    "kaiCodeOpenCode": [
      {
        "value": "string",
        "label": "string"
      }
    ],
    "kaiCodeCloud": [
      {
        "value": "string",
        "label": "string"
      }
    ],
    "kaiAgent": [
      {
        "value": "string",
        "label": "string"
      }
    ]
  },
  "runtimeDefaults": {
    "kai": "string"
  }
}
```
