Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const sandbox = await Sandbox.create({
type: "git",
},
resources: { vcpus: 4 },
// Defaults to 5 minutes. The maximum is 5 hours for Pro/Enterprise, and 45 minutes for Hobby.
// Defaults to 5 minutes. The maximum is 24 hours for Pro/Enterprise, and 45 minutes for Hobby.
timeout: ms("5m"),
ports: [3000],
runtime: "node24",
Expand All @@ -153,7 +153,7 @@ recreate an API client using OIDC or environment credentials when needed.
## Limitations

- Max resources: 8 vCPUs on Hobby/Pro, 32 vCPUs on Enterprise. You will get 2048 MB of memory per vCPU.
- Sandboxes have a maximum runtime duration of 5 hours for Pro/Enterprise and 45 minutes for Hobby,
- Sandboxes have a maximum runtime duration of 24 hours for Pro/Enterprise and 45 minutes for Hobby,
with a default of 5 minutes. This can be configured using the `timeout` option of `Sandbox.create()`.

## System
Expand Down
4 changes: 2 additions & 2 deletions packages/vercel-sandbox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const sandbox = await Sandbox.create({
type: "git",
},
resources: { vcpus: 4 },
// Defaults to 5 minutes. The maximum is 5 hours for Pro/Enterprise, and 45 minutes for Hobby.
// Defaults to 5 minutes. The maximum is 24 hours for Pro/Enterprise, and 45 minutes for Hobby.
timeout: ms("5m"),
ports: [3000],
runtime: "node24",
Expand All @@ -153,7 +153,7 @@ recreate an API client using OIDC or environment credentials when needed.
## Limitations

- Max resources: 8 vCPUs. You will get 2048 MB of memory per vCPU.
- Sandboxes have a maximum runtime duration of 5 hours for Pro/Enterprise and 45 minutes for Hobby,
- Sandboxes have a maximum runtime duration of 24 hours for Pro/Enterprise and 45 minutes for Hobby,
with a default of 5 minutes. This can be configured using the `timeout` option of `Sandbox.create()`.

## System
Expand Down
2 changes: 1 addition & 1 deletion skills/sandbox/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ const result = await sandbox.runCommand({
| --------------- | -------------------------------------------- |
| Max vCPUs | 8 vCPUs (2048 MB RAM per vCPU) |
| Max ports | 15 exposed ports |
| Max timeout | 5 hours (Pro/Enterprise), 45 minutes (Hobby) |
| Max timeout | 24 hours (Pro/Enterprise), 45 minutes (Hobby) |
| Default timeout | 5 minutes |
| Base system | Amazon Linux 2023 |
| User context | `vercel-sandbox` user |
Expand Down
Loading