安装
pip install aibox-marketplace-sdk==0.1.0
注:包名与 PyPI 发布时间为路线图任务;当前文档描述 目标接口。
下单 GPU·h
from aibox_marketplace import Client
c = Client(api_key="...", endpoint="https://market.aibox.example")
job = c.create_job(gpu="RTX_4090D", hours=2, image="aibox/cuda:12.6")
print(job.ssh_command)
计费
按 秒 结算,最小计费单位 60s;失败任务 不计费(节点责任由 SLA 条款约束)。