跳转到主要内容
GET
/
gpus
/
v2
/
products
查询产品列表
curl --request GET \
  --url https://api.ppio.com/gpus/v2/products \
  --header 'Authorization: <authorization>'
{
  "data": [
    {
      "id": "prod-a100-80g",
      "name": "A100-80G",
      "type": "gpu",
      "category": "instance",
      "description": "NVIDIA A100 80GB",
      "region_ids": [
        "c-east-1"
      ],
      "resource_spec": {
        "gpu": {
          "spec_id": "spec-a100-80g",
          "name": "A100",
          "memory_gb": 80,
          "min": 1,
          "max": 8,
          "available": 6,
          "max_available": 6
        },
        "cpu": 16,
        "memory_gb": 128,
        "rootfs": {
          "min_gb": 50,
          "max_gb": 500,
          "free_gb": 50
        }
      },
      "pricing": {
        "precision": 3,
        "postpaid": {
          "base_price": 18000,
          "final_price": 12600,
          "unit": "per_hour"
        },
        "spot": {
          "base_price": 12600,
          "final_price": 6000,
          "unit": "per_hour"
        },
        "prepaid": [
          {
            "spec_id": "spec_a100_1m",
            "duration_months": 1,
            "final_price": 9072000,
            "base_price": 12960000
          }
        ],
        "storage_price_per_gb": 50
      },
      "billing_methods": [
        "postpaid",
        "prepaid",
        "spot"
      ],
      "inventory_state": "normal",
      "deployable": true,
      "activity": {
        "is_activity_product": false,
        "active": false,
        "purchasable": true
      }
    }
  ]
}

请求头

Authorization
string
必填

Bearer 身份验证格式,例如:Bearer {{API 密钥}}

查询参数

type
string
必填

产品类型,留空时按 gpu 处理。可选值:gpucpu

category
string
必填

产品分类。可选值:serverlessinstance

cpu
integer

CPU 核数档位。整数,取值 >= 0。

memory_gb
integer

内存档位。整数,取值 >= 0。单位为 GB。

rootfs_size
integer

系统盘大小。整数,取值 >= 0。单位为 GB。

billing_method
string

计费方式。可选值:postpaidprepaidspot

region_ids
string

多区域过滤,多个 Region ID 用英文逗号分隔。

limit
integer

本次返回数量上限。整数,取值 >= 0。

cursor
string

上一页响应返回的游标,首次请求留空。字符串,长度限制:0-1024 字符。

响应

200 - application/json

查询成功

data
object[]

产品列表

最后修改于 2026年6月22日