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

# Get system statistics

`GET /api/system_stats`

Returns hardware, Python, VRAM, and runtime statistics for the running ComfyUI process.

## Response `200`

System stats

- SystemStatsResponse — Hardware, VRAM, Python, and ComfyUI version information for the running process.
  - `system` object, required
    - `os` string, required — Operating system
    - `python_version` string, required — Python version
    - `embedded_python` boolean, required — Whether using embedded Python
    - `comfyui_version` string, required — ComfyUI version string
    - `pytorch_version` string, required — PyTorch version
    - `required_frontend_version` string — Required frontend version
    - `argv` string[], required — Command line arguments
    - `ram_total` number, required — Total RAM in bytes
    - `ram_free` number, required — Free RAM in bytes
    - `installed_templates_version` string, nullable — Version of the currently installed workflow templates
    - `required_templates_version` string, nullable — Minimum required workflow templates version for this ComfyUI build
  - `devices` DeviceStats[], required
    - `name` string, required — Device name
    - `type` string, required — Device type (cuda, mps, cpu, etc.)
    - `index` number, nullable, required — Device index within its type (e.g. CUDA ordinal for `cuda:0`, `cuda:1`). `null` for devices with no index, including the CPU device returned in `--cpu` mode (PyTorch's `torch.device('cpu').index` is `None`).
    - `vram_total` number — Total VRAM in bytes
    - `vram_free` number — Free VRAM in bytes
    - `torch_vram_total` number — Total PyTorch-managed VRAM in bytes
    - `torch_vram_free` number — Free PyTorch-managed VRAM in bytes

## Changes

- **2026-05-05** `d663f60caca6` — 1 breaking
  - the response property `devices/items/index` became nullable for the status `200`
- **2026-04-24** `a66055fa384e` — 4 warning, 7 info
  - removed the optional property `system/cloud_version` from the response with the `200` status
  - removed the optional property `system/comfyui_frontend_version` from the response with the `200` status
  - removed the optional property `system/deploy_environment` from the response with the `200` status
  - removed the optional property `system/workflow_templates_version` from the response with the `200` status
  - …7 more

[Change 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/2f69d843959c/schema)
