---
title: "Get system statistics"
method: GET
path: "/api/system_stats"
tags: ["system"]
---

# Get system statistics

`GET /api/system_stats`

Returns system statistics including ComfyUI version, device info, and system resources

## Response `200`

Success

- SystemStatsResponse — System statistics response
  - `devices` object[], required
    - `name` string, required — Device name
    - `type` string, required — Device type
    - `vram_free` number — Free VRAM in bytes
    - `vram_total` number — Total VRAM in bytes
  - `system` object, required
    - `argv` string[], required — Command line arguments
    - `cloud_version` string — Cloud ingest service version (commit hash)
    - `comfyui_frontend_version` string — ComfyUI frontend version (commit hash or tag)
    - `comfyui_version` string, required — ComfyUI version
    - `deploy_environment` string — How this ComfyUI instance is deployed (e.g. cloud, local-git, local-portable, local-desktop)
    - `embedded_python` boolean, required — Whether using embedded Python
    - `os` string, required — Operating system
    - `python_version` string, required — Python version
    - `pytorch_version` string, required — PyTorch version
    - `ram_free` number, required — Free RAM in bytes
    - `ram_total` number, required — Total RAM in bytes
    - `workflow_templates_version` string — Workflow templates version

## Other responses

- `401` — Unauthorized

## Changes

> 38 revisions in range; 2 could not be searched.

- **2026-06-11** `2464dcf794fd` — 1 info
  - added the optional property `system/deploy_environment` to the response with the `200` status
- **2026-06-03** `8560879e6188` — 1 breaking, 6 warning, 4 info
  - removed the required property `devices/items/index` from the response with the `200` status
  - removed the optional property `devices/items/torch_vram_free` from the response with the `200` status
  - removed the optional property `devices/items/torch_vram_total` from the response with the `200` status
  - removed the optional property `system/comfy_package_versions` from the response with the `200` status
  - …7 more
- **2026-05-22** `09a5075587c8` — 1 info
  - added the non-success response with the status `401`
- **2026-05-14** `cc9442c7c5b9` — 1 info
  - added the optional property `system/comfy_package_versions` to the response with the `200` status
- **2026-05-05** `d663f60caca6` — 1 breaking
  - the response property `devices/items/index` became nullable for the status `200`

[Full history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/system_stats/get.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/da017caf56f1/schema)
