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
Every offline provider catalog is published and versioned independently, so a provider that fails
to be collected keeps its previous catalog while the other providers are updated. Passing
a version to load() requests that version from every offline provider:
from gpuhunt import Catalog
catalog = Catalog()
catalog.load(version="20260818-42")
items = catalog.query()
print(*items, sep="\n")
Supported providers
- AWS
- Azure
- CloudRift
- Crusoe
- Daytona
- DigitalOcean
- GCP
- Hot Aisle
- JarvisLabs
- LambdaLabs
- Nebius
- OCI
- Runpod
- Seeweb
- Vast AI
- Verda
- Vultr
See also
Metadata
Release files for gpuhunt 0.1.31
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gpuhunt-0.1.31.tar.gz | 92.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gpuhunt-0.1.31-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 212.2 kB
Release files / gpuhunt-0.1.31.tar.gz
| Download URL | gpuhunt-0.1.31.tar.gz |
|---|---|
| Size | 92.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
482dae7c64f2a9ce183f1deaf4bb6ca7447919dde27365dcc4df75754fdb8833
|
|
BLAKE2b-256 checksum How to use checksums |
e3c7f8a16299d65678cd187ef39346e74aa137a95d9eab3d7da4eb752873147d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / gpuhunt-0.1.31-py3-none-any.whl
| Download URL | gpuhunt-0.1.31-py3-none-any.whl |
|---|---|
| Size | 119.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59039d56765c1b1163580ea75048ee57157862b91165ad8496122831a3b37f1d
|
|
BLAKE2b-256 checksum How to use checksums |
500a3edacc420c8a499663969d607079f69306019d9f7581393f76b2b1a200b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|