Skip to main content

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 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

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.26.tar.gz (72.1 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.26-py3-none-any.whl (92.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gpuhunt-0.1.26.tar.gz
Algorithm Hash digest
SHA256 d561ab70c74c80c2362474a2a1c5f0c53dc00d5c47e1d5bd7f72e23f1a35b671
MD5 a01aa03684fc26aa909d53794d2ecb6a
BLAKE2b-256 1aa830eb93523edc892a2a7300d822fcd664968ee54e8d20e151b2c1cb32d1d9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gpuhunt-0.1.26-py3-none-any.whl
Algorithm Hash digest
SHA256 e732e108d6b3bb749fceaf23c0288cffcf1c4dca3ed77ef7602a92330d168211
MD5 8c4bb96167c4bc54ad1e5614a5cec628
BLAKE2b-256 22d07189581ddd16f3bd73baaa125a17935bbb32cc6007b9e3cbe1adf5309434

See more details on using hashes here.

Supported by

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