---
title: "List Models (OpenAI-Compatible)"
method: GET
path: "/v1/models"
tags: ["Models"]
---

# List Models (OpenAI-Compatible)

`GET /v1/models`

## Request

- Base URL: `https://api.swarms.world`
- URL: `https://api.swarms.world/v1/models`
- Auth: none declared. Required headers: `x-api-key`

List all available models in the OpenAI-compatible format. Use with any OpenAI SDK or client that discovers models via GET /v1/models.

## Headers

- `x-api-key` string, required

## Response `200`

Successful Response

- ModelListResponse
  - `object` string
  - `data` ModelObject[], required
    - `id` string, required: The model identifier
    - `object` string
    - `created` integer
    - `owned_by` string
    - `pricing` ModelPricing: What a model costs per 1M tokens, service fee included.
      - `input_cost_per_1m` number, required: Price per 1M input tokens (USD), including the service fee.
      - `output_cost_per_1m` number, required: Price per 1M output tokens (USD), including the service fee.
      - `price_source` string, required: Where the price came from: 'openrouter', 'litellm' or 'fallback'.

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `500c79520e41`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/the-swarm-corporation/apis/swarms-api/changes/v1/models/get.md)

---

[API](https://skmtc.dev/the-swarm-corporation/apis/swarms-api.md) - [All operations](https://skmtc.dev/the-swarm-corporation/apis/swarms-api/llms.txt) - [OpenAPI document](https://skmtc.dev/the-swarm-corporation/apis/swarms-api/revisions/fca99f497199?raw)
