A catalog of GPU pricing for different cloud providers
Project description
Easy access to GPU pricing data for major cloud providers: AWS, Azure, GCP, and LambdaLabs. The catalog includes details about prices, locations, CPUs, RAM, GPUs, and spots (interruptable instances).
Usage
import gpuhunt
items = gpuhunt.query(
min_memory=16,
min_cpu=8,
min_gpu_count=1,
max_price=1.0,
)
print(*items, sep="\n")
List of all available filters:
provider
: name of the provider to filter by. If not specified, all providers will be used. One or manymin_cpu
: minimum number of CPUsmax_cpu
: maximum number of CPUsmin_memory
: minimum amount of RAM in GBmax_memory
: maximum amount of RAM in GBmin_gpu_count
: minimum number of GPUsmax_gpu_count
: maximum number of GPUsgpu_name
: name of the GPU to filter by. If not specified, all GPUs will be used. One or manymin_gpu_memory
: minimum amount of GPU VRAM in GB for each GPUmax_gpu_memory
: maximum amount of GPU VRAM in GB for each GPUmin_total_gpu_memory
: minimum amount of GPU VRAM in GB for all GPUs combinedmax_total_gpu_memory
: maximum amount of GPU VRAM in GB for all GPUs combinedmin_disk_size
: minimum disk size in GB (not fully supported)max_disk_size
: maximum disk size in GB (not fully supported)min_price
: minimum price per hour in USDmax_price
: maximum price per hour in USDmin_compute_capability
: minimum compute capability of the GPUmax_compute_capability
: maximum compute capability of the GPUspot
: ifFalse
, only ondemand offers will be returned. IfTrue
, only spot offers will be returned
Advanced usage
from gpuhunt import Catalog
catalog = Catalog()
catalog.load(version="20230831")
items = catalog.query()
print(*items, sep="\n")
Supported providers
- AWS
- Azure
- DataCrunch
- GCP
- LambdaLabs
- Nebius
- TensorDock
- Vast AI
See also
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gpuhunt-0.0.2rc1.tar.gz
(35.6 kB
view hashes)
Built Distribution
gpuhunt-0.0.2rc1-py3-none-any.whl
(45.7 kB
view hashes)
Close
Hashes for gpuhunt-0.0.2rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4432b9efa28b3d8b0e6fb0516aac18e2dcb0ed9df9258a1a29c8401cef7cebfa |
|
MD5 | 2b5361840d065b913c43faf6bb25dc25 |
|
BLAKE2b-256 | f6103fc9bbdf4190afb97501cbfea9c17f8e00887540da0fe300d76e5e54cd0e |