Docs / GPU reference

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

PropertyValue
gpuTypeIdNVIDIA_L40S
CLI aliasL40S
ArchitectureAda Lovelace
GPU memory48 GB GDDR6 (ECC)
Form factorPCIe Gen4
System RAM per GPU94 GB
vCPU per GPU16
GPUs per pod1 to 8
ClassData 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).

GPUsvCPURAMPer hourPer second
1× L40S1694 GB$2.18$0.00061
2× L40S32188 GB$4.36$0.00121
4× L40S64376 GB$8.72$0.00242
8× L40S128752 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.

Endpoint settings
{
  "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

Alternatives

GPUVRAMPer hourServerless pool
L424 GB$1.38L4
A100 80GB80 GB$4.38A100_80GB
H100 SXM80 GB$8.78H100_SXM