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

# List available models

GET https://api.runtype.com/v1/model-configs/available

Deprecated flat model catalog endpoint. Use /grouped for grouped provider options.

Reference: https://docs.runtype.com/api-reference/runtype-api/model-configs/list-available-models

## Authentication

- `Authorization` header (bearer token, required) — API key or Clerk session token

## Servers

- `https://api.runtype.com` (Production, default)
- `https://api.runtype-staging.com` (Staging)

## Request

### Query parameters

- `showAll` (string, optional)
- `category` (string, optional)

## Response

### 200

Available model catalog with user configuration status

- `data` (list of V1ModelConfigsAvailableGetResponsesContentApplicationJsonSchemaDataItems, required)
- `stats` (V1ModelConfigsAvailableGetResponsesContentApplicationJsonSchemaStats, required)
- `total` (integer, required)
- `credentialPolicy` (V1ModelConfigsAvailableGetResponsesContentApplicationJsonSchemaCredentialPolicy, optional) — Which providers may serve a model call for this account. A model whose `keyStatus` is `needs_setup` is refused at execution.

## Errors

### 401 Unauthorized Error

Unauthorized

- `error` (string, required)
- `code` (string, optional) — Stable error code. `insufficient_scope` marks an API key that lacks a scope this request needs.
- `details` (list of ErrorDetailsItems, optional)
- `requiredScopes` (list of string, optional) — On `insufficient_scope`: every API key scope this request needs.

### 500 Internal Server Error

Internal server error

- `error` (string, required)
- `code` (string, optional) — Stable error code. `insufficient_scope` marks an API key that lacks a scope this request needs.
- `details` (list of ErrorDetailsItems, optional)
- `requiredScopes` (list of string, optional) — On `insufficient_scope`: every API key scope this request needs.

## Types

### V1ModelConfigsAvailableGetResponsesContentApplicationJsonSchemaDataItems

- `costPer1kTokens` (double, required)
- `displayName` (string, required)
- `id` (any, required)
- `isConfigured` (boolean, required)
- `isDefault` (boolean, required)
- `isEnabled` (boolean, required)
- `keyStatus` (enum, required)
  - Allowed values: `platform`, `custom`, `needs_setup`
- `modelId` (string, required)
- `provider` (string, required)
- `supportsCustomKey` (boolean, required)
- `supportsSearch` (boolean, required)
- `contextLength` (double, optional)
- `creditPromoLabel` (string, optional, nullable) — Plain-language discount callout, e.g. "90% off". null when undiscounted.
- `creditPromoMultiplier` (double, optional) — Factor platform-key spend on this model is billed at (0.1 = 90% off); 1 when undiscounted.
- `maxOutputTokens` (double, optional)
- `supportedResponseFormats` (list of string, optional)
- `supportsStreaming` (boolean, optional)
- `tags` (list of string, optional)
- `uiCategory` (string, optional)
- `uiPriority` (double, optional)

### V1ModelConfigsAvailableGetResponsesContentApplicationJsonSchemaStats

- `configured` (integer, required)
- `popular` (integer, required)
- `totalAvailable` (integer, required)
- `uiVisible` (integer, required)

### V1ModelConfigsAvailableGetResponsesContentApplicationJsonSchemaCredentialPolicy

Which providers may serve a model call for this account. A model whose `keyStatus` is `needs_setup` is refused at execution.

- `blockedProviders` (list of string, required) — Providers organization policy refuses until a credential is connected.
- `byokProviders` (list of string, required) — Providers served by the account own credentials. `generic-openai` is its custom inference endpoint.
- `mode` (enum, required) — `byok_only`: the organization requires its own model keys; only `byokProviders` serve calls and Runtype platform keys are never used. `mixed`: some providers run on the account credentials and others on platform keys. `platform`: the account has connected no provider credentials.
  - Allowed values: `byok_only`, `mixed`, `platform`
- `platformProviders` (list of string, required) — Providers served by Runtype platform keys.
- `summary` (string, required) — Plain-language statement of the same facts.

### ErrorDetailsItems

- `message` (string, required)
- `code` (string, optional) — Stable Runtype validation code (e.g. MISSING_REQUIRED_FIELD, INVALID_ENUM).
- `path` (string, optional) — Dotted JSON path to the offending field.
- `suggestion` (string, optional) — Actionable hint (allowed values, accepted range, …).

## Examples

**Response**

```json
{
  "data": [
    {
      "costPer1kTokens": 1.1,
      "displayName": "string",
      "id": null,
      "isConfigured": true,
      "isDefault": true,
      "isEnabled": true,
      "keyStatus": "platform",
      "modelId": "string",
      "provider": "string",
      "supportsCustomKey": true,
      "supportsSearch": true,
      "contextLength": 1.1,
      "creditPromoLabel": "string",
      "creditPromoMultiplier": 1.1,
      "maxOutputTokens": 1.1,
      "supportedResponseFormats": [
        "string"
      ],
      "supportsStreaming": true,
      "tags": [
        "string"
      ],
      "uiCategory": "string",
      "uiPriority": 1.1
    }
  ],
  "stats": {
    "configured": 1,
    "popular": 1,
    "totalAvailable": 1,
    "uiVisible": 1
  },
  "total": 1,
  "credentialPolicy": {
    "blockedProviders": [
      "string"
    ],
    "byokProviders": [
      "string"
    ],
    "mode": "byok_only",
    "platformProviders": [
      "string"
    ],
    "summary": "string"
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.runtype.com/v1/model-configs/available"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.runtype.com/v1/model-configs/available';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

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.runtype.com/v1/model-configs/available"

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

	req.Header.Add("Authorization", "Bearer <token>")

	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.runtype.com/v1/model-configs/available")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

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.runtype.com/v1/model-configs/available")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.runtype.com/v1/model-configs/available', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.runtype.com/v1/model-configs/available");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.runtype.com/v1/model-configs/available")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

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()
```