What is a GPU sandbox?

A GPU sandbox is a sandbox with a graphics card (GPU) next to its CPU and memory. The GPU adds compute for model inference, training and rendering.

Updated

What a GPU adds

A GPU adds compute for model inference, training and rendering. A sandbox without a GPU runs these tasks on its CPU. The GPU has its own memory, called VRAM.

VRAM limits the model size

The size of GPU memory sets the size of the models that the GPU can run. Each parameter in FP16 takes 2 bytes. A model with 7 billion parameters needs about 14 GB for its weights in FP16. Check the VRAM of each GPU model before you choose one.

How providers price a GPU

Some providers list a price for each GPU model, per GPU-hour. Others list a starting price or no price. Check whether the price includes the CPU and memory of the sandbox. For CPU and memory prices, see vCPU-hour.

GPU access in a virtual machine

A full VM gets a GPU when the host assigns the GPU device to it. This method is called VFIO passthrough. Cloud Hypervisor assigns PCI devices, such as a GPU, to its guests. The host needs an IOMMU, which keeps the device away from other memory. Devices in one IOMMU group, such as a GPU and its audio function, must pass through together.

Providers that offer GPUs

6 of 15
All sandboxes with GPUs
  • Hugging Face SandboxesIsolated cloud machines for running AI-generated code.
    Isolation
    Full VM
    vCPU / hr
    $0.005
    Free tier
    Not listed
  • tamaLinux VMs with GPUs, billed by the second.
    Isolation
    Full VM
    vCPU / hr
    $0.012
    Free tier
    Not listed
  • Koyeb SandboxesSandboxes for AI agents, run as Koyeb Instances.
    Isolation
    MicroVM
    vCPU / hr
    $0.014
    Free tier
    Not listed
  • Northflank SandboxesMicroVM sandboxes for running untrusted code.
    Isolation
    Cloud Hypervisor
    vCPU / hr
    $0.017
    Free tier
    Free plan
  • OrgoCloud Linux and Windows desktops that AI agents control by API or MCP.
    Isolation
    Full VM
    vCPU / hr
    $0.030
    Free tier
    $5 credit
  • ShardfluxServerless VMs for cloud agents that park when idle and keep their state.
    Isolation
    Firecracker
    vCPU / hr
    $0.040
    Free tier
    30 days of Pro

Related terms

All glossary terms

Related