Fluiddocs

Quotas and capacity

What your provider's quotas and capacity mean for a launch, what Fluid checks, and what happens when a machine is not available.

Warnings and limits

  • Fluid never requests a quota increase, and never changes your account's limits. You or your coding tool ask the provider.
  • Connecting a provider does not check its quotas. Quotes do, for AWS EC2 (the regional vCPU quotas, read at most every 10 minutes), Azure VMs (vCPU quotas with their usage) and Google Cloud VMs (CPU, GPU and preemptible GPU quotas): an offer your quota cannot fit is listed as unavailable with the quota named, and a quota Fluid cannot read leaves the offer unchecked. An Azure size your subscription is not offered in a location is listed as unavailable too, with that reason. Other providers' limits show only at launch, as a start that fails and the next offer tried.
  • A quote does not reserve capacity. The machine you choose can be gone by the time Fluid launches it.
  • A capacity score is the provider's estimate, not stock. AWS EC2 and Azure give a Spot placement score, Google Cloud gives Spot capacity advice. Only the launch itself confirms a machine, and a low score never refuses a launch.
  • Google Cloud's advice is for Spot only, and it is a Preview feature of Google's. A quote of many offers asks it for its 5 cheapest Spot offers. It needs a permission Fluid's role does not carry: see Capacity estimates.
  • When no offer has capacity, Fluid tries up to 4 offers in turn, then ends the job as no_capacity (exit code 4) with choices in the job's error and events: the same machine on-demand, spot in up to two pools it did not try, or, for a GPU type Modal could not schedule, Modal's other GPU types, each with its price and an exact on= spec. Fluid never switches on its own: you or your coding tool choose.
  • A pool that just had no capacity ranks last for 5 minutes.
  • Asking providers for quotes takes up to 45 s per provider and 120 s in all.
  • On Modal, a job pinned to one GPU type ends no_capacity after 5 minutes without capacity (3 minutes when other offers follow). Modal's L4 pool is often short; T4, A10 and A10G start at once as a rule.

Quotas are yours to check

Each provider limits what your account can run: vCPUs per region and family on AWS, CPUs and GPUs per region on Google Cloud, cores per subscription and region on Azure, and concurrency on Modal and Lambda. Spot and GPU limits are often separate and often start at zero.

When you connect a provider, Fluid says that quotas have not been checked, and offers a prompt your coding tool can use to compare your limits with what your workload needs and to prepare the minimum increase request. Requests go through your provider, with your own login.

A machine with several GPUs needs more quota than the same GPU alone, and a quota for one GPU does not stretch:

ProviderWhat to ask for, for N GPUs on one machine
AWS EC2vCPUs, not GPUs, per region and for spot and on-demand apart: 48 for a machine with four GPUs of the G families, 96 for a 24xlarge and for p4d, 192 for a machine with eight. G families count against "Running On-Demand G and VT instances" (L-DB2E81BA) and "All G and VT Spot Instance Requests" (L-3819A6DF), P families against "Running On-Demand P instances" (L-417A185B) and "All P Spot Instance Requests" (L-7212CCBC)
Modal, Lambda Cloudtheir own account limits, which Fluid does not read

For a multi-node EC2 job, multiply the instance type's vCPUs by the number of nodes. Four eight-GPU p4d.24xlarge instances need 384 P-family vCPUs in their region. If a move uses the same quota pool, allow for eight instances (768 vCPUs) during the overlap. Quota and provider capacity are separate.

Run fluid prices --gpu MODEL --gpus N --json: an offer your quota cannot fit is unavailable and says which quota to raise and to what. For a multi-node GCE job, quote the full topology with fluid run. Four on-demand GCE VMs use 384 vCPUs and 32 GPUs. Check the quota for the model you select. G2 (g2-standard-96) uses L4 quota. A2 High (a2-highgpu-8g) uses 40 GB A100 quota. A2 Ultra (a2-ultragpu-8g) uses the separate 80 GB A100 quota. Moving to four more VMs of the same type in the same region needs room for 64 GPUs and 768 vCPUs during the overlap. For Standard VMs, Fluid checks the GPU model quota and any listed family CPU quota. For A2 Ultra Flex-start, the GPU quota covers the VM's vCPUs. The required scratch disks are exempt from separate Local SSD quota. Boot disks still need persistent SSD quota. Google Cloud GPU groups

What Fluid checks

ProviderChecked at launch
AWS EC2the regional vCPU quota the instance counts against (standard, G and VT, or P; spot and on-demand apart), against the vCPUs your account already runs
Google Compute Engine groupsthe selected model's GPU quota in the VM lifetime's applicable pool, any listed family vCPU quota, and quota for the disks, instances and external IPv4 addresses required by the group
Othersa launch the provider refuses for quota fails like one with no capacity

On AWS, an instance type the quota has no room for is skipped. When the quota is smaller than a single instance of that type, the type is refused until the quota is raised.

Capacity estimates

A quote says two separate things about a machine: whether your quota fits it, and what the provider estimates about its capacity. Neither is the other. A quota that fits says nothing about stock, and an estimate is not a reservation.

ProviderEstimate in a spot quoteScale
AWS EC2Spot placement score, for GPU and accelerator types1 to 10
Azure VMsSpot placement scoreHigh, Medium, Low
Google CloudSpot capacity advice, with the expected uptime0 to 1
Othersnone

The capacity column shows it as likely, uncertain or unlikely with the score. On-demand quotes show unknown: no provider scores them. Azure's score is read at the subscription, not the resource group: a connection made by fluid connect azure --from-cli, which holds Contributor on soma alone, is refused it, and its spot quotes show unknown too.

For a Google Cloud Spot offer, fluid prices and fluid run print two lines under the option:

quota: checked, fits now
capacity advice: likely, Google's Spot advice 0.9 of 1 for 1 Spot a2-highgpu-1g in us-central1-b, expected uptime 10 min or more, observed 2026-11-20T05:15:02+00:00. An estimate: allocation confirms stock.
  • Score. Google's obtainability for exactly what the offer launches: the machine type, Spot, the VM count, and the zone you named, or any one zone of the region when you named none. 0.7 and above reads likely, 0.3 and below unlikely, anything between uncertain.
  • Expected uptime. How long Google expects such a VM to run before a preemption, at the least: 1 hour, 10 minutes or 1 minute.
  • Observed. When Google answered. Fluid keeps an answer for 2 minutes and says how old it is; after that it asks again.
  • With --json. The offer's extra.capacity carries score, likelihood, expected_uptime_s, source, observed_at, age_s and the scope asked.

When there is no score, the line says why, and the stock is unknown:

extra.capacity.statusMeaning
unsupportedGoogle gives no advice for this machine type in this zone or region
deniedthe connection's role may not read the advice
unavailableGoogle did not answer in 3 s, or answered without a score
not_askedthis quote did not ask: the offer is not among its 5 cheapest Spot offers, or your quota does not fit it

To read the advice of an offer that was not asked, quote it alone: fluid run SCRIPT --on SPEC --plan.

The permission. Reading the advice needs compute.advice.capacity. The custom role Fluid makes for a connection does not carry it, so a connection shows denied until its service account has it. To turn it on, grant the connection's service account a role that carries the permission in the project, for example Google's Compute Viewer (roles/compute.viewer). Do not add it to Fluid's custom role by hand: the next fluid connect gcp sets that role back to its own list. Quotes, quota checks and launches work the same without it.

When a machine is not available

A launch goes through the offers that fit your job, best first:

  1. Fluid asks the provider for the machine. A provider that is short of capacity is asked again: EC2 for up to 5 minutes, with waits from 5 s growing to 60 s; Lambda after a cooldown that starts at 60 s.
  2. If the machine still cannot start, Fluid tries the next offer, up to 4 in all.
  3. If none starts, the job ends with "No capacity is available for the requested machine right now. Try another machine or region, check your quota, or retry later." fluid run exits with code 4.

A job you started with an exact --on spec tries only that machine.

What to do

  • Run fluid prices with the same requirements and pick another offer, region or provider.
  • Ask for fewer or smaller GPUs, or allow on-demand with --no-spot off (the default allows both).
  • Check the provider's quota page for the region and family, and request what the job needs.
  • Retry later: capacity, especially for GPUs, changes through the day.

On this page