# L40 and A40 Inference GPU Prices

**Use case:** 

Hourly rental prices for the GPUs most often used for inference rather than training: L40, L40S and A40, each with 48GB of VRAM, across Vast.ai and RunPod.

## Input

```json
{
  "sources": [
    "vast.ai",
    "runpod"
  ],
  "gpuModels": [
    "L40",
    "A40"
  ],
  "onlyCheapestPerModel": false,
  "onlyRentable": true,
  "maxItems": 200
}
```

## Output

```json
{
  "gpuModel": {
    "label": "GPU",
    "format": "string"
  },
  "pricePerGpuHourUsd": {
    "label": "$/GPU/hr",
    "format": "number"
  },
  "provider": {
    "label": "Provider",
    "format": "string"
  },
  "priceType": {
    "label": "Type",
    "format": "string"
  },
  "numGpus": {
    "label": "GPUs",
    "format": "integer"
  },
  "vramGbPerGpu": {
    "label": "VRAM GB",
    "format": "integer"
  },
  "location": {
    "label": "Location",
    "format": "string"
  },
  "reliability": {
    "label": "Reliability",
    "format": "number"
  },
  "url": {
    "label": "Link",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The GPU Price Scraper - Vast.ai, RunPod, H100 & Cloud GPU Rental Actor is ready to run with the inputs already set for "L40 and A40 Inference GPU Prices". [Sign up or log in](https://console.apify.com/create-task-from-example/SlZYDHgToMM7qEbFd) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "L40 and A40 Inference GPU Prices" task

The GPU Price Scraper - Vast.ai, RunPod, H100 & Cloud GPU Rental Actor will start running based on the input automatically. You can also change all the input fields, like providers, GPU models, and more, to match your specific use case.

### 3. Receive the "L40 and A40 Inference GPU Prices" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as GPU, $/gpu/hr, provider, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "L40 and A40 Inference GPU Prices" task via API](https://apify.com/bhole_krishna/gpu-price-scraper.md).

## FAQ

### Why pick an L40 or A40 over an H100 for inference?

They cost a fraction of an H100 per hour and their 48GB still fits most models people actually serve. Training is where the H100 pulls ahead, not serving.

### Does this include the L40S?

Yes. Asking for L40 matches every variant the providers list, so plain L40 and L40S both appear as their own rows.

## About this Actor

This example demonstrates how to use [GPU Price Scraper - Vast.ai, RunPod, H100 & Cloud GPU Rental](https://apify.com/bhole_krishna/gpu-price-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/bhole_krishna/gpu-price-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/bhole_krishna/gpu-price-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
