> This page is for version 2.0.0 (Latest) (default).
> For other versions, use one of these documentation indexes:
> - 2.0.0 (Latest) (default): https://docs.nvidia.com/nim/alpamayo/2.0.0/llms.txt
> - 1.0.0: https://docs.nvidia.com/nim/alpamayo/1.0.0/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nim/alpamayo/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nim/alpamayo/_mcp/server.

# Available Models

GET /v1/models

Reference: https://docs.nvidia.com/nim/alpamayo/api-reference/available-models-v-1-models-get

## Response

### 200

Successful Response

- `data` (list of AvailableModel, required)
- `object` ("list", optional, default: list)

## Types

### AvailableModel

Alpamayo model and effective runtime settings.

- `id` (string, required)
- `backend` (string, required)
- `checkpoint` (string, required)
- `checkpoint_hash` (string, required)
- `profile` (string, required)
- `profile_id` (string, required)
- `precision` (string, required)
- `checkpoint_quantization` (string, required)
- `speculative_decoding` (string, required)
- `max_inflight` (integer, required)
- `max_request_bytes` (integer, required)
- `object` ("model", optional, default: model)
- `created` (integer, optional, default: 0)
- `owned_by` (string, optional, default: nvidia)
- `root` (string, optional, nullable) — Container directory holding checksums.blake3, the BLAKE3 manifest of the selected profile's model files; entry paths are relative to it. Null when no manifest is written (BYOC checkpoints).
- `default_seed` (integer, optional)
- `k_values` (list of integer, optional) — num_traj_samples values accepted by the active profile, in configured order. Requests for other values return HTTP 400. Changing the list requires a restart with NIM_ALPAMAYO_TRAJ_SAMPLES.
- `max_model_len` (integer, optional) — VLM context limit in tokens (NIM_ALPAMAYO_MAX_MODEL_LEN), covering image tokens, prompt, and generated text.
- `speculative_model` (string, optional, nullable) — Container path of the custom speculative-decoding draft head (NIM_ALPAMAYO_SPECULATIVE_MODEL). Null when no custom head is configured: the profile's packaged head is used, or speculative decoding is off.
- `action_expert_max_batch_size` (integer, optional, nullable) — Largest number of trajectory samples the action expert evaluates in one call. The packaged profiles use 1: the K samples of a request run through the action expert one at a time. Set with NIM_ALPAMAYO_ACTION_EXPERT_MAX_BATCH_SIZE; null when unknown.
- `spec_metrics` (string, optional) — Effective speculative-decoding acceptance metrics mode (NIM_ALPAMAYO_SPEC_METRICS); 'none' when disabled or when the profile does not use speculative decoding.

## Examples

**Response**

```json
{
  "data": [
    {
      "id": "string",
      "backend": "string",
      "checkpoint": "string",
      "checkpoint_hash": "string",
      "profile": "string",
      "profile_id": "string",
      "precision": "string",
      "checkpoint_quantization": "string",
      "speculative_decoding": "string",
      "max_inflight": 1,
      "max_request_bytes": 1,
      "object": "model",
      "created": 0,
      "owned_by": "nvidia",
      "root": "string",
      "default_seed": 1,
      "k_values": [
        1
      ],
      "max_model_len": 1,
      "speculative_model": "string",
      "action_expert_max_batch_size": 1,
      "spec_metrics": "string"
    }
  ],
  "object": "list"
}
```

**SDK Code**

```python
import requests

url = "https://api.example.com/v1/models"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'https://api.example.com/v1/models';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.example.com/v1/models"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.example.com/v1/models")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.example.com/v1/models")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.example.com/v1/models');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.example.com/v1/models");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/v1/models")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```