---
title: "Lists the currently available models, and provides basic information about each one such as the owner and availability."
method: GET
path: "/models"
tags: ["Models"]
---

# Lists the currently available models, and provides basic information about each one such as the owner and availability.

`GET /models`

Lists the currently available models, and provides basic information
about each one such as the owner and availability.

## Query parameters

- `provider` 'ollama' | 'ollama_cloud' | 'groq' | 'llamacpp' | 'openai' | 'cloudflare' | 'cohere' | 'anthropic' | 'deepseek' | 'google' | 'mistral' | 'minimax' | 'moonshot' | 'nvidia' | 'zai'
- `include` string[]

## Response `200`

List of available models

- ListModelsResponse — Response structure for listing models
  - `provider` 'ollama' | 'ollama_cloud' | 'groq' | 'llamacpp' | 'openai' | 'cloudflare' | 'cohere' | 'anthropic' | 'deepseek' | 'google' | 'mistral' | 'minimax' | 'moonshot' | 'nvidia' | 'zai'
  - `object` string, required
  - `data` Model[], required
    - `id` string, required
    - `object` string, required
    - `created` integer, required
    - `owned_by` string, required
    - `served_by` 'ollama' | 'ollama_cloud' | 'groq' | 'llamacpp' | 'openai' | 'cloudflare' | 'cohere' | 'anthropic' | 'deepseek' | 'google' | 'mistral' | 'minimax' | 'moonshot' | 'nvidia' | 'zai', required
    - `context_window` ContextWindow — Context window information for a model
      - `tokens` integer, required — Maximum number of tokens the model can process in a single request
      - `source` 'runtime' | 'provider' | 'community', required — Source of the context window information
    - `pricing` Pricing — Pricing information for a model
      - `currency` string, required — Currency code for the pricing (e.g. USD)
      - `input_per_token` string, required — Price per input token
      - `output_per_token` string, required — Price per output token
      - `cache_read_per_token` string — Price per cached input token read
      - `cache_write_per_token` string — Price per cached input token write
      - `source` 'provider' | 'community', required — Source of the pricing information
      - `updated_at` string, date-time, required — Timestamp when the pricing was last updated
      - `subscription` boolean — Model has no per-token price but is gated behind a paid subscription

## Other responses

- `400` — Bad request - unsupported include value
- `401` — Unauthorized
- `500` — Internal server error

## Changes

- **2026-07-21** `e95256e0a513` — 1 info
  - added the optional property `data/items/pricing/oneOf[#/components/schemas/Pricing]/subscription` to the response with the `200` status
- **2026-07-20** `683614d86b84` — 8 breaking, 5 warning, 1 info
  - added `#/components/schemas/ContextWindow, subschema #2` to the `data/items/context_window` response property `oneOf` list for the response status `200`
  - added `#/components/schemas/Pricing, subschema #2` to the `data/items/pricing` response property `oneOf` list for the response status `200`
  - the `data/items/context_window` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - the `data/items/pricing` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - …10 more
- **2026-07-20** `456055f92784` — 1 warning
  - added the new `community` enum value to the `data/items/context_window/source` response property for the response status `200`
- **2026-07-20** `a377fa5d64dd` — 1 warning
  - added the new `community` enum value to the `data/items/pricing/source` response property for the response status `200`
- …earlier changes not shown

[Full history](https://skmtc.dev/inference-gateway/apis/inference-gateway-api/changes/models/get.md)

---

[API](https://skmtc.dev/inference-gateway/apis/inference-gateway-api.md) · [All operations](https://skmtc.dev/inference-gateway/apis/inference-gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/inference-gateway/inference-gateway-api/revisions/22669d27e4bb/schema)
