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.32
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.32.tar.gz | 93.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gpuhunt-0.1.32-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 215.2 kB
Release files / gpuhunt-0.1.32.tar.gz
| Download URL | gpuhunt-0.1.32.tar.gz |
|---|---|
| Size | 93.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ba228dff87e22681f15d05864a3982eabb43ac07d9905ffae9716dbf042541d
|
|
BLAKE2b-256 checksum How to use checksums |
6eba84c78c791b8c1626fdac926403c749a4f9a75f8ff0674c2fd196dab28d4a
|
| 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.32-py3-none-any.whl
| Download URL | gpuhunt-0.1.32-py3-none-any.whl |
|---|---|
| Size | 121.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
77866bd2935648dce69e47d7e025383c2162d4d947c71a88d4b55baa110d9733
|
|
BLAKE2b-256 checksum How to use checksums |
694e7ecc18fd6b00df736accce7b3b1db9d9872cf0dbed1a946ecae0585878c2
|
| 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}
|