Instances
An instance is a running OpenClaw agent. It’s the core unit of everything in Chowder. When you create an instance, Chowder spins up an isolated cloud sandbox, installs OpenClaw, starts the gateway, and hands you back a running agent you can talk to, connect channels to, and extend with skills. Each instance gets its own:- Sandbox — a cloud container with its own filesystem
- Gateway — an HTTP server that handles requests, sessions, and channel bridges
- Workspace — a persistent directory for files, skills, and configuration
- Memory — conversation history and context, scoped per session
Instance lifecycle
Every instance moves through a predictable set of states:Provisioning
You call
POST /v1/instances and Chowder immediately returns a row with status: "provisioning". In the background, it’s creating a sandbox, running OpenClaw’s onboard process, configuring the gateway, and starting it up.This takes about 60–90 seconds. You can poll GET /v1/instances/{id} until the status flips to running.Running
The instance is live. You can send it messages, connect channels, install skills, and manage files. The gateway is accepting requests and the sandbox is awake.
Stopped
You called
POST /v1/instances/{id}/stop. The sandbox is hibernated — it’s still there, but not consuming compute. The gateway is down. No messages can be sent.Starting it back up is much faster than the initial provision (~10–15 seconds).If provisioning fails (bad API key, sandbox issue, etc.), the instance enters an
error state with an error_message field explaining what went wrong. You can delete it and try again.What happens during provisioning
When you create an instance, here’s what Chowder does behind the scenes:- Creates a sandbox from the
sandbox-mediumsnapshot (OpenClaw comes pre-installed) - Runs
openclaw onboardwith your model provider credentials to write the initial config - Generates a gateway auth token and configures token-based gateway authentication
- Enables the responses endpoint so the API can proxy messages to your agent
- Applies any custom config you passed in
openclaw_config - Starts the gateway in the background
- Resolves the public URL and persists everything to the database
Model providers
Each instance is backed by a language model. You choose the provider when creating the instance:- Anthropic (default)
- OpenAI
- Gemini
Instance limits
How many instances you can run depends on your subscription tier:| Tier | Instance limit |
|---|---|
| Shrimp (free) | 1 |
| Crab | 10 |
| Lobster | 500 |
| Whale (enterprise) | Unlimited |
402 with a message telling you to upgrade. See Subscriptions & Billing for details.
Starting and stopping
Stopped instances aren’t gone — they’re hibernated. The sandbox still exists, all your files and config are preserved, and you can bring it back online whenever you want.- Cost management — stopped instances don’t consume compute
- Development workflows — spin up for testing, stop when you’re done
- Scheduled agents — start at 9am, stop at 5pm
Can I change the model provider after creation?
Can I change the model provider after creation?
Not directly. The model provider is set during onboard and baked into the gateway config. If you need a different provider, create a new instance. You can use the files API to migrate workspace data between instances if needed.
What happens to channels when I stop an instance?
What happens to channels when I stop an instance?
Channel connections are preserved in the config, but they go offline when the gateway stops. When you start the instance again, channels will automatically reconnect (assuming your tokens are still valid).