> For the complete documentation index, see [llms.txt](https://1nodeio.gitbook.io/1node/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://1nodeio.gitbook.io/1node/1node-api/endpoints/resource-estimation.md).

# Resource Estimation

**CLI:** 1node resource-estimator --script model.py --size 300 --files 12

**API:**

POST /v1/estimate

**Body (JSON):**

```
{ "scriptType":0,"imageSizeMb":300,"numFiles":12 }
```

**Response (200):**

```
{ "gpuRam":"16Gi","cpuUnits":2,"ram":"8Gi" }
```
