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")
Vultr uses VULTR_API_KEY, when set, to query account-specific availability for VDM GPU plans.
Its public plan locations can omit available VDM plans.
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.33
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.33.tar.gz | 96.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gpuhunt-0.1.33-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 220.8 kB
Release files / gpuhunt-0.1.33.tar.gz
| Download URL | gpuhunt-0.1.33.tar.gz |
|---|---|
| Size | 96.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bad8156f7393d4a20aa4c232b3b28a33512753a9b1722ec09b6517220dfaa82
|
|
BLAKE2b-256 checksum How to use checksums |
11048187979d416043cb5416994ffe9a378b74c0c8541fde56c5e4f86451c71a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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.33-py3-none-any.whl
| Download URL | gpuhunt-0.1.33-py3-none-any.whl |
|---|---|
| Size | 124.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
874701689faf4382524746bdccb097c39fde34a8cb42db34586c5724bac38737
|
|
BLAKE2b-256 checksum How to use checksums |
c5ff24f382a143cf161dc8b9f35cf051f839eb7b6131053e26ff4c939aba837c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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}
|