Agent Specifications
Mint runs your tasks with 2 CPUs and 8 GB RAM by default, but you can customize this with the agent
key on your task at the granularity of a single task in your run definition. That means you can use up to 64 CPUs and 256 GB RAM for CPU or memory intensive tasks (like compiling) and then run less intensive tasks (like uploading your binaries) on a smaller agent.
Example
tasks:
- key: compile-my-binary
run: ./scripts/compile.sh --to my-executable
agent:
cpus: 64
memory: 256gb
- key: upload-my-binary
use: compile-my-binary
run: ./scripts/upload.sh --from my-executable
agent: # we've included this here for demonstration, but it is the default and you can omit it
cpus: 2
memory: 8gb
Supported Specifications
CPUs | Memory | Cost (per minute) |
---|---|---|
2 | 8 GB | $0.008 |
4 | 16 GB | $0.016 |
8 | 32 GB | $0.032 |
16 | 64 GB | $0.064 |
32 | 128 GB | $0.128 |
64 | 256 GB | $0.256 |
Mint reserves 2 GB RAM for internal use on agents. If, for example, you declare that your task needs a 4 CPU, 16 GB RAM agent, your task will have 14 GB RAM available.