/
/Replicate HTTP API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 2h ago · Updated 10mo ago
  • getGet the authenticated account
  • getList collections of models
  • getGet a collection of models
  • getList deployments
  • postCreate a deployment
  • getGet a deployment
  • deleteDelete a deployment
  • patchUpdate a deployment
  • postCreate a prediction using a deployment
  • getList files
  • postCreate a file
  • getGet a file
  • deleteDelete a file
  • getDownload a file
  • getList available hardware for models
  • getList public models
  • postCreate a model
  • getGet a model
  • deleteDelete a model
  • patchUpdate metadata for a model
  • getList examples for a model
  • postCreate a prediction using an official model
  • getGet a model's README
  • getList model versions
  • getGet a model version
  • deleteDelete a model version
  • postCreate a training
  • getList predictions
  • postCreate a prediction
  • getGet a prediction
  • postCancel a prediction
  • getSearch models, collections, and docs (beta)
  • getList trainings
  • getGet a training
  • postCancel a training
  • getGet the signing secret for the default webhook

List available hardware for models

Example cURL request:

curl -s \
  -H "Authorization: Bearer $REPLICATE_API_TOKEN" \
  https://api.replicate.com/v1/hardware

The response will be a JSON array of hardware objects:

[
    {"name": "CPU", "sku": "cpu"},
    {"name": "Nvidia T4 GPU", "sku": "gpu-t4"},
    {"name": "Nvidia A40 GPU", "sku": "gpu-a40-small"},
    {"name": "Nvidia A40 (Large) GPU", "sku": "gpu-a40-large"},
]
get/hardware

Response

Success

namestring

The name of the hardware.

skustring

The SKU of the hardware.

Changes