Provider
Upstash Box sandboxes through one API.
Upstash Box runs containers and bills only for the processor time they use. Connect your Upstash Box account to Annex and your agents can start sandboxes there, alongside every other account you connect.
Upstash Box at a glance
- What it runs
- Containers
- Where
- US East
- Sizes
- Three fixed sizes: 2 vCPU with 4 GB, 4 with 8, or 8 with 16
- Price
- $0.20 an hour when you ask for 2 vCPU and 4 GiB. It bills only for active processor time, so this is the most an hour can cost when the sandbox is fully busy.
- Pausing
- Upstash pauses it: files are kept, running programs end, and only disk is billed.
- To connect
- An Upstash Box API key that may write.
List prices for 2 vCPU and 4 GiB for an hour, read from each provider's own pricing in November 2026. Where a provider bills by use, the figure is the most it can cost while busy. Your provider bills you directly, on your own account.
What Annex adds to Upstash Box
One way to ask
Your agent asks Annex for a computer the same way whatever the provider. Nothing in your agent changes when you add Upstash Box or take it away.
A second choice when it's full
If Upstash Box can't start a sandbox, because it is out of room, over your limit or having a bad day, Annex starts it on the next account you have connected and tells you why.
Work that can move
Annex saves a task's files as it goes. If the sandbox is lost, the task carries on in a new one, on Upstash Box or anywhere else.
Ask for Upstash Box by name
Routes are cheapest, fastest or a provider's name. This starts a sandbox on Upstash Box only:
From your own code
curl -X POST $ANNEX/sandboxes \
-H "Authorization: Bearer $KEY" \
-d '{"route": "upstash", "vcpu": 2, "memory_gib": 4}'