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

List All Models

Returns list of all 218+ available models.
GET https://api.redpill.ai/v1/models

Example

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

Response

{
  "data": [
    {
      "id": "openai/gpt-4o-mini",
      "name": "GPT-4 Turbo",
      "created": 1677652288,
      "description": "Most capable GPT-4 model...",
      "context_length": 128000,
      "pricing": {
        "prompt": "0.01",
        "completion": "0.03"
      },
      "architecture": {
        "modality": "text->text",
        "input_modalities": ["text"],
        "output_modalities": ["text"]
      }
    }
  ]
}

Model Object Fields

FieldDescription
idModel identifier for API calls
nameHuman-readable name
context_lengthMaximum context window
pricing.promptPrice per 1K prompt tokens
pricing.completionPrice per 1K completion tokens
quantizationFP8, FP16, etc.
modalityInput/output types

All Models

Browse complete model catalog →