---
title: "List models"
method: GET
path: "/v1/models"
tags: ["Models"]
---

# List models

`GET /v1/models`

## Request

- Base URL: `https://api.dexto.ai`
- URL: `https://api.dexto.ai/v1/models`
- Auth: HTTP bearer

Lists every model currently supported by the Dexto gateway and the ways each model can be accessed. Every API that takes a model id accepts these ids.

## Response `200`

Successful response.

- object
  - `data` object[], required
    - `access_methods` string[], required
    - `capabilities` object, required
      - `input` string[], required
      - `maxInputTokens` integer, required
      - `output` string[], required
      - `reasoning` boolean, required
      - `supportsToolCall` boolean, required
    - `context_window` integer, required: The most input tokens the model takes in one request.
    - `created` integer, required
    - `id` string, required: The id to send as `model`. Replies name the model by this id, whichever alias the request used.
    - `max_output_tokens` integer, nullable, required: The most tokens the model writes in one reply; null when Dexto does not know it.
    - `name` string, required: The model's display name.
    - `object` 'model', required
    - `owned_by` string, required: The lab that makes the model, such as `anthropic` or `openai`.
    - `pricing` object, nullable, required
      - `cacheReadPerM` number, nullable, required
      - `cacheWritePerM` number, nullable, required
      - `contextOver200kPerM` object, nullable, required
        - `cacheReadPerM` number, nullable, required
        - `cacheWritePerM` number, nullable, required
        - `inputPerM` number, required
        - `inputTokensAbove` integer, required
        - `outputPerM` number, required
      - `inputPerM` number, required
      - `outputPerM` number, required
      - `reasoningPerM` number, nullable, required
    - `reasoning_efforts` string[], required: The `reasoning_effort` values a chat completion may send for this model; empty when it takes none.
  - `object` 'list', required

## Other responses

- `400`: Invalid JSON or request fields.
- `401`: Missing or invalid API key.
- `402`: The account has insufficient credits.
- `403`: The account cannot perform this operation.
- `404`: The requested resource was not found.
- `409`: The request conflicts with existing resource state.
- `429`: The account exceeded this operation's request rate.
- `500`: Unexpected Dexto failure.
- `502`: The upstream model provider failed.
- `503`: A required Dexto service is temporarily unavailable.

---

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