> ## Documentation Index
> Fetch the complete documentation index at: https://docs.redpill.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Models

> List available models with providers, context windows, and pricing.

## List All Models

Returns the current model catalog, including model IDs, context windows, providers, modalities, and token pricing.

```bash theme={null}
GET https://api.redpill.ai/v1/models
```

<Note>
  **Try it now!** Click the "Try it" button above to test the API in the playground. You'll need your API key (add it when prompted).
</Note>

## Example

<CodeGroup>
  ```bash All Models theme={null}
  curl https://api.redpill.ai/v1/models \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```python Python theme={null}
  models = client.models.list()
  for model in models.data:
      print(f"{model.id}: {model.name}")
  ```
</CodeGroup>

<Note>
  Each model has an `is_tee` boolean. `is_tee: true` means the model can be served confidentially, on a
  verified TEE provider. The receipt remains the per-response proof. See
  [Confidential models](/confidential-ai/confidential-models).
</Note>

## Response

```json theme={null}
{
  "data": [
    {
      "id": "qwen/qwen3-30b-a3b-instruct-2507",
      "name": "Qwen3 30B A3B Instruct",
      "created": 1764804811,
      "is_tee": true,
      "input_modalities": ["text"],
      "output_modalities": ["text"],
      "context_length": 262144,
      "max_output_length": 262144,
      "pricing": {
        "prompt": "0.00000032",
        "completion": "0.00000048"
      },
      "supported_parameters": ["max_tokens", "temperature", "tools", "tool_choice", "response_format"],
      "providers": ["near-ai"],
      "description": "…",
      "metadata": {}
    }
  ]
}
```

## Model Object Fields

| Field                  | Description                                                                                  |
| ---------------------- | -------------------------------------------------------------------------------------------- |
| `id`                   | Model identifier for API calls.                                                              |
| `name`                 | Human-readable name.                                                                         |
| `is_tee`               | `true` if the model can be served confidentially, on a verified TEE provider.                |
| `created`              | Unix timestamp when the model was added.                                                     |
| `context_length`       | Maximum context window.                                                                      |
| `max_output_length`    | Maximum output length.                                                                       |
| `input_modalities`     | Accepted inputs, for example `text`, `image`, `file`, `video`.                               |
| `output_modalities`    | Produced outputs, for example `text`.                                                        |
| `pricing.prompt`       | Price per prompt token. Multiply by 1,000,000 for the per-million-token price.               |
| `pricing.completion`   | Price per completion token. Multiply by 1,000,000 for the per-million-token price.           |
| `supported_parameters` | Request parameters this model accepts, for example `max_tokens` or `max_completion_tokens`.  |
| `providers`            | Confidential providers that can serve the model, for example `near-ai`, `tinfoil`, `chutes`. |

## Finding confidential models

Filter by `is_tee: true` to find models that can be served confidentially:

```bash theme={null}
curl -s https://api.redpill.ai/v1/models \
  -H "Authorization: Bearer $API_KEY" \
  | jq -r '.data[] | select(.is_tee == true) | .id'
```

The same model can appear under more than one id; `is_tee` is consistent across aliases. To prove a
specific response was served from an attested enclave, read the `x-receipt-id` header and verify it
with `/v1/aci/attestation` and `/v1/aci/receipts/{id}`. See
[Verify a response](/guides/verify-a-response).

<Card title="Confidential models" icon="microchip" href="/confidential-ai/confidential-models">
  The confidential catalog and backing providers →
</Card>
