Connect
Connect Freestyle on Integrations, and CostGraph starts sandboxes in your Freestyle account. You don’t run anything yourself.- In CostGraph, go to Integrations > Sandbox > Freestyle.
-
Enter these fields:
- API key (
FREESTYLE_API_KEY, required): A Freestyle API key, created with freestyle tokens create.
- API key (
- Click Connect.
providerTemplate.
Your own dispatcher
To keep the key out of CostGraph or reach a private network, run your own dispatcher instead. Setprovider to freestyle and the preceding fields as environment variables, as described in Run your own dispatcher.
Key and permissions
FREESTYLE_API_KEY is a Freestyle account API key, minted withnpx freestyle@latest tokens create <name> after “freestyle login” (shown once; list/revoke with freestyle tokens list/revoke).
Keys are not scoped: “tokens create” takes only a name, and an account API key “already belongs to one team” with access to that team’s VMs. No per-key permissions are documented (per-end-user identity tokens are a separate mechanism).
Sources: www.freestyle.sh: quickstart, www.freestyle.sh: cli, www.freestyle.sh: lifecycle, www.freestyle.sh: pricing and limits.
Limits
- Idle timeout (idleTimeoutSeconds) pauses VMs with no network activity when configured; optional ttlSeconds, maxRunSeconds and maxRunTotalSeconds pause or delete VMs; -1 removes a limit. (source)
- Max per VM: Free 4 vCPU / 8 GiB / 32 GB, Hobby 8 vCPU / 16 GiB / 64 GB, Pro 32 vCPU / 64 GiB / 256 GB; concurrent VMs Free 10, Hobby 40, Pro 400. (source)
- On Free, exhausting a monthly compute allowance pauses affected VMs. (source)