Skip to main content
GET
/
hardware
# Docs for v2 can be found by changing the above selector ^
from together import Together
import os

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

response = client.endpoints.list_hardware()

for hardware in response:
print(hardware.id)
{
  "object": "list",
  "data": [
    {
      "object": "hardware",
      "id": "<string>",
      "pricing": {
        "cents_per_minute": 123
      },
      "specs": {
        "gpu_type": "<string>",
        "gpu_link": "<string>",
        "gpu_memory": 123,
        "gpu_count": 123
      },
      "updated_at": "2023-11-07T05:31:56Z",
      "availability": {
        "status": "available"
      }
    }
  ]
}

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