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 manycpu_arch: CPU architecture, one of:x86,armmin_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_vendor: GPU/accelerator vendor, one of:nvidia,amd,google,intelgpu_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
- CloudRift
- Cudo Compute
- Verda
- GCP
- JarvisLabs
- LambdaLabs
- Nebius
- OCI
- Runpod
- Vast AI
- Vultr
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.1.24.tar.gz
(75.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
gpuhunt-0.1.24-py3-none-any.whl
(97.1 kB
view details)
File details
Details for the file gpuhunt-0.1.24.tar.gz.
File metadata
- Download URL: gpuhunt-0.1.24.tar.gz
- Upload date:
- Size: 75.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
624e0194440d7e3c46ae3b9dd38190220c0e6460a7b6f567da54dae7da50d23d
|
|
| MD5 |
e43d29a1ad669cd41be736b93af1b5f5
|
|
| BLAKE2b-256 |
5761e08fb98158a9f4c18db34d5ac25d5942ee4439f9ac8f0ec7b27564a38ac5
|
File details
Details for the file gpuhunt-0.1.24-py3-none-any.whl.
File metadata
- Download URL: gpuhunt-0.1.24-py3-none-any.whl
- Upload date:
- Size: 97.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efa2ace19dcc74ef53f80068db1af27b8aa2ad7508b68f19ec6aaa9a6e6da857
|
|
| MD5 |
899376e72885dca3377ff25c36490b80
|
|
| BLAKE2b-256 |
4c9b0764f6b7a6ace21d3e77edb075e61bd72b8978dd8cf223b42a5b040dea1a
|