GPU3 API文档

获取GPU列表

使用 GETPOST 方法获取GPU列表:

https://ckey.vn/api/getgpu3?key=[key]&gpu=[gpuType]&continent=[continent]&sort=[sort]&count=[count]&access=[access]&host_type=[host_type]

参数:

  • key: 您的API密钥.
  • gpu: 您要获取信息的GPU类型.
  • continent: 您要获取信息的国家.
  • sort: 按价格筛选.
  • count: GPU数量筛选,例如 12.
  • access: 连接类型筛选,支持 allpublic.
  • host_type: Hosting 类型筛选,支持 allcommunitydatacenter.
GPU:
Continent:
Sort:
Access:
Host Type:

成功结果:

[{"id":"92329","gpu_name":"1x GTX 1660 Ti - 6 GB","cpu":"AMD Ryzen 3 1200 Quad-Core Processor","cpu_cores":"4\/4","ram":"7.86 GB","disk_space":"185.72 GB","inet_down":"92.78","inet_up":"21.43","disk_speed":"850.41 MB\/s","cuda_max":"12.4","location":"HU","reliability":"99.96","max_duration":"160","access_tag":"","host_type_tag":"Community","price":"351 VND\/Giờ","price_text":"giờ","raw_price":351.3267333333333},{"id":"ip-81101","gpu_name":"1x GTX 1060 6GB - 6 GB","cpu":"Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz","cpu_cores":"6\/6","ram":"3.86 GB","disk_space":"63.42 GB","inet_down":"62.78","inet_up":"83.07","disk_speed":"357.47 MB\/s","cuda_max":"13.0","location":"RU","reliability":"99.89","max_duration":"700","access_tag":"IP Public","host_type_tag":"Datacenter","price":"379 VND\/Giờ","price_text":"giờ","raw_price":379.1317348}]

API链接:

租用GPU

GPU租用选项:

https://ckey.vn/api/thuegpu3?key=[key]&id=[id]&templates=[templates]&password=[password]&port=[port]&vllm_model=[model]&vllm_args=[args]&env=[KEY=VALUE]

参数:

  • key: 您的API密钥.
  • id: GPU节点ID.
  • templates: 预设模板ID或自定义镜像 namespace/image:tag.
  • password: 创建成功后用于连接的密码.
  • port: 例如 111,222.
  • vllm_model: vLLM OpenAI 模板使用的 Hugging Face 模型名或本地路径,例如 Qwen/Qwen2.5-0.5B-Instruct.
  • vllm_args: vllm serve 的额外参数,例如 --kv-cache-dtype fp8。包含空格时建议 URL 编码。
  • env: 自定义ENV,支持 KEY=VALUE 或 JSON 对象.
Templates:

成功结果:

{
  "status": 200,
  "message": "Thuê GPU thành công!",
  "id": 1234
}

API链接:

删除GPU

删除GPU选项:

https://ckey.vn/api/option_gpu3?key=[key]&id=[id]&option=[option]

参数:

  • key: 您的API密钥.
  • id: 已租用的GPU ID.
option:

成功结果:

{"message":"Delete successful","success":true}

API链接:

获取GPU信息

获取GPU信息选项:

https://ckey.vn/api/infogpu3?key=[key]&id=[id]

参数:

  • key: 您的API密钥.
  • id: 已租用的GPU ID.

成功结果:

{"operating_system":"chieustudio/ubuntu-ssh-ttyd:jammy-20250530","public_ipaddr":"n1.ckey.vn","geolocation":"RU","gpu_name":" GTX 1060 6GB","cpu_name":"6/6","ram":3.8621,"storage":"63.4165","price":"379 VND","ssh_port":"N/A","desktop_port":"N/A","online_status":{"text":"Hoạt động","class":"badge-success"},"mon_container_status":{"text":"Khởi tạo xong","class":"badge-success"},"port_forwards":{"123":"3561","124":"3562"},"mrl":"27-12-2025 21:09:16"}

API链接: