xpumeshxpu + mesh

README.md Raw

xpumesh

Launch a GPU on the cloud accounts you already have. One command, or one tool call from your agent.

$ xpumesh launch 8xh100 --on-demand --max '$60/hr' --launch-cap 500

xpumesh checks quota and price on every cloud you connect, ranks the machines that fit your rules, and tries each in turn until one starts. Sold out or no quota, it moves to the next. You, or your agent, are in on the first one with capacity.

Not released yet. The repository is not public, so there is nothing to install.

Contents

Why

Getting eight H100s today means three checks on every cloud, by hand:

  • Price. The same machine lists at $23.92/hr on Lambda and $88.49/hr on Google Cloud, under a different name on each (list prices, 1 December 2026).
  • Quota. AWS starts P instances at 0. Requests take minutes or days, and can be refused (quota, cloud by cloud).
  • Stock. With quota granted, the launch can still fail: InsufficientInstanceCapacity, ZONE_RESOURCE_POOL_EXHAUSTED, AllocationFailed. On AWS and Google Cloud you only find out by trying.

From the clouds’ own forums: a script run across every region for two days, with nothing; quota denied automatically despite years of billing history; every quota request rejected; resources exhausted with quota to spare.

xpumesh does that hunt for you, on your own accounts. Your credits, committed discounts and quotas still apply, and you pay each cloud directly, as you do today.

How it works

  1. Connect your clouds. Give xpumesh access to the cloud accounts you already have.
  2. Set your rules, once. What you need, what you will pay, where, and in what order.
  3. Launch. One command, or one tool call. xpumesh reads your quota and prices on every connected cloud, ranks what fits, and tries each in turn.
  4. Get in. The first machine with capacity starts. The ways in are SSH, Jupyter, or your agent’s tool calls.

Usage

There are three front doors on one core. They give the same answer because they call the same code.

Command line

$ xpumesh launch 8xh100 --on-demand --max '$60/hr' --launch-cap 500

Flags override your saved rules for one launch.

From your agent (MCP server)

Your agent makes one tool call:

launch(gpu="8xh100", billing="on-demand", max="$60/hr", launch_cap="500")

Python SDK

The SDK takes the same four values as the tool call.

What the answer looks like

Example, with list prices from 1 December 2026:

8 × H100, on-demand, under $60/hr
cheapest first, price per hour
  1  Lambda        gpu_8x_h100_sxm5          $23.92  sold out
  2  Nebius        gpu-h100-sxm, 8gpu        $30.96  no quota
  3  CoreWeave     gd-8xh100ib-i128          $49.24  running
  4  AWS           p5.48xlarge               $55.04

can't confirm
     Azure         Standard_ND96isr_H100_v5
     Oracle Cloud  BM.GPU.H100.8

over your $60/hr ceiling
     Google Cloud  a3-highgpu-8g             $88.49
  • You ask for 8xh100 once. xpumesh maps it to each cloud’s own name.
  • Anything it cannot confirm is listed apart, never shown as a pass.
  • A machine over your ceiling is left out of the ranking.
  • The list is the order xpumesh tries. It is not a promise that a launch succeeds.

Your rules

Set once, used on every launch. This example uses:

Rule Example What it does
Machine 8xh100 Eight H100 GPUs in one machine
Billing on-demand How you pay for it
Budget ceiling $60/hr Machines above it are left out of the ranking
Regions US, Europe Where to look
Launch cap $500 The most one launch can spend
Monthly cap $2,000 The most every launch in a calendar month can spend together
Order cheapest first Which machine to try first

Spending limits

xpumesh starts machines that cost real money, so it works inside three limits you set, and never past them.

Limit Applies to What happens
Budget ceiling Each request Machines above it are left out of the ranking.
Launch cap Each launch Before a machine reaches it, xpumesh removes the machine, disk included.
Monthly cap Every launch in the calendar month A launch whose cap would take the month past it is refused. Once it is reached, every launch is refused until the next month.

Setting the limits is your go-ahead. Inside them, you or your agent can launch without a further prompt. An agent cannot get round a launch cap by launching again: the monthly cap counts every launch.

If your laptop is closed. xpumesh removes the machine at the cap, so keep it running. As a backstop, the launch sets a daemon on the machine that powers it off at the cap. That stops the compute charge, but the disk keeps billing until xpumesh next runs and removes the machine.

A second line of defence. These limits are enforced by xpumesh, not by your cloud. Set a budget in each cloud account too.

Clouds

xpumesh is built for seven clouds. Here is the same machine, eight H100 GPUs, on each:

Cloud 8 × H100 machine
AWS p5.48xlarge
Google Cloud a3-highgpu-8g
Azure Standard_ND96isr_H100_v5
Nebius gpu-h100-sxm, 8gpu
Lambda gpu_8x_h100_sxm5
CoreWeave gd-8xh100ib-i128
Oracle Cloud BM.GPU.H100.8

Each cloud has its own adapter behind the same core, so adding one never changes how you launch.

Keys and permissions

  • Where keys live. When you host it yourself, your keys are stored in HashiCorp Vault, which you run. A Vault server is required for now, and xpumesh does not run one for you.
  • Your agent never sees them. It calls xpumesh, and xpumesh reads the keys from Vault. So an agent with only the xpumesh tool cannot go round your limits by calling a cloud directly. An agent with a shell on a machine that can reach your Vault is a different matter: keep Vault out of its reach.
  • What it needs in each account. To read your quota and prices, to create and remove machines, and to create what a machine needs to be reachable, such as a key pair and a firewall rule. The permission names for each cloud are in this repository, so you can grant the smallest set that works.

Errors it handles

Every cloud says “no” in its own words. xpumesh reads these, and moves to the next machine.

Error Cloud What it means
InsufficientInstanceCapacity AWS No on-demand capacity
VcpuLimitExceeded AWS Your vCPU limit, not capacity
ZONE_RESOURCE_POOL_EXHAUSTED Google Cloud No hardware free in the zone
QUOTA_EXCEEDED Google Cloud Your quota
AllocationFailed Azure No capacity in the region
SkuNotAvailable Azure Size not offered to your subscription there
Out of host capacity Oracle Cloud No capacity for the shape there
instance-operations/launch/insufficient-capacity Lambda No capacity for that instance type
Not enough resources Nebius More demand than supply in that region right now

What each one means, and what the cloud says to do about it, is on the errors pages.

What it does not do

  • It cannot see stock before it tries. On AWS and Google Cloud, on-demand stock only shows when a launch fails. That is why xpumesh tries each machine in turn. What each cloud shows before a launch.
  • It does not queue jobs, manage clusters or serve models. It gets you a machine, and gets out of the way. For jobs and clusters, see how it compares with SkyPilot and dstack.
  • It does not give you clouds you have no account with, unless you use the managed version.

Run it yourself, or managed

  • Run it yourself. Clone the repository and run it with your own keys. Nothing goes through us. This is the main path.
  • Managed. We run xpumesh for you. The cloud accounts are ours, and so are their keys: you hold one xpumesh key and get one bill. Your own credits and committed discounts do not apply. The managed version has no price yet, and its waitlist is not open yet.

Licence

Apache licence. Free to use, change and share.


Built by Chamber. More on spending, keys and permissions, and a four-step quickstart.