> For the list of every page, fetch /llms.txt. The API contract is the OpenAPI file linked from the API reference.

# Known limits

Things in the beta that can surprise you, grouped by what you are doing. Each entry says what happens and what to do.

Entries marked "seen live" were observed on the hosted beta against the real provider. The values are the ones in force on the hosted beta. You cannot change them.

## Getting started

- No self-serve signup. Meadow staff create your account and send the first admin key.
- No console. Everything is done through the API, the `mdw` CLI, or a client library.
- The clients are not on a public package index yet. A current build calls `https://api.usemeadow.ai` when `MEADOW_BASE_URL` is not set. A build sent out before 2026-11-24 has a built-in default address that is not the hosted beta. Do: ask for a current build, or set `MEADOW_BASE_URL`. See [Clients](/run-sandboxes/clients#set-the-address-and-the-key).
- `pip install meadow` installs an unrelated project from PyPI. Do: install the wheel file you were sent, by path. See [Clients](/run-sandboxes/clients#install).
- Meadow serves chat completions, responses, messages, and the model list. Embeddings, images, audio, files, batches, moderations, and the other OpenAI and Anthropic routes return 404 `route_not_found` (seen live). Do: keep a second client on the provider's own URL for those. See [Use your existing tools](/call-models/use-your-existing-tools#what-meadow-does-not-serve).
- Unknown query parameters are ignored without an error, while unknown body fields return 400 (seen live). An unknown-field message does not name the field, but `error.param` does. Do: check names against the API reference. See [Errors](/reference/errors#common-messages).
- A provider error passed through on a model route has no `request_id` in its body. Every response carries `x-request-id`, and Meadow's own errors repeat it in the body. Do: read the ID from the header. See [Errors](/reference/errors#request-ids).
- Your own `X-Client-Request-Id` is logged and not sent back.
- A key shows the requests and tokens used in its current period (`GET /v1/key`, `GET /v1/keys/{key_id}`, `GET /v1/keys`). Use over time, per project, key, provider or model, is in `GET /v1/usage`. See [Usage and cost](/call-models/usage-and-cost).
- The audit log records only changes made through the API to keys, projects, provider keys and budgets, and sandboxes Meadow stopped at a spend limit. Reads, rejected requests, model calls and sandbox calls are not in it, and each entry names an API key, not a person. Do: use one key per person or system. See [Audit log](/set-up-your-account/audit-log).
- No billing. Providers bill you directly. Meadow has no invoices. Its cost figures are list-price readings: see Usage and cost below.
- A deploy can cut open requests. When a Meadow server is replaced, a request that is still open after a few seconds is ended. A call with no response yet gets 503 with `error.code` `server_restarting` and the header `x-should-retry`. A model stream or exec stream gets a last `error` event. Do: retry when `x-should-retry` is `true`. Use background commands for long work in a sandbox.

## Projects and keys

- A restricted project still counts in the account budget: `GET /v1/budget` shows spend from every project, hidden ones included. A key minted in a project before it was restricted keeps working. Do: revoke keys that people outside the project minted.
- `PATCH /v1/projects/{project_id}` replaces the whole `routing` object. Do: read the project, edit the routing, send all of it.
- Revoking a key revokes every key created from it, at any depth. Do: read `parent_key_id` in the key list before you revoke a key that created others. A child that was live under a parent revoked before 2026-11-24 is still live: revoke it by its own ID.
- A disabled key also stops every key created from it, with 401 `api key is disabled`.
- A key's scopes, expiry and project cannot be changed. Do: create a new key.
- A change to a key's `allowed_models`, `allowed_providers` or `allowed_sandbox_providers` does not stop calls already running. A call keeps the route it planned when it started, fallbacks included. Every call that starts after the change uses the new lists. Do: nothing, or wait for long streams to end before you rely on the change.
- `allowed_providers` names the Meadow provider whose stored key pays. With `openrouter` on the list, OpenRouter still picks its own upstream. Do: restrict OpenRouter's upstreams in your OpenRouter account.
- `allowed_models` is checked against the model the request names. A provider that answers with another snapshot, or reroutes the ID, is served. Do: read `served_model` on the usage record.
- A child key spends its parent's limits. Do: size a parent's limits for all of its children together.
- A key created without `scopes` never gets `admin`. Do: name `admin` when you want it.
- The `admin` scope covers the whole account, every project included. Do: keep admin keys out of workloads.
- The last working admin key cannot be deleted, and a project that holds all of them cannot be deleted. Do: create another admin key first.
- A key keeps one old secret after a rotation. Rotating again inside the grace period ends the earlier old secret at once. `POST /v1/keys/{key_id}/rotate` does not take `Idempotency-Key`: if the response is lost, rotate again. See [Authentication](/set-up-your-account/authentication#rotate-a-key).
- A replayed create never carries a one-time secret. `POST /v1/keys`, `POST /v1/projects` and `POST /v1/images` take `Idempotency-Key` and return the saved first response for 24 hours to the API key that sent it, but without `secret` on a key and without `webhook_secret` on a project. Do: if you lost the first response, revoke that key ID and create again, or rotate the project's webhook secret.
- `max_sandboxes` on a key or a project caps how many sandboxes are alive at once. It counts sandboxes, not dollars.
- Project delete is rejected while the project has live sandboxes, images, unexpired build contexts, or a limited key with a live child elsewhere. Do: read the 409 message, clear the cause, retry. See [Projects](/set-up-your-account/projects#delete-a-project).
- A sandbox create that a provider answered with a 5xx or a timeout is tracked until the provider's own lifetime for it would have ended, because Meadow cannot tell whether a sandbox exists there. That is the sandbox timeout plus the create timeout plus about 7 minutes. Until then the failed sandbox blocks project delete. Do: use a short `timeout_seconds` where you can.
- A NUL character or invalid UTF-8 in a path, query parameter, or JSON body returns 400. Model request bodies are exempt. Do: strip NUL characters from names, labels, commands, and Dockerfiles.

## Provider keys

- One credential per provider per account. Do: use `project_ids` to limit which projects can use it.
- Leaving `project_ids` out means every project, and each `PUT` replaces the whole entry. Do: send `project_ids` every time for a scoped key.
- The check at store time proves the credential is valid. It does not prove that a model call will work. Azure's check lists models and Bedrock's asks AWS who the key is: both pass for an account that rejects every model call. Vertex's check also asks Google whether the service account has `aiplatform.endpoints.predict` on the project, and stores the key anyway when Google does not answer. No check proves that a given model is enabled. Do: make one model call after storing.
- A Modal environment name that does not exist is accepted (seen live). Do: check the spelling.
- A replaced or deleted Modal token can stay in use for up to 5 minutes. Do: wait before revoking the old token at Modal.
- OpenAI direct, Azure, and Bedrock have not served a real call through the hosted beta. Claude on Vertex was served with an operator's Google token, not with a stored service account key. Do: test with your own key before relying on one.
- `azure` serves an unpinned model only when `deployments` names it, and one credential holds one resource and one deployment per model. Do: pin `azure/<deployment>` to reach a second deployment of the same model.
- `vertex` takes `global`, the multi-regions `us` and `eu`, or one region, and a service account key only. `bedrock` takes an IAM access key with an optional `session_token`, or a Bedrock API key. A Bedrock API key is stored without a check: make one model call after storing it.
- A Bedrock account that may not invoke models answers 400 `Operation not allowed`. Meadow falls back on that one 400, and the attempt reads `provider account is not allowed to invoke models`. An OpenAI account with no credit (429 `insufficient_quota`) falls back too, and when nothing else serves the call you get a 502 with no `retry-after`, not a 429. Do: read `attempts`, then fix the provider account or remove the key.
- A Vertex 403 reads as a rejected credential even when the cause is a project setting, such as data sharing for a new model. Do: call Vertex directly with the same service account to read the provider's message.
- Bedrock model IDs are global inference profiles by default, so AWS may process the request in any region. Do: set `inference_profile` to `us` or `eu` in the Bedrock provider key, or pin `bedrock/jp.anthropic.<model>` for a geography the field does not offer. Meadow does not check that AWS offers that profile for that model.
- A provider key you remove or replace can still serve a call that was starting at that moment. Meadow reads the key before it checks the calling key's limits. On a key with a request, token or spend limit that check takes at most 5 seconds. Do: wait 5 seconds after removing or replacing a provider key before you revoke the old one at the provider.

## Calling models

- No conversion between formats. A request goes only to providers that accept its format. Do: store a key for a provider that serves the format you call.
- On the model routes Meadow's own errors use OpenAI's or Anthropic's envelope, and `error.type` is the provider's word. In OpenAI's envelope every 4xx except 402 and 429 has the type `invalid_request_error`. Do: branch on the status and `error.code`. See [Errors](/reference/errors#errors-on-model-routes).
- A provider's request error (400, 409, 413, 422, or 404 for a pinned model or from the only provider in the route) comes back in the provider's shape. Do: read the status first, then parse per provider. See [Errors](/reference/errors#provider-errors-on-model-routes).
- A slow blocking call waits up to 10 minutes on one provider before Meadow tries the next. A route with three providers can take 30 minutes. Do: set client timeouts with that in mind, shorten the route with `only`, or stream.
- A stream that sends no byte for 3 minutes moves to the next provider.
- No request lasts longer than 60 minutes. The load balancer in front of Meadow cuts it and answers 504 with the text `stream timeout`, which is not JSON and has no `x-request-id` (seen live on 2026-11-25 with a blocking command that was silent for 60 minutes). The limit applies to model calls, blocking and streamed commands, and long polls. A stream that has already started cannot get a new status, so expect a cut connection there (not tried). Do: stream long model calls, run long commands in the background, and treat a 504 with no request ID as "outcome unknown". See [Running commands](/run-sandboxes/running-commands#timeouts-and-exit-codes).
- No fallback after the first stream event reaches you. If the provider's connection breaks or goes idle for 5 minutes, Meadow ends the stream with one error event in your request's format (a chat chunk with `error` and `finish_reason: "error"`, `response.failed`, or an Anthropic `error` event). Not yet seen on the hosted beta. Do: treat that event, or a stream with no final event, as failed and retry the whole call.
- Meadow does not check that a stream finished. Do: check for the format's final event.
- Streams are held until the first complete event, so an early provider error can still fall back. Do: expect the first event in one piece.
- Query strings are forwarded to Anthropic, OpenAI, xAI, OpenRouter, and Azure. They are dropped for Google, Bedrock, Vertex, Fireworks, and DeepSeek.
- `fireworks` and `deepseek` have served no real call through Meadow. Their paths, headers and checks follow the providers' published documents and pass tests against a stand-in server. They serve pinned IDs only. Do: make one small call after you store the key.
- `anthropic-beta` flags you send go to Bedrock and Vertex unfiltered. A flag the provider rejects falls back to the next provider when the model ID is not pinned. When it is pinned, or nothing else serves the call, you get the provider's 400: Vertex's as written, Bedrock's in Anthropic's envelope with AWS's message. Do: send only flags the target provider documents.
- `created` on a listed model is always 0. `GET /v1/models` carries OpenAI's `object`, `created` and `owned_by` so that an OpenAI SDK can read the list. Do: do not sort or filter models by `created`.
- On a key with `allowed_models`, `preset` and `route` are removed from OpenRouter requests. Do: use a key without `allowed_models` if you need a preset.
- A call that uses `previous_response_id` must pin one provider, because Meadow stores no response state.
- `/v1/messages/count_tokens` does not exist.
- The Gemini route serves `generateContent` and `streamGenerateContent` only. `countTokens`, `embedContent`, `batchEmbedContents` and `batchGenerateContent` get 501 in Google's envelope. File upload, files, cached contents, batches and the Live API WebSocket paths get 404 in Google's envelope. None of them reaches Google. Google's model list is not served: `GET /v1beta/models` gets a 404, and `GET /v1/models` answers with Meadow's own list in OpenAI's shape. Not on the hosted beta yet. It was run against Google AI Studio from a local server, not against Vertex. See [Gemini clients](/call-models/gemini-clients#not-served).
- On the Gemini route the stream needs `?alt=sse`, and no query parameter other than `key` and `alt` is accepted. Send the key in `x-goog-api-key` or `Authorization: Bearer`: a key in `?key=` works, but query strings end up in proxy, browser and server logs.
- Google's `v1` answered 404 for a preview model that `v1beta` served. The Google GenAI SDKs default to `v1`. Do: set the SDK's API version to `v1beta` for preview models.
- On the Gemini route Meadow does not read `models` or `provider` from the body, which is Google's. Do: pin the vendor in the path (`google/<model>`) or use project routing.
- Gemini calls on Vertex have no price, and Gemini calls with grounding or audio have no price on either vendor. A key with a dollar limit refuses an unpinned Gemini model when you also store a `vertex` key. Do: pin `google/<model>` on such a key.
- Sizes: a request body over 16 MiB gets a 413. JSON nested deeper than 64 levels gets a 400. A blocking answer over 32 MiB is dropped. Do: stream very large answers.
- Large request bodies share a budget on each server (256 MiB of model request bodies in flight). A body under 1 MiB is never counted. A larger call that does not fit gets a 429 `large_request_limit_exceeded` with `retry-after: 1`, before its body is read when the request has a `Content-Length`. Not yet seen on the hosted beta. Do: retry after `retry-after`.
- A request body must arrive within 60 seconds.
- No fixed number of requests in flight per key or per account. A full server lets a request wait up to 3 seconds for a slot, gives freed slots first to the account with the fewest requests open, and then answers 429 `account_in_flight_limit_exceeded`. A stream counts until it ends. On the hosted beta since 2026-11-28. Before, one key was stopped at 16 model requests in flight on each server. Do: back off on 429.
- Meadow's own clients (the Python client, the Go SDK, and the `mdw` CLI) retry a model call on a 429 only, and send any call at most 3 times. They do not repeat a model call after a 5xx or a timeout, because Meadow has already tried every provider and each send can be billed. See [Errors](/reference/errors#retrying).
- The OpenAI and Anthropic SDKs send a failed model call three times by default (seen live). Each send can be billed and counts against key limits. Do: set `max_retries=0` and retry in your own code. See [Use your existing tools](/call-models/use-your-existing-tools#retries-and-errors).
- A plain model ID that is not on Meadow's list is passed to its own provider only for the `claude-`, `gpt-`, `gemini-` and `grok-` families, and only when you have that provider's key. Other providers are not tried for it. Any other unlisted ID gets a 404 `model_not_found` that shows how to pin. Before 2026-11-28 it was a 400 `parameter_invalid`. Anthropic's alias `claude-haiku-4-5` routes like the dated ID. Do: pin the provider, as in `openrouter/<id>`. See [Models](/call-models/models#model-ids).
- A served response names the providers that failed first only by code: `x-meadow-route` reads, for example, `fallback: openai quota_exceeded -> openrouter` (new on 2026-11-24, on the hosted beta since 2026-11-27). The failed provider's own error text is not returned. Do: pin the provider and send the call again to see its own error.

## Key limits

- A key with `max_tokens` (its own or a parent's) needs a positive whole-number output token limit on every request: `max_completion_tokens` or `max_tokens` on Chat Completions, `max_output_tokens` on Responses, `max_tokens` on Messages. Without one the request gets a 400.
- `Max_Tokens`, or any other letter-case variant of a cap field or of `n`, gets a 400 on every key.
- Tokens are reserved before the call. The reservation is the body size in bytes divided by 3, plus the output token limit (times `n` on Chat Completions). A request is rejected with a 403 when used tokens, plus tokens held by calls in flight, plus its own reservation would pass the limit. So a key can be rejected while its used tokens are still under the limit. Do: keep output token limits close to what you need.
- When the provider reports no usage, or you drop a stream before its last chunk, Meadow charges the reservation. Do: read streams to the end.
- A call that a provider received and that then timed out, lost its connection, or returned an unusable answer is charged one request and its reservation. The provider may bill for it too. The `x-meadow-abandoned-attempts` header names the provider.
- A request that points at stored content (`previous_response_id`, files or images by URL or ID) can use more input tokens than it reserved, so a key can end above its cap. Do: leave headroom under a hard budget.
- A key with any request or token limit must get a full answer, or the first stream event, within 8 minutes across all attempts. After that the call gets a 502. Do: stream long answers on limited keys.
- An open stream holds its reservation until it ends, for up to 2 hours.
- Once a provider has answered, you get the response even if Meadow cannot write the charge yet. Meadow retries the write for up to 2 minutes. If it never lands, the key is charged the reservation about 10 minutes later, so `tokens_used` can lag and can show the estimate in place of the provider's count.
- One call can take a key far past its token limit, because the charge is what the provider reports. Seen live: a key with `max_tokens: 200` was charged 1,434 tokens by one call. Do: leave headroom. See [Token and request limits](/call-models/token-and-request-limits#the-limit-can-be-passed).
- Limits reset only when the key has `limit_reset` (`daily`, `weekly` or `monthly`, at UTC boundaries). Without it they cover the key's whole life. Do: set `limit_reset`, raise the limit with `PATCH /v1/keys/{key_id}`, or create a new key.
- `requests_remaining` and `tokens_remaining` look at the key's own limits only. A limit on a key above it can reject a call first, and tokens held by calls in flight are not subtracted.
- A spent limit is a 403 with `code` `key_request_limit_exceeded` or `key_token_limit_exceeded`, not a 429. Do: do not retry it.
- A request estimated above 8,000,000 tokens gets a 400 on every key.
- A budget alerts, and rejects calls only with `hard_limit`. A hard budget rejects new model calls and sandbox creates with a 402 and does not stop sandboxes that are running. One call may end above it. Its `spend_usd` leaves out records with no cost and can be a minute behind. See [Budgets and alerts](/call-models/budgets-and-alerts).
- A dollar `limit` is held before a call and charged after it, so one call can end above it. A call whose cost cannot be worked out is charged the whole held amount. Do: leave headroom and read streams to the end. See [Spend limits](/call-models/spend-limits).
- A key with a dollar `limit` (its own or a parent's) cannot call through `openrouter`, `vertex` or `deepseek`, or a `fireworks` model other than `kimi-k3`, `glm-5p3` and `glm-5p3-flash`, because Meadow has no prices for them. Through `bedrock` it can call the listed Claude models. Through `azure` it can call the listed OpenAI models on a deployment stored as `GlobalStandard` in `deployment_types`. Such a call gets 403 `key_spend_price_unknown`. Do: send `provider.only` with providers that have prices.
- A spent dollar `limit` rejects new sandboxes and model calls with a 402. It does not stop sandboxes that are running, unless the key has `limit_action` `stop_sandboxes`. Do: set `timeout_seconds`, or set `limit_action` on the key.

## Usage and cost

- A cost is Meadow's reading from list prices, not your provider's invoice. Discounts, credits and taxes are not in it.
- A record has no cost when Meadow holds no price for it: any call through `vertex` or `deepseek` (DeepSeek's price depends on the hour, `cost_reason` `time_of_day_price`), an `azure` deployment that is not stored as `GlobalStandard`, a Bedrock model Meadow does not list, a service tier, speed or region with no price (such as a `priority`, `flex` or `scale` tier), audio, most server tools, and a call whose tokens were estimated on a model with no list price. `unknown_cost_records` counts them.
- A provider that received a request and did not answer may still have billed you. Meadow lists the attempt and cannot know its cost.
- Sandbox cost does not include image builds, snapshots or stored build contexts. On Modal it prices what you asked for, and Modal's bill can be above or below it.
- `first_byte_ms` on a call that was not streamed is the time to the whole answer.

## Running sandboxes

- `timeout_seconds` is at most 86400 (24 hours), default 3600. `create_timeout_seconds` is at most 3600. `?wait=true` holds a sandbox create for at most 900 seconds and an image create for at most 1800.
- Only the network rules of a sandbox can be changed after create, with `PATCH /v1/sandboxes/{sandbox_id}`. There is no call to extend its lifetime, stop and start it, or change its ports or SSH. Do: choose `timeout_seconds` for the whole job.
- On Modal, network rules can be changed only on a sandbox created with `allow_domains` or `allow_cidrs`, and only with the kind of list it was created with. A Modal sandbox created open or with `block_all` returns 400. Do: read [Change the rules on a running sandbox](/run-sandboxes/network-rules#change-the-rules-on-a-running-sandbox) before you create it.
- Fallback happens at create only. A running sandbox never moves. Do: create a new sandbox when a provider loses one.
- `provider.sort: "latency"` compares two different measures. A Modal create answers running before its container has started, so Modal's time is the API answer. A Daytona create is seen running by a status read once a second, so Daytona's time can be up to a second late. On 2026-11-28 the medians were 240 ms on Modal and 1,240 ms on Daytona on the smallest size. Do: read `median_create_ms` from `POST /v1/sandboxes/route`, and use `order` when you know which vendor starts faster for your image.
- `GET /v1/sandboxes/{sandbox_id}` resets the idle timer. So do exec, file, port, and SSH calls. The list call does not. Do: poll the list, or use webhooks, when you want the idle timer to run.
- A background command keeps the sandbox from going idle. Do: give background commands a `timeout_seconds`.
- A background start without `Idempotency-Key` runs the command again on retry. The key is 1 to 255 printable ASCII characters.
- There is no call that lists the commands of a sandbox, and no terminal (TTY) mode. Do: keep the exec ID, or send the start again with the same `Idempotency-Key` to get it back. Use SSH for an interactive shell.
- On Daytona, the `stderr` of a blocking command that could not start begins with the path of Meadow's wrapper script, such as `/tmp/.meadow-fg.Zur2R3/cmd.sh: 2:` (seen live). Do: strip it before you pass `stderr` on.
- Blocking and streamed commands default to a 60 second timeout. Background commands have no default.
- Blocking and streamed output over 4 MiB per stream is cut, with `stdout_truncated` or `stderr_truncated` set. Background output is capped at 16 MiB per stream and can be read in full for one hour after the command ends, while the sandbox runs. After that, and after the sandbox has ended, only the last 256 KiB of each stream is returned, for 24 hours. Do: write large output to a file and download it.
- Timeout exit codes differ by provider and mode (124 and 143 seen live). Do: read `timed_out`, never the exit code.
- A command that exits by itself leaves its background children running. Only a timeout, or a kill of a command that is still running, ends the whole group. A child that keeps the command's output open does not hold the command: output it writes more than about one second after the command exits is discarded. The children do not keep the sandbox from going idle. Do: redirect such a child's output to a file. See [Processes a command leaves running](/run-sandboxes/running-commands#processes-a-command-leaves-running).
- A background command whose state inside the sandbox is lost reads `failed` with `failure_reason` `state_lost` and a null `exit_code`. `failed` is a new status (2026-11-24). Do: leave `/tmp/.meadow-exec` alone, treat that result as unknown, and treat any status other than `running` as final.
- A background command that was running when the provider lost its sandbox reads `failed` with `failure_reason` `sandbox_lost` and a null `exit_code` (new on 2026-11-24, on the hosted beta since 2026-11-27). Meadow asks the provider three times over about 6 seconds before it decides that. While the provider's responses disagree, any command call returns 502 with the code `sandbox_unreachable` and `Retry-After: 2`, and the command keeps running. Do: retry a 502, and treat `sandbox_lost` as an unknown outcome.
- A background command the provider cannot reach for 10 minutes, while it reports the sandbox as running, reads `failed` with `failure_reason` `provider_unreachable` and a null `exit_code` (new on 2026-11-24, on the hosted beta since 2026-11-27). Other commands and the sandbox are not changed. Do: treat it as an unknown outcome.
- Exec `user` needs that user in the image, and one of `setpriv`, `runuser`, `su`, or `python3` to switch to it. With `user` set, do not use the `env` names `_mr`, `_mu_name`, and `_mu_mode`.
- Delete can return 202 with the sandbox in `terminating` when the provider is slow. On Modal most deletes held the request for 15 seconds and then returned 202 (seen live). Do: treat 202 as success, and delete in the background.
- A port must be listed in `ports` at create. SSH must be turned on at create.
- `network.allow_domains` takes host names only, with an optional leading `*.`. A plain name does not cover its subdomains (seen live). Do: put addresses in `allow_cidrs`.
- `*.example.com` in `allow_domains` also allows `example.com` itself, on both providers (seen live). Do: do not rely on a wildcard to keep the bare name out.
- An allowed host name opens different ports on each provider (seen live). On Daytona it answered on ports 80, 443 and 22. On Modal it opens TLS on port 443 only, so plain HTTP fails, and so does an `https://` URL that redirects to `http://`. Do: read [What an allowed name opens](/run-sandboxes/network-rules#what-an-allowed-name-opens).
- Network rules were checked with a handful of connections. Name lookups still get an answer in some modes: on Daytona under `block_all` and `allow_domains`, and on Modal under both allowlists (seen live). Do: read [Network rules](/run-sandboxes/network-rules#what-we-tried-beyond-https) before you rely on a rule to stop data leaving.
- `provider.options` takes a fixed set of keys per provider. Any other key returns 400.
- File uploads and build contexts are limited to 100 MiB.
- Uploaded files belong to the image's default user, `root` for most images, with mode 0644. A tar keeps the numeric owner in the archive. There is no owner or mode parameter (seen live on both providers). Do: run `chown` or `chmod` with exec. See [Files, ports, and SSH](/run-sandboxes/files-ports-and-ssh#upload-a-file).
- A tar upload that returns 400 `invalid tar archive` writes no file: Meadow checks the whole body before the sandbox unpacks it. A tar that passes the check can still be left half unpacked when the `tar` program in the sandbox fails, for example on a full disk. That returns 400 `the sandbox could not unpack the tar archive; some entries may have been written`. Do: send a plain tar, and after that second error remove the directory before a retry.
- Deleting a `failed` sandbox changes its status to `terminated` and keeps `failure_reason` (seen live).
- A build context piped straight from `tar` on macOS is accepted (seen live), although that `tar` adds zero bytes after the gzip stream. Any other data after the stream returns 400 `build context gzip stream is corrupt`. See [Images and build contexts](/run-sandboxes/images-and-build-contexts#build-with-local-files).
- A misspelled image name fails the create with a general message that does not name the image. A failed image build returns no build log. Do: check the name and tag first. See [Sandboxes](/run-sandboxes/sandboxes#attempts-and-failure-reasons).
- There is no call to delete a build context. It expires 24 hours after its last use, and its project cannot be deleted until then.
- A sandbox does not show the image, timeouts, or network rules it was created with, and `resources` shows what you asked for. Do: keep your create request.
- Deleting an image can return 202 with the image in `deleting` while a provider is slow. Do: treat 202 as accepted and poll `GET /v1/images/{image_id}` until it returns 404. See [Images and build contexts](/run-sandboxes/images-and-build-contexts#delete-an-image).
- Meadow deletes a provider image with your current provider key and gives up after 10 tries or 24 hours. The image then reads `deleted` with `vendor_copies_may_remain`. Do: remove the copy at the provider by hand.
- No limit stops a project from storing build contexts. Meadow only counts them.
- Deleting an image removes the provider's image. The build context bytes Meadow uploaded to your Daytona or Modal account stay there, because neither provider offers a delete call. Do: keep secrets out of build contexts.
- Client libraries reject symlinks and hard links in archives downloaded from a sandbox unless you opt in, because a sandbox runs untrusted code.

### Daytona

- The first sandbox of a new size from a built image waits while Meadow makes a Daytona snapshot for that size. Later sandboxes of that size start at once.
- CPU and memory are rounded up to whole CPUs and whole GiB. `cpu` counts virtual CPUs. A size above Daytona's limit for one sandbox skips Daytona with an `unsupported` attempt.
- A GPU create reads your organisation's free capacity first. A type with no free units moves to the next provider at once.
- No `registry_auth`. Requests that send it skip Daytona. Do: use Modal for private images.
- `allow_domains` and `allow_cidrs` cannot be combined.
- SSH returns no host key, so a client cannot pin the server.

### Modal

- `cpu` and `memory_mb` are hard limits. A command that passes `memory_mb` ends the whole sandbox, which then reads `failed` with `provider_lost`. Do: ask for enough memory, or send `provider.options.modal.burst: true`.
- With `provider.options.modal.burst: true`, `cpu` and `memory_mb` are floors and the sandbox can use more. Modal bills the larger of the request and what was used.
- `cpu` counts physical cores, which Modal documents as two virtual CPUs each. Meadow does not convert between the two providers. Do: size `cpu` for the provider that will serve.
- A `disk_mb` above 512 GiB skips Modal. Modal takes the first GPU type it offers from your list and does not try the next one when that type has no capacity.
- Modal runs the image's default command. If it exits, the sandbox becomes `failed` with `provider_lost`. Do: use an image whose default command keeps running.
- `timeout_seconds` below 10 skips Modal.
- Blocking and streamed commands need `sh` in the image.
- With `network.block_all`, ports and SSH do not work on Modal: Modal's blocked mode drops inbound connections too. A create with `block_all` and `ports` or `ssh: true` skips Modal with an `unsupported` attempt that says so, and falls back to Daytona when your route allows it. Do: use an allowlist on Modal, or use Daytona. See [Network rules](/run-sandboxes/network-rules#provider-differences).
- SSH needs root and `sshd`, or `apt-get` with network access to install it. Each SSH call adds a key that works until the sandbox ends.

## Receiving webhooks

- Retries run for 72 hours after the event was created, with waits that double from 5 seconds up to 12 hours. After that the event is dropped. Do: poll `GET /v1/sandboxes/{sandbox_id}` to recover from a longer outage.
- Only a 2xx counts as delivered. Redirects are not followed. Each attempt has 10 seconds. Do: answer fast and do the work afterwards.
- One delivery at a time per destination. A slow receiver delays later events.
- The signature header is `x-meadow-signature: t=<unix seconds>,v1=<hex>` over `<t>.<body>`. `t` changes on a retry. Do: reject a `t` more than 5 minutes from your clock, and do not use the signature to spot duplicates.
- For 24 hours after a secret rotation, each delivery carries several `v1` values. Do: accept when any matches.
- A webhook secret issued before the update of 2026-11-28 is in URL-safe base64, which Standard Webhooks libraries do not read. Do: rotate it, or replace `-` with `+` and `_` with `/` after `whsec_` before you hand it to a library. See [Webhooks](/run-sandboxes/webhooks#standard-webhooks).
- Webhook URLs must use `https` and resolve to a public address.