L40S
A versatile inference card with FP8 support. Excellent price-performance for diffusion models and mid-size LLMs. $2.18/hr, billed per second.
VRAM
48 GB
RAM / GPU
94 GB
vCPU / GPU
16
Price
$2.18/hr
Specifications
| Property | Value |
|---|---|
| gpuTypeId | NVIDIA_L40S |
| CLI alias | L40S |
| Architecture | Ada Lovelace |
| GPU memory | 48 GB GDDR6 (ECC) |
| Form factor | PCIe Gen4 |
| System RAM per GPU | 94 GB |
| vCPU per GPU | 16 |
| GPUs per pod | 1 to 8 |
| Class | Data center |
Pricing
Prices are per pod and billed per second while the pod is RUNNING. Container disk and volume disk are billed separately (see storage pricing).
| GPUs | vCPU | RAM | Per hour | Per second |
|---|---|---|---|---|
| 1× L40S | 16 | 94 GB | $2.18 | $0.00061 |
| 2× L40S | 32 | 188 GB | $4.36 | $0.00121 |
| 4× L40S | 64 | 376 GB | $8.72 | $0.00242 |
| 8× L40S | 128 | 752 GB | $17.44 | $0.00484 |
L40S pods run in Secure Cloud: Tier III/IV data centers in eu-nl-1, eu-de-1, eu-se-1, us-va-1, us-tx-2, us-ca-1, ca-qc-1. Running several GPUs at once counts against your plan's concurrent-GPU limit.
Serverless
On serverless, use the L40S pool (48 GB). Workers in this pool cost $0.00105 per second ($3.78/hr), billed only while a worker is running.
{
"gpuPoolIds": [
"L40S"
],
"gpuCount": 1,
"maxWorkers": 3
}See Create an endpoint.
Typical workloads
- Inference of 7B to 30B models
- Image and video generation
- Fine-tuning small models
With 48 GB you can serve a model of roughly 18B parameters in FP16 or 36B in FP8 on a single GPU, leaving about a quarter of memory for the KV cache. See Choosing a GPU for the rule of thumb.
Deploy a pod
$ apipods pods create --name l40s-pod --gpu L40S --count 1 \
--image apipods/pytorch:2.9.0-py3.12-cuda12.8.1 \
--container-disk 50 --volume 100 \
--port 8888/http --port 22/tcp