Skip to main content
GET
Get a CPU type

Authorizations

Authorization
string
header
required

Runpod API key authentication. Generate an API key in the Runpod console and send it in the Authorization header as Bearer <api_key>. Keys are scoped to the permissions granted when created; requests may return 403 when a valid key lacks access to the requested resource or action.

Path Parameters

id
string
required

Query Parameters

include
enum<string>[]

Comma-separated optional expansions. Supported value today: AVAILABILITY. This may expand with more include values in the future.

Maximum array length: 1

Catalog include expansion. Only AVAILABILITY is supported today; additional include values may be added in the future.

Available options:
AVAILABILITY
product
enum<string>[]

Comma-separated availability product context. Valid only with include=AVAILABILITY. Supported values for CPUs: POD, SERVERLESS. Defaults to POD when omitted.

CPU catalog product availability context.

Available options:
POD,
SERVERLESS
Example:
vcpuCount
integer

Availability vCPU count. Valid only with include=AVAILABILITY. Must be a power of two.

Required range: x >= 2

Response

OK

id
string
required

CPU flavor identifier (use in cpu.id for pod creation)

Example:

"cpu5c"

name
string
required

Human-readable flavor name

Example:

"Compute-Optimized"

group
string
required

CPU generation group

Example:

"Gen 5"

vcpu
object
required
ramGbPerVcpu
number<float>
required

GB of RAM allocated per vCPU. Multiply by the chosen vCPU count (within vcpu.min..vcpu.max) to get the total RAM for an instance of this flavor. May be fractional.

Example:

2.5

price
object
required
availability
enum<string>

Overall CPU availability. Present only when requested with include=AVAILABILITY.

Available options:
NONE,
LOW,
MEDIUM,
HIGH
dataCenters
object[]

Per-datacenter CPU availability. Present only when requested with include=AVAILABILITY.