# Boat





<DocImage src="features/sandbox/boat-settings" alt="Settings → Sandbox showing the Boat tab with the Small, Default and Large sizes" width="1792" height="872" />

[Boat](https://boat.dev) is a sandbox platform built for AI agents. Each project runs on a full cloud machine on your Boat account, where the agent can install packages, run your app and test changes.

## Why Boat? [#why-boat]

<Cards>
  <Card title="Low Cost" icon="<MdOutlineAttachMoney />" description="From $0.018 an hour, billed per second while running." />

  <Card title="Fast Builds" icon="<Gauge />" description="About twice as fast as E2B on build-and-test work, per Boat's benchmark." />

  <Card title="Full Machines" icon="<Server />" description="Every sandbox is a complete Linux virtual machine, with more memory per size." />

  <Card title="Free Trial" icon="<Gift />" description="A 7-day trial with 25 free hours to try it out." />
</Cards>

## Sizes [#sizes]

| Size        | CPU    | RAM   | Price     | Best For                     |
| ----------- | ------ | ----- | --------- | ---------------------------- |
| **Small**   | 2 vCPU | 4 GB  | $0.018/hr | Prototypes and simple sites  |
| **Default** | 4 vCPU | 8 GB  | $0.036/hr | Most apps                    |
| **Large**   | 8 vCPU | 16 GB | $0.072/hr | Heavy builds and test suites |

Start on **Default**. Use **Small** for quick prototypes, and **Large** if builds or tests feel slow.

<Callout type="info">
  **Large** needs a paid Boat plan. It isn't available on the free trial.
</Callout>

## Connect Your Key [#connect-your-key]

<Steps>
  <Step>
    Open 

    **Settings → Sandbox**

     and select the 

    **Boat**

     tab.
  </Step>

  <Step>
    Click **Connect**, then **Get API key** to create one in Boat.
  </Step>

  <Step>
    Paste the key (it starts with 

    `boat_`

    ) and save.
  </Step>
</Steps>

## Use Boat for Your Projects [#use-boat-for-your-projects]

* **New projects:** on the home page, open **Settings → Sandbox**, pick a size on the Boat tab and save. New projects start on Boat.
* **An existing project:** open **Settings → Sandbox** inside it, pick a size on the Boat tab and click **Switch**. It's rebuilt on Boat from its last save.

<Callout type="info">
  Out of Boat hours or credits? You can switch the project to E2B from the
  error screen. See [When a Provider Stops
  Working](/docs/features/sandbox#when-a-provider-stops-working).
</Callout>

## FAQ [#faq]

<Accordions>
  <Accordion title="Why can't I pick Large?">
    Large isn't available on Boat's free trial. Use Small or Default, or
    upgrade your Boat plan.
  </Accordion>

  <Accordion title="My trial hours ran out">
    Subscribe to a Boat plan. Your project is kept and starts again once you
    do.
  </Accordion>

  <Accordion title="Can I use Boat and E2B together?">
    Yes. Connect both, then choose a provider per project.
  </Accordion>

  <Accordion title="Where do I see my usage?">
    In your [Boat dashboard](https://boat.dev/dashboard). Boat bills you
    directly.
  </Accordion>
</Accordions>
