GET
/
hardware
import Together from "together-ai";

const client = new Together({
apiKey: process.env.TOGETHER_API_KEY,
});

const hardware = await client.hardware.list();

console.log(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

200
application/json

List of available hardware configurations

The response is of type object.