Skip to main content

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 many
  • cpu_arch: CPU architecture, one of: x86, arm
  • min_cpu: minimum number of CPUs
  • max_cpu: maximum number of CPUs
  • min_memory: minimum amount of RAM in GB
  • max_memory: maximum amount of RAM in GB
  • min_gpu_count: minimum number of GPUs
  • max_gpu_count: maximum number of GPUs
  • gpu_vendor: GPU/accelerator vendor, one of: nvidia, amd, google, intel
  • gpu_name: name of the GPU to filter by. If not specified, all GPUs will be used. One or many
  • min_gpu_memory: minimum amount of GPU VRAM in GB for each GPU
  • max_gpu_memory: maximum amount of GPU VRAM in GB for each GPU
  • min_total_gpu_memory: minimum amount of GPU VRAM in GB for all GPUs combined
  • max_total_gpu_memory: maximum amount of GPU VRAM in GB for all GPUs combined
  • min_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 USD
  • max_price: maximum price per hour in USD
  • min_compute_capability: minimum compute capability of the GPU
  • max_compute_capability: maximum compute capability of the GPU
  • spot: if False, only ondemand offers will be returned. If True, 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
  • Verda
  • GCP
  • JarvisLabs
  • LambdaLabs
  • Nebius
  • OCI
  • Runpod
  • Vast AI
  • Vultr

See also

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.28.tar.gz (76.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpuhunt-0.1.28-py3-none-any.whl (97.9 kB view details)

Uploaded Python 3

File details

Details for the file gpuhunt-0.1.28.tar.gz.

File metadata

  • Download URL: gpuhunt-0.1.28.tar.gz
  • Upload date:
  • Size: 76.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gpuhunt-0.1.28.tar.gz
Algorithm Hash digest
SHA256 56065bf6df9a8f23e97db67e6bcd5ff5fd6fdaaf7b960067b30b226f3a98b829
MD5 88dd73b2dd816b35b445991a0315a454
BLAKE2b-256 dfc132c7767d878ab2d3c53655ffd833a0af88d12d7fdfd93e25c6509ff9a115

See more details on using hashes here.

File details

Details for the file gpuhunt-0.1.28-py3-none-any.whl.

File metadata

  • Download URL: gpuhunt-0.1.28-py3-none-any.whl
  • Upload date:
  • Size: 97.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gpuhunt-0.1.28-py3-none-any.whl
Algorithm Hash digest
SHA256 37ebfd5e02034363683fd1812f288839913179a209647e7390e6c22864803cc7
MD5 31dcce69a275f76d7940bb99b7c1931f
BLAKE2b-256 8d0f3619d3d3c4325513cb31f46b3cfb934c0899fe32109b3e34534686cd77d6

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.30

2 files

0.1.29

2 files

This release

0.1.28 This release

2 files

0.1.27

2 files

0.1.26

2 files

0.1.25

2 files

0.1.24

2 files

0.1.23

2 files

0.1.22

2 files

0.1.21

2 files

0.1.20

2 files

0.1.19

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.19

2 files

0.0.18

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page