---
title: "List the AI models and their prices"
method: GET
path: "/v1/ai/models"
tags: ["billing"]
---

# List the AI models and their prices

`GET /v1/ai/models`

## Request

- Base URL: `https://api.prodantix.com`
- URL: `https://api.prodantix.com/v1/ai/models`
- Auth: none declared

Every model a workspace can pick for the AI add-on, with its price per million tokens of each kind in micro-dollars: the model's price plus the markup. Public, and cacheable for an hour.

## Response `200`

The offered models and their prices

- object
  - `markupPercent` integer, required
  - `models` PublicAiModel[], required
    - `id` string, required
    - `displayName` string, required
    - `perMillion` PublicAiPrices, required
      - `input` integer, required
      - `output` integer, required
      - `cacheWrite5m` integer, required
      - `cacheWrite1h` integer, required
      - `cacheRead` integer, required

## Other responses

- `503`: The model list has not loaded yet

---

[API](https://skmtc.dev/prodantix/apis/prodantix-api.md) · [All operations](https://skmtc.dev/prodantix/apis/prodantix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/prodantix/apis/prodantix-api/revisions/fde6615df5a1?raw)
