Authentication
RunPod uses API Keys for all API requests. Go to Settings to manage your API keys.GraphQL API Spec
If you need detailed queries, mutations, fields, and inputs, look at the GraphQL Spec.Create Pods
A Pod consists of the following resources:- 0 or more GPUs - A pod can be started with 0 GPUs for the purposes of accessing data, though GPU-accelerated functions and web services will fail to work.
- vCPU
- System RAM
-
Container Disk
- It’s temporary and removed when the pod is stopped or terminated.
- You only pay for the container disk when the pod is running.
-
Instance Volume
- Data persists even when you reset or stop a Pod. Volume is removed when the Pod is terminated.
- You pay for volume storage even when the Pod is stopped.
- Global Networking
Create On-Demand Pod
- cURL
- GraphQL
- Output
Create Spot Pod
- cURL
- GraphQL
- Output
Filter by Allowed CUDA Versions
You can pass in theallowedCudaVersions
as a list of CUDA versions that you want to allow for the GPU in the pod.
This helps in specifying the compatible CUDA versions for your GPU setup.
- cURL
- GraphQL
- Output
Start Pods
Start On-Demand Pod
- cURL
- GraphQL
- Output
Start Spot Pod
- cURL
- GraphQL
- Output
Filter by CUDA Version
You can pass in theallowedCudaVersions
as a list of CUDA versions that you want to allow for the GPU in the pod.
This helps in specifying the compatible CUDA versions for your GPU setup.
- cURL
- GraphQL
- Output
Stop Pods
- cURL
- GraphQL
- Output
List Pods
List all Pods
- cURL
- GraphQL
- Output
Get Pod by ID
- cURL
- GraphQL
- Output
List GPU types
When creating a Pod, you will need to pass GPU type IDs. These queries can help find all GPU types, their IDs, and other attributes like VRAM.- cURL
- GraphQL
- Output
Get GPU Type by ID
- cURL
- GraphQL
- Output