gpuhunt


Namegpuhunt JSON
Version 0.1.11 PyPI version JSON
download
home_pageNone
SummaryA catalog of GPU pricing for different cloud providers
upload_time2025-10-21 06:40:59
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/71/66/03ff4a93fb404d3e9da0ba8edfb57b9913c4002b6cdf7bea3709969154c1/gpuhunt-0.1.11.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.11",
    "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": "206a1009a1ad3bdbfa6b758f44cb0c284f56f776e3e51c22bca8a0c74ae0b84a",
                "md5": "8e5096bf854292946576ac6855920645",
                "sha256": "22cc9555b339bcc3782ee71148fac4b400a320d76f08c47854e1cb25bac5761e"
            },
            "downloads": -1,
            "filename": "gpuhunt-0.1.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8e5096bf854292946576ac6855920645",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 86374,
            "upload_time": "2025-10-21T06:40:58",
            "upload_time_iso_8601": "2025-10-21T06:40:58.211595Z",
            "url": "https://files.pythonhosted.org/packages/20/6a/1009a1ad3bdbfa6b758f44cb0c284f56f776e3e51c22bca8a0c74ae0b84a/gpuhunt-0.1.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "716603ff4a93fb404d3e9da0ba8edfb57b9913c4002b6cdf7bea3709969154c1",
                "md5": "2bb2c110197c791d4b9f25c11036473a",
                "sha256": "34a5dfff419c669433b9fe1ead5421f279f9a09282f50f9d13342c640c963f41"
            },
            "downloads": -1,
            "filename": "gpuhunt-0.1.11.tar.gz",
            "has_sig": false,
            "md5_digest": "2bb2c110197c791d4b9f25c11036473a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 66543,
            "upload_time": "2025-10-21T06:40:59",
            "upload_time_iso_8601": "2025-10-21T06:40:59.358922Z",
            "url": "https://files.pythonhosted.org/packages/71/66/03ff4a93fb404d3e9da0ba8edfb57b9913c4002b6cdf7bea3709969154c1/gpuhunt-0.1.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-21 06:40:59",
    "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: 1.30830s