Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.phala.com/llms.txt

Use this file to discover all available pages before exploring further.

Endpoints

GET https://api.redpill.ai/v1/models
GET https://api.redpill.ai/v1/models/phala
Use the live model catalog before hardcoding model IDs. The catalog returns model IDs, context windows, pricing, providers, modalities, and TEE metadata when available.

Examples

curl https://api.redpill.ai/v1/models \
  -H "Authorization: Bearer <API_KEY>"

Response

{
  "data": [
    {
      "id": "phala/qwen3.5-27b",
      "name": "Qwen3.5 27B",
      "created": 1677652288,
      "description": "Qwen model running through Phala GPU TEE infrastructure",
      "context_length": 262144,
      "pricing": {
        "prompt": "0.00000030",
        "completion": "0.00000240"
      },
      "providers": ["phala"],
      "metadata": {
        "tee": true,
        "appid": "..."
      },
      "architecture": {
        "modality": "text->text",
        "input_modalities": ["text"],
        "output_modalities": ["text"]
      }
    }
  ]
}

Model Object Fields

FieldDescription
idModel identifier for API calls
nameHuman-readable model name
descriptionModel or provider description
context_lengthMaximum context window
pricing.promptInput token price per token; multiply by 1,000,000 for per-million-token pricing
pricing.completionOutput token price per token; multiply by 1,000,000 for per-million-token pricing
providersInfrastructure providers such as phala, near-ai, tinfoil, or chutes
metadata.teeWhether the model is marked as a TEE model
metadata.appidPresent when the model supports the attestation flow
architecture.input_modalitiesSupported input types, such as text or image
architecture.output_modalitiesSupported output types, such as text or embeddings

Find Verifiable TEE Models

Filter for models that expose TEE provider metadata:
curl https://api.redpill.ai/v1/models \
  -H "Authorization: Bearer <API_KEY>" | \
  jq '.data[] | select(.metadata.tee == true or any(.providers[]?; test("phala|near-ai|tinfoil|chutes"))) | {id, providers, appid: .metadata.appid}'
For production verification, test Attestation Report with the exact model ID before relying on it in your application.