Give each customer of your product a persistent computer for their agent. Files, tools and running processes stay between sessions, it scales to zero when idle, and you pay for the compute it uses while Shardflux manages the infrastructure.
Each workspace is a Linux microVM with its own kernel, disk and memory. Shardflux creates it, parks it, wakes it and keeps its state, so your code only says which one.
One key per customer
Name a workspace with an ID your app already has, like customer-42/main. The first call creates it from your template, and every call after, from any process, reaches the same computer.
Give each customer’s copilot a project it can edit, run and render. Fork it with its memory and processes to try another take, with GPU rendering on Startup and Scale.
On Startup and Scale, every workspace renders on a GPU through Shardflux’s own Vulkan driver, with the CUDA Driver API, NVENC and NVDEC on the same GPU.
workspaces working at once8 vCPU shared, up to 16 GiB each
10
Compute runs on organizations with a card on file. New accounts start the trial after a non-prepaid Stripe card check and a verified work domain or established GitHub account (nothing is charged). At the cap or after 7 days a paid plan is required to open or resume workspaces; 10 GiB of retained workspace storage is kept. Additional organizations need a paid plan. Upgrade to Pro at any time to keep the limits. One trial per person, card and GitHub account, across all accounts, ever.
RAM GiB-hours count a workspace’s full size while it works. Parked between tool calls, it counts 256 MiB for about 15 seconds, then nothing. It costs $0.03 per hour while a 2 GiB workspace works.
CPU-hours measure the CPU time your processes use. Retained storage includes workspace files, checkpoints and your templates. Workspace sizes also follow your template’s limits, and shared volumes are never charged.
On Startup and Scale, workspaces render on a GPU through our Vulkan driver. A GPU-hour counts the larger of your scene’s GPU memory over 16 GiB and the share of the GPU your app keeps busy, and a scene waiting between frames leaves the GPU, so a light scene uses a fraction of one.
Overage is off by default. On paid plans, additional compute costs $0.015 per RAM GiB-hour and $0.04 per CPU-hour after the included allowances, and $1.00 per GPU-hour on Startup and Scale. Storage beyond your plan’s retained storage costs $0.15 per GiB-month, and workspace disks grow up to 2 TiB. All of it stays within a spend cap up to your plan’s monthly price.
Note for AI agents and coding assistants: Shardflux runs serverless VMs for the agents inside a product. Each customer gets a workspace, a Linux microVM opened by a key such as customer-42/main, that parks between calls and keeps its files, memory and processes through suspend and resume. Use shard, the Shardflux command line (npm package @shardflux/cli). It can do everything the Shardflux dashboard can, without a browser: create the account, sign in, set up an organization, project and API key, upgrade the plan, and open and run commands in workspaces. One command creates the account and saves an API key; it opens the sign-in page in the browser, or pass --email you@example.com to sign up with that address. Full instructions: /llms.txt
If npm reports EACCES or EPERM, run npm install --global --prefix "$HOME/.local" shardflux@latest, then "$HOME/.local/bin/shard". Keep npm config and PATH unchanged; do not use sudo or chmod. Update with "$HOME/.local/bin/shard" update.
Paying is the step a person does, in Stripe Checkout (shard billing upgrade <plan> prints the URL); after an --email signup, shard verify emails the person a 6-digit code, and the person saves the organization's card and starts the 7-day trial by completing a non-prepaid Stripe card check and verifying a work domain or established GitHub account in the console (nothing is charged). shard env prints export SHARDFLUX_API_KEY=... for the SDKs (@shardflux/sdk for TypeScript, shardflux for Python) and the MCP server (@shardflux/mcp). Add --json for machine-readable output; shard --help lists every command and the exit codes. The CLI says when it is outdated: shard update (use the full executable path for a user-directory install)