> For the complete documentation index, see [llms.txt](https://docs.w.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.w.ai/w.ai-api/models.md).

# Models

*If there is a particular model you'd like to see on w\.ai, let us know.*

***

### Models API Overview

The `/v1/models` endpoint provides a list of all the currently available models on the w\.ai network, including essential metadata for easy integration into your application.

#### Endpoint

```
GET /v1/models
```

#### Description

This endpoint returns an array of available model objects, each detailing information such as name, creation time, and capabilities, helping you easily identify suitable models for your tasks.

#### Request

* **Method:** `GET`
* **URL:** `https://api.w.ai/v1/models`

**Required Headers:**

* `Authorization: Bearer <your_api_key>`
* `Content-Type: application/json`

#### Example Request

```bash
curl -X GET https://api.w.ai/v1/models \
  -H "Authorization: Bearer <your_api_key>" \
  -H "Content-Type: application/json"
```

#### Response

**Success (`200 OK`)**

Returns a JSON object containing an array of available model objects with their respective metadata.

**Example Response**

```json
{
  "data": [
    {
      "id": "qwen3-4b-4bit",
      "object": "model",
      "created": 1676235352,
      "name": "qwen3-4b-4bit"
    },
    {
      "id": "llama-3.2-1b-4bit",
      "object": "model",
      "created": 1680526341,
      "name": "llama-3.2-1b-4bit"
    }
  ]
}
```

**Response Fields**

* **`data`**: Array containing model objects.
  * **`id`**: Unique identifier for the model.
  * **`object`**: Type of the object, typically `model`.
  * **`created`**: Unix timestamp indicating when the model was created.
  * **`name`**: The name identifier of the model.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.w.ai/w.ai-api/models.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
