Fluiddocs
Money

Prices and quotes

How Fluid prices offers, where the prices come from, and what a quote leaves out.

Warnings and limits

  • Your providers bill your own accounts for the compute. Fluid's costs are estimates from recorded rates and running times, not invoices.
  • Boot disks, public IPv4 addresses, data transfer, taxes, credits and discounts are outside the quoted rate. For A2 Ultra Flex-start, the required Local SSD is included.
  • A quote reserves nothing: the price and the capacity can change before the machine starts.
  • Spot prices change. Fluid prices a spot machine at the rate it recorded when the machine started.
  • fluid prices prints 20 quotes; --json gives all of them.
  • AWS EC2, Azure VM and Google Cloud VM quotes read your quotas and list an offer your quota cannot fit as unavailable, with the quota named. See Quotas and capacity.
  • Modal quotes stop at 8 GPUs, and Modal's L4 pool often has no capacity for minutes; T4, A10 and A10G start at once as a rule.
  • A workspace's plan counts compute at these quoted prices, by the second. See what counts.

Compare quotes

fluid prices --gpu T4
fluid prices --cpus 4 --mem 8 --no-spot
fluid prices --gpu any --providers aws,gcp

Each quote shows the connection, the machine, its GPU, CPUs and memory, the region, spot or on-demand, the price per hour in US dollars, and what is known about its capacity: the provider's estimate for a spot offer where it gives one, which is never a reservation (Capacity estimates). Quotes are ranked by price, with a machine's boot time counted in, and spot wins a tie unless you asked for none. fluid run without --on prints the same quotes for your script.

Where prices come from

ProviderSourceRefreshed
AWS EC2 spotthe cheapest zone's price in EC2's spot price historyevery 5 minutes
AWS EC2 on-demandAWS's price list; the Pricing API outside us-east-1daily
AWS Fargatethe Pricing API; Fargate Spot from AWS's published ratesdaily
Google Clouda dated price table, refreshed from the Cloud Billing Catalogat most daily
Azure VMsAzure's Retail Prices APIhourly
Azure Container AppsAzure's Retail Prices APIdaily
ModalModal's published prices; sandboxes at Modal's sandbox ratewith Fluid's releases
LambdaLambda's instance types APIevery 5 minutes
Your own machineyour own estimate, $0 if nonewhen you set it

How a job's cost is estimated

A job's cost is every machine it used, from when it started until its provider stopped billing it (on AWS, when EC2 accepts the terminate: it does not bill an instance that is shutting down; elsewhere, when the machine is gone), at the rate recorded for it, plus the data transfer of its moves. Providers' minimum billing is counted: 60 s at least on AWS, Fargate, Google Cloud and Lambda, then whole seconds on AWS, Fargate and Google Cloud and whole minutes on Lambda.

For a Standard Google Cloud GPU group, price_per_hour covers CPU, memory and GPUs for the whole group. extra.ancillary_estimates_per_hour gives separate group estimates for boot disks, Local SSD and VM external IPv4. Four A2 Ultra VMs automatically include 12,000 GiB of billable Local SSD. During a move, storage and compute accrue for both groups while they overlap. Private egress also incurs Cloud NAT and traffic charges. Google Cloud GPU group quotes

The A2 Ultra Flex-start group rate includes CPU, memory, GPUs and the required Local SSD. Add applicable boot disk and network charges. A still-pending allocation contributes zero VM compute cost. An allocated member can accrue charges before the last member starts. Quote A2 Ultra Flex-start

For AWS, Fluid reads Cost Explorer once a day to compare its estimates with your bill.

In the console

Usage shows spend per day and per connection, with the caps and the machines running now. A run's page shows its cost machine by machine. All of it is labelled as estimates.

On this page