Resources
The targon.Resources class centralizes available compute tier identifiers. Use these string constants when selecting resource_name for workloads and rentals.
from targon import Resources
resource_name = Resources.H200_SMALL # "h200-small"
CPU Tiers
| Constant | Value | Typical Workloads |
|---|---|---|
Resources.CPU_SMALL | cpu-small | Background jobs, lightweight services. |
Resources.CPU_MEDIUM | cpu-medium | Data processing, lightweight AI workloads. |
Resources.CPU_LARGE | cpu-large | Batch processing, API backends with steady load. |
Resources.CPU_XL | cpu-xlarge | Heavy CPU-bound workloads. |
GPU Tiers
H200
| Constant | Value | Typical Workloads |
|---|---|---|
Resources.H200_SMALL | h200-small | Prompt serving, small LLMs, diffusion warmups. |
Resources.H200_MEDIUM | h200-medium | Mid-sized model inference, fine-tuning jobs. |
Resources.H200_LARGE | h200-large | High-throughput inference, multi-modal workloads. |
Resources.H200_XL | h200-xlarge | Training loops, multi-billion parameter models. |
H100
| Constant | Value |
|---|---|
Resources.H100_SMALL | h100-small |
Resources.H100_MEDIUM | h100-medium |
Resources.H100_LARGE | h100-large |
Resources.H100_XL | h100-xlarge |
B200
| Constant | Value |
|---|---|
Resources.B200_SMALL | b200-small |
Resources.B200_MEDIUM | b200-medium |
Resources.B200_LARGE | b200-large |
Resources.B200_XL | b200-xlarge |
B300
| Constant | Value |
|---|---|
Resources.B300_SMALL | b300-small |
Resources.B300_MEDIUM | b300-medium |
Resources.B300_LARGE | b300-large |
Resources.B300_XL | b300-xlarge |
RTX6000B and RTX4090
| Constant | Value |
|---|---|
Resources.RTXP6000B_SMALL | rtx6000b-small |
Resources.RTX4090_SMALL | rtx4090-small |
Resources.RTX4090_MEDIUM | rtx4090-medium |
Resources.RTX4090_LARGE | rtx4090-large |
All constants are defined in the SDK:
# targon-sdk/libs/python/src/targon/core/resources.py
class Resources:
CPU_SMALL = "cpu-small"
CPU_MEDIUM = "cpu-medium"
CPU_LARGE = "cpu-large"
CPU_XL = "cpu-xlarge"
H200_SMALL = "h200-small"
# ...
See the Compute API reference for the full list of tier identifiers.
Selecting Resources
- Choose a CPU tier for CPU-bound jobs, orchestration, or lightweight services.
- Choose a GPU tier for accelerated workloads (PyTorch, TensorRT, vLLM, etc.).
- Run
targon inventoryorclient.inventory.capacity()to see which tiers are available and their current hourly cost.
See the Compute resources guide for in-depth recommendations.