Skip to main content
GET
/
models
List Models
curl --request GET \
  --url https://api.redpill.ai/v1/models \
  --header 'Authorization: Bearer <token>'

List All Models

Returns the current model catalog, including model IDs, context windows, providers, modalities, and token pricing.
GET https://api.redpill.ai/v1/models
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).

Example

curl https://api.redpill.ai/v1/models \
  -H "Authorization: Bearer YOUR_API_KEY"
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.

Response

{
  "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

FieldDescription
idModel identifier for API calls.
nameHuman-readable name.
is_teetrue if the model can be served confidentially, on a verified TEE provider.
createdUnix timestamp when the model was added.
context_lengthMaximum context window.
max_output_lengthMaximum output length.
input_modalitiesAccepted inputs, for example text, image, file, video.
output_modalitiesProduced outputs, for example text.
pricing.promptPrice per prompt token. Multiply by 1,000,000 for the per-million-token price.
pricing.completionPrice per completion token. Multiply by 1,000,000 for the per-million-token price.
supported_parametersRequest parameters this model accepts, for example max_tokens or max_completion_tokens.
providersConfidential 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:
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.

Confidential models

The confidential catalog and backing providers →