Skip to main content
GET
/
hardware
from together import Together
import os

client = Together(
api_key=os.environ.get("TOGETHER_API_KEY"),
)

hardware = client.hardware.list(
model="model-id"
)

print(hardware);
{
  "object": "list",
  "data": [
    {
      "object": "hardware",
      "id": "2x_nvidia_a100_80gb_sxm",
      "pricing": {
        "cents_per_minute": 5.42
      },
      "specs": {
        "gpu_type": "a100-80gb",
        "gpu_link": "sxm",
        "gpu_memory": 80,
        "gpu_count": 2
      },
      "availability": {
        "status": "available"
      },
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
default:default
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

model
string

Filter hardware configurations by model compatibility. When provided, the response includes availability status for each compatible configuration.

Response

List of available hardware configurations

object
enum<string>
required
Available options:
list
data
object[]
required
I