gpuhunt


Namegpuhunt JSON
Version 0.1.7 PyPI version JSON
download
home_pageNone
SummaryA catalog of GPU pricing for different cloud providers
upload_time2025-08-07 06:25:12
maintainerNone
docs_urlNone
authordstack GmbH
requires_python>=3.9
licenseNone
keywords gpu cloud pricing
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![](https://img.shields.io/pypi/v/gpuhunt)](https://pypi.org/project/gpuhunt/)

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

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

```python
from gpuhunt import Catalog

catalog = Catalog()
catalog.load(version="20240508")
items = catalog.query()

print(*items, sep="\n")
```

## Supported providers

* AWS
* Azure
* CloudRift
* Cudo Compute
* DataCrunch
* GCP
* LambdaLabs
* Nebius
* OCI
* RunPod
* TensorDock
* Vast AI
* Vultr

## See also

* [dstack](https://github.com/dstackai/dstack)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "gpuhunt",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "gpu, cloud, pricing",
    "author": "dstack GmbH",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/15/7a/f62f1f21a561310d13462b9d7a3cf6938fc50f12c77ad71a1d12ca75d97a/gpuhunt-0.1.7.tar.gz",
    "platform": null,
    "description": "[![](https://img.shields.io/pypi/v/gpuhunt)](https://pypi.org/project/gpuhunt/)\n\nEasy access to GPU pricing data for major cloud providers: AWS, Azure, GCP, etc.\nThe catalog includes details about prices, locations, CPUs, RAM, GPUs, and spots (interruptible instances).\n\n## Usage\n\n```python\nimport gpuhunt\n\nitems = gpuhunt.query(\n    min_memory=16,\n    min_cpu=8,\n    min_gpu_count=1,\n    max_price=1.0,\n)\n\nprint(*items, sep=\"\\n\")\n```\n\nList of all available filters:\n\n* `provider`: name of the provider to filter by. If not specified, all providers will be used. One or many\n* `cpu_arch`: CPU architecture, one of: `x86`, `arm`\n* `min_cpu`: minimum number of CPUs\n* `max_cpu`: maximum number of CPUs\n* `min_memory`: minimum amount of RAM in GB\n* `max_memory`: maximum amount of RAM in GB\n* `min_gpu_count`: minimum number of GPUs\n* `max_gpu_count`: maximum number of GPUs\n* `gpu_vendor`: GPU/accelerator vendor, one of: `nvidia`, `amd`, `google`, `intel`\n* `gpu_name`: name of the GPU to filter by. If not specified, all GPUs will be used. One or many\n* `min_gpu_memory`: minimum amount of GPU VRAM in GB for each GPU\n* `max_gpu_memory`: maximum amount of GPU VRAM in GB for each GPU\n* `min_total_gpu_memory`: minimum amount of GPU VRAM in GB for all GPUs combined\n* `max_total_gpu_memory`: maximum amount of GPU VRAM in GB for all GPUs combined\n* `min_disk_size`: minimum disk size in GB (not fully supported)\n* `max_disk_size`: maximum disk size in GB (not fully supported)\n* `min_price`: minimum price per hour in USD\n* `max_price`: maximum price per hour in USD\n* `min_compute_capability`: minimum compute capability of the GPU\n* `max_compute_capability`: maximum compute capability of the GPU\n* `spot`: if `False`, only ondemand offers will be returned. If `True`, only spot offers will be returned\n\n## Advanced usage\n\n```python\nfrom gpuhunt import Catalog\n\ncatalog = Catalog()\ncatalog.load(version=\"20240508\")\nitems = catalog.query()\n\nprint(*items, sep=\"\\n\")\n```\n\n## Supported providers\n\n* AWS\n* Azure\n* CloudRift\n* Cudo Compute\n* DataCrunch\n* GCP\n* LambdaLabs\n* Nebius\n* OCI\n* RunPod\n* TensorDock\n* Vast AI\n* Vultr\n\n## See also\n\n* [dstack](https://github.com/dstackai/dstack)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A catalog of GPU pricing for different cloud providers",
    "version": "0.1.7",
    "project_urls": {
        "GitHub": "https://github.com/dstackai/gpuhunt",
        "Issues": "https://github.com/dstackai/gpuhunt/issues"
    },
    "split_keywords": [
        "gpu",
        " cloud",
        " pricing"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "1db351ca478c21c05b7863972fe7cdda96c77657bb90b215b2228cd6f678b4b7",
                "md5": "0ec915f1fb2a1efe5a9c424596cf6bfc",
                "sha256": "a327812e273f933212a8b7bada18d42b52ceaed042769c0d461d36fd81b1cfa2"
            },
            "downloads": -1,
            "filename": "gpuhunt-0.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0ec915f1fb2a1efe5a9c424596cf6bfc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 81563,
            "upload_time": "2025-08-07T06:25:11",
            "upload_time_iso_8601": "2025-08-07T06:25:11.215532Z",
            "url": "https://files.pythonhosted.org/packages/1d/b3/51ca478c21c05b7863972fe7cdda96c77657bb90b215b2228cd6f678b4b7/gpuhunt-0.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "157af62f1f21a561310d13462b9d7a3cf6938fc50f12c77ad71a1d12ca75d97a",
                "md5": "b1f1031f9c60430c3a676d5176823159",
                "sha256": "01062e9ed9780a44d1a6240d3146775ae1d2afac2a247286683daee3e8de0b15"
            },
            "downloads": -1,
            "filename": "gpuhunt-0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "b1f1031f9c60430c3a676d5176823159",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 62499,
            "upload_time": "2025-08-07T06:25:12",
            "upload_time_iso_8601": "2025-08-07T06:25:12.393504Z",
            "url": "https://files.pythonhosted.org/packages/15/7a/f62f1f21a561310d13462b9d7a3cf6938fc50f12c77ad71a1d12ca75d97a/gpuhunt-0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-07 06:25:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dstackai",
    "github_project": "gpuhunt",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "gpuhunt"
}
        
Elapsed time: 2.56567s