---
title: "List available chat models with token pricing (USD per 1M tokens)"
method: GET
path: "/api/v1/models"
tags: ["LLM"]
---

# List available chat models with token pricing (USD per 1M tokens)

`GET /api/v1/models`

## Request

- Base URL: `https://api.api-stock.com`
- URL: `https://api.api-stock.com/api/v1/models`
- Auth: HTTP bearer

## Response `200`

- ModelListResponseDto
  - `object` string, required
  - `data` ModelObjectDto[], required
    - `id` string, required
    - `object` string, required
    - `created` number, required
    - `owned_by` string, required
    - `pricing` ModelPricingDto
      - `currency` string, required
      - `unit` string, required: Pricing unit
      - `input` number, required: Input token price
      - `output` number, required: Output token price
      - `cacheRead` number, required: Cache-read token price
      - `cacheWrite` number: Cache-write token price (Anthropic models)
      - `longContext` ModelLongContextPricingDto
        - `thresholdTokens` number, required: Total input tokens above which these rates replace the base ones
        - `input` number, required: Input token price
        - `output` number, required: Output token price
        - `cacheRead` number, required: Cache-read token price
        - `cacheWrite` number: Cache-write token price

## Other responses

- `401`: Unauthorized - Invalid or missing API key

---

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