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

# Meadow

Meadow is one API for calling models and running sandboxes with your own provider keys. You store each provider key with Meadow once. One Meadow API key (`mdw_...`) then reaches every provider you stored a key for. Each provider bills you directly.

Start with the [Quickstart](/get-started/quickstart) to make a model call. Continue with the optional sandbox example to run a command.

## Who it is for

Meadow is for teams that call models from more than one provider, or run code in sandboxes, and want one key, one set of routing rules, and one place to limit what each workload can do. It suits evaluation harnesses, coding agents, and services that need a second provider when the first one is down.

Meadow is in private beta. There is no self-serve signup: you receive a base URL and an admin key when you join. Read [Known limits](/reference/known-limits) before you build on it.

## What works on the hosted beta

The hosted beta is `https://api.usemeadow.ai`. On 2026-11-28 it supports:

- Model calls in three formats: OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages. The request reaches the provider in the format you sent, and the provider's response comes back unchanged.
- Real calls through Anthropic, Google, xAI, OpenRouter, and Gemini on Vertex. OpenAI, Azure, Bedrock, Fireworks, and DeepSeek have passed tests against a stand-in server only. [Provider keys](/set-up-your-account/provider-keys#credentials-for-each-provider) has the table.
- Fallback. When a provider fails, Meadow tries the next one you allow.
- Sandboxes on Daytona and Modal behind one set of calls: create, run commands, copy files, open ports and SSH, build images, and limit outbound traffic.
- Keys you can narrow: scopes, a list of models, request and token limits, a limit in US dollars, a cap on concurrent sandboxes, and an expiry date. A key's secret can be rotated in place.
- Budgets in US dollars on the account or a project, with webhook alerts and an optional hard limit. Alert email is off on the hosted beta.
- An audit log of changes to keys, projects, provider keys and budgets.
- A usage and cost record for each model call and each sandbox, read with `GET /v1/usage`.
- Errors on the model routes in OpenAI's or Anthropic's own format, so their SDKs raise their usual errors.

The [Changelog](/reference/changelog) lists each change by the day it reached the hosted beta.

<a id="the-two-things-it-does"></a>

## Models and sandboxes

| | Model calls | Sandboxes |
| --- | --- | --- |
| What you send | A request in the OpenAI or Anthropic format | A request to create a sandbox, then commands and files |
| Providers | Anthropic, OpenAI, Google, xAI, OpenRouter, Azure, Bedrock, Vertex, Fireworks, DeepSeek | Daytona, Modal |
| What Meadow adds | Provider choice, fallback, key limits, and cost records | One API for both providers, fallback at create, image builds, webhooks, and cost records |
| Start with | [Models](/call-models/models) | [Sandboxes](/run-sandboxes/sandboxes) |

Both use the same keys, projects, and routing rules. [Concepts](/get-started/concepts) explains them in one page.

## Set up your coding agent

- [Get started with your agent](/get-started/get-started-with-your-agent) has one prompt that takes a coding agent to a working call, and rules to paste into its instructions file.
- [MCP server](/get-started/mcp-server): `mdw mcp` gives your agent tools for sandboxes, images, keys, and usage.
- [`llms.txt`](https://docs.usemeadow.ai/llms.txt) lists every page of these docs for an agent to read. Each page also has a Markdown copy at its address plus `.md`.

## Status and trust

- [Status](https://status.usemeadow.ai): whether the API is up, and past incidents.
- [Trust](https://trust.usemeadow.ai): the Polymath Labs trust center, with its security and compliance documents.
- [Security](/reference/security): what Meadow stores, encrypts, and logs.

<a id="map-of-the-docs"></a>

## Browse the docs

Get started

- [Quickstart](/get-started/quickstart): a first model call and a first sandbox command.
- [Concepts](/get-started/concepts): accounts, projects, keys, provider keys, sandboxes, and images.
- [Get started with your agent](/get-started/get-started-with-your-agent): one prompt that takes a coding agent to a working call, and the docs files made for agents.
- [MCP server](/get-started/mcp-server): tools for sandboxes, images, keys, and usage inside your agent.

Call models

- [Models](/call-models/models): the formats, model IDs, and what passes through.
- [Use your existing tools](/call-models/use-your-existing-tools): the OpenAI and Anthropic SDKs, Claude Code, and the Codex CLI.
- [Gemini clients](/call-models/gemini-clients): gemini-cli and the Google GenAI SDKs on Google's own `generateContent` format.
- [Routing and fallbacks](/call-models/routing-and-fallbacks): choose providers and see what triggers a fallback.
- [Streaming](/call-models/streaming): events, cut streams, and time limits.
- [Model and provider allowlists](/call-models/model-and-provider-allowlists): restrict which models and providers a key can use.
- [Token and request limits](/call-models/token-and-request-limits): limits on a key and how they are counted.
- [Spend limits](/call-models/spend-limits): a limit in US dollars on a key.
- [Budgets and alerts](/call-models/budgets-and-alerts): a dollar budget on the account or a project, with alerts.
- [Usage and cost](/call-models/usage-and-cost): what each call and sandbox cost, and how to read it.

Run sandboxes

- [Sandboxes](/run-sandboxes/sandboxes): create, wait, list, and delete.
- [Running commands](/run-sandboxes/running-commands): blocking, streamed, and background commands.
- [Files, ports, and SSH](/run-sandboxes/files-ports-and-ssh): copy files and reach a sandbox from outside.
- [Images and build contexts](/run-sandboxes/images-and-build-contexts): build an image from a Dockerfile.
- [Network rules](/run-sandboxes/network-rules): limit outbound traffic.
- [Webhooks](/run-sandboxes/webhooks): receive sandbox events and verify their signature.
- [Run untrusted code](/run-sandboxes/run-untrusted-code): run code a model wrote, with outbound traffic blocked, as a non-root user.
- [Run a coding agent in a sandbox](/run-sandboxes/run-a-coding-agent-in-a-sandbox): Claude Code in a locked-down sandbox on a key with a budget.
- [Clients](/run-sandboxes/clients): the Python client, the Go SDK, and the `mdw` CLI. They are sent to you during the beta. No guide needs them.

Set up your account

- [Authentication](/set-up-your-account/authentication): headers, scopes, creating, rotating, and revoking API keys.
- [Provider keys](/set-up-your-account/provider-keys): the credential fields for each provider.
- [Projects](/set-up-your-account/projects): routing defaults, locking, and deleting.
- [Audit log](/set-up-your-account/audit-log): who changed keys, projects, provider keys and budgets.

Reference

- [API reference](/reference/api-reference): all 45 operations, by `operationId`.
- [mdw command reference](/reference/mdw-command-reference): every command and flag of the `mdw` CLI.
- [Errors](/reference/errors): the error body, every type, and when to retry.
- [Known limits](/reference/known-limits): what can surprise you in the beta.
- [Changelog](/reference/changelog): changes that can affect your code.