A catalog of GPU pricing for different cloud providers
Project description
Easy access to GPU pricing data for major cloud providers: AWS, Azure, GCP, etc. The catalog includes details about prices, locations, CPUs, RAM, GPUs, and spots (interruptible 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="20240508")
items = catalog.query()
print(*items, sep="\n")
Supported providers
- AWS
- Azure
- Cudo Compute
- DataCrunch
- GCP
- LambdaLabs
- OCI
- RunPod
- 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.16.tar.gz
(52.8 kB
view details)
Built Distribution
gpuhunt-0.0.16-py3-none-any.whl
(67.4 kB
view details)
File details
Details for the file gpuhunt-0.0.16.tar.gz
.
File metadata
- Download URL: gpuhunt-0.0.16.tar.gz
- Upload date:
- Size: 52.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca8a2dafd66b71f1f68596db9c7738d2d7c229cd9d35a5437529162d2ed14959 |
|
MD5 | dcf1c772422039751cd1183e82b3b311 |
|
BLAKE2b-256 | 65f31046d5612853bf906114a997db2524d304c57354f10da96a5b4bf50142eb |
File details
Details for the file gpuhunt-0.0.16-py3-none-any.whl
.
File metadata
- Download URL: gpuhunt-0.0.16-py3-none-any.whl
- Upload date:
- Size: 67.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e03990b8173cebc5df81b29c325c49533df6ebf2b53f3e30b49ca3428a4cd45a |
|
MD5 | 7dfbabc3cac7c45c4db46717956852d1 |
|
BLAKE2b-256 | b47dbef8576e4d64e8a7611c500c4dd86ecadda7c887d9b4eea00f1cd7b68b40 |