10 hours of free hCloud compute time is provided to every user each month. There are no limitations or caps on your ability to simulate things locally in-browser.
You must have created at least one
experiment in order to run a model
on hCloud. Single-run simulations are not supported on hCloud at this time.
Please ensure you have at least one experiment defined in your
experiment.json
file before proceeding.
Simulations within hCore can be run in one of two ways: locally inside your browser, or at scale on our hCloud compute platform.
Browser | Cloud | |
---|---|---|
Stage of Development | Prototyping | Running Experiments or Large Simulations |
Number of Agents | 1..10,000 | 10,000+ to ∞ |
Pricing | Always Free | Free tier, pay-as-you-go, and subscription options |
Exact in-browser limits will depend on the amount of processing power and RAM available to the browser tab running hCore. The prime constraint is often the power of the local machine's underlying hardware.
Devices with ARM processors will typically run in-browser hCore simulations faster than their Intel and AMD counterparts.
Toggle your execution environment from local to hCloud by first clicking on the Experiments button in the playbar at the bottom of the screen, and then tapping the hCloud banner at the top of the menu.
In the background, your browser will establish a connection to our servers which once established will let you run experiments in the cloud in the same way as if you were running them locally.
Connecting to hCloud does not count against your account's allowance of free compute minutes. Only time spent running simulations or experiments contributes towards your cap, or results in billing thereafter. Generally, therefore, it makes sense to leave hCloud enabled.
hCloud resources are billed through a composite metric, hCloud Minutes/Seconds. Currently this is calculated as the amount of time spent executing a simulation on an hCloud server per vCPU.
In our current Early Access phase, by default all simulation run using a single vCPU.
Let's take a look at two examples:
number_of_agents
in my globals, so I create an experiment with 10x the number and then toggle the Cloud Runner button to connect to cloud and run the experiment for 100 steps. Each execution of a run, from start to finish, will count towards your cloud minute (not including connect/upload/download times). If it takes about a second to generate a state for this simulation the total billed time would be 100 cloud seconds.hCloud runs experiment runs in a parallelized fashion by default on HASH Free, Base, and Pro accounts. In practice this means the memory available to your simulation varies from 4-192GB, depending on your account limits.
If you're interested in running larger-scale simulations, or want to distribute a single run across multiple instances, contact us to learn more about upgrading to a paid version of HASH.
HASH Enterprise is required to run "unbounded" models, and distribute single runs across multiple instances in hCloud. Contact us to register an interest.
Previous
Next