---
title: "Smol Machines API: pricing, docs and API key"
description: "Smol Machines, persistent Linux microVM sandboxes for agents. Create a machine from a container image, run shell commands in it, upload/download files, and keep its filesystem across runs until you release it. API calls are free; the machine accrues metered usage (uptime, cpu, memory, disk, egress) for as long as it exists, settled monthly."
canonical: "https://dev.monid.ai/tools/smolmachine"
---

# Smol Machines API

> Smol Machines, persistent Linux microVM sandboxes for agents. Create a machine from a container image, run shell commands in it, upload/download files, and keep its filesystem across runs until you release it. API calls are free; the machine accrues metered usage (uptime, cpu, memory, disk, egress) for as long as it exists, settled monthly.

- Web page: https://dev.monid.ai/tools/smolmachine
- Endpoints on Monid: 12
- Updated: Nov 24, 2026
- Part of: [Compute & Storage](https://dev.monid.ai/tools/compute.md)
- Vendor website: https://smolmachines.com

## Use it from your agent

Paste this to your agent:

```text
Set up https://monid.ai/SKILL.md, and then use Monid to show me what I can do with Smol Machines.
```

Searching the catalog (`monid discover`) and reading an endpoint's inputs and price (`monid inspect`) are free. Only `monid run` is billed, from one Monid balance.

## Endpoints

| Endpoint | What it does | Price |
| --- | --- | --- |
| `smolmachine /machines/{id}/start` Start Machine | Start a machine you own; its filesystem comes back intact. | Free no charge |
| `smolmachine /machines/{id}/code` Run Code | Run a source snippet in a machine you own, no shell quoting. Free. | Free no charge |
| `smolmachine /machines` Create Machine | Create a persistent Linux microVM sandbox from a container image. | Free no charge |
| `smolmachine /list-machines` List Your Machines | List the machines you own (id, state, size). Free. | Free no charge |
| `smolmachine /machines/{id}/events` Machine Events | The audit trail for one machine, why it started or stopped. | Free no charge |
| `smolmachine /machines/{id}/stop` Stop Machine | Stop a machine you own; its filesystem is preserved. | Free no charge |
| `smolmachine /machines/{id}/delete` Delete Machine | Permanently delete a machine you own, including its stored data. | Free no charge |
| `smolmachine /machines/{id}/usage` Machine Usage & Cost | What one machine has used and cost this month. Free. | Free no charge |
| `smolmachine /machines/{id}/exec` Run Command | Run a short command inside a machine you own and get the output back inline. Free. | Free no charge |
| `smolmachine /machines/{id}/exec/async` Run Command (long-running) | Run a long command inside a machine you own, returns a run id to poll. Free. | Free no charge |
| `smolmachine /machines/{id}/files/download` Download File | Download a file from a machine you own. | Free no charge |
| `smolmachine /machines/{id}/files/upload` Upload File | Upload a file into a machine you own, inline (base64) or from a URL. | Free no charge |

Prices are the listed price for one unit. The web page and `monid inspect` carry the full rate card for tiered endpoints.

## Questions about the Smol Machines API

### How do I get a Smol Machines API key?

You don't need one. Create a Monid API key at app.monid.ai and your agent calls Smol Machines through Monid with it. The same key works for every other tool in the catalog.

### How much does the Smol Machines API cost?

Each endpoint on this page lists its own price. Calls are billed from your Monid balance with no Smol Machines subscription.

### Is there a free Smol Machines API?

New Monid accounts start with $1 in free credit, no card required. It pays for Smol Machines calls at the prices listed on this page.

### Where is the Smol Machines API documentation?

Each endpoint on this page says what it returns and what a call costs. For the full input parameters, your agent runs monid inspect on the endpoint, which is free. Setup is covered at docs.monid.ai.

## More

- [Every tools page](https://dev.monid.ai/tools.md)
- [Connect an agent to Monid](https://dev.monid.ai/index.md)
