---
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

---

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