Baseten Grid is in preview for enterprise organizations. Your Baseten account team enables it and sizes Model API capacity for your developers. To get started, Contact us.
Get started
Set up your organization
For admins: organize teams, connect providers, choose models, and set limits.
Connect your coding agent
For developers: build your setup command, select a team model, and verify the connection.
Where requests go
Setup changes the coding agent’s model connection. The developer then uses the agent as usual, and its model requests go to Grid with the developer’s Grid credentials. On a direct route, Grid sends every request to the configured model. On an auto route, a Baseten-managed route classifier picks a model for each request, based on the coding session’s complexity and the route’s trade-off between cost and intelligence. Baseten bills Model API usage. Connected providers bill usage to the account behind the team’s provider key. Developers’ coding agents use their Grid credentials to call Grid; an admin manages the provider keys in Connections.How Grid works
- Choose each team’s models. Add open-weight models from Model APIs, frontier models from Anthropic, OpenAI, or xAI through your own API key, or both. Add an auto route when you want a route classifier to pick the model for each request. Developers select direct and auto routes from the same model picker.
- Set spend limits. Set a monthly budget for each member and for the team as a whole, and raise one developer’s limit when they need more. Grid meters spend every 15 minutes, so spend can exceed a limit before new requests are blocked. For more information, see How spend limits work.
- Connect developers’ coding agents. Each developer runs
baseten grid setupto add the team’s routes to their agent’s model picker. Setup preserves unrelated configuration, including MCP servers and plugins. Developers then verify a model request and their required tools. - Track spend and usage. See spend, tokens, and cache hit rate by team, developer, model, and provider, and adjust models and limits as your teams’ needs change.
Key terms
- Route: a named entry a coding agent can call. A direct route calls one model; an auto route lets a route classifier pick among several models.
- Connection: provider credentials stored on a team, so the team’s routes can call that provider’s models.
- Harness defaults: the model each coding agent uses for its main work and for background tasks when a developer runs setup.
- Spend limit: a monthly cap, in USD, on a developer’s or a team’s Grid spend. Limits reset at the start of each UTC calendar month.
- Grid credentials: the short-lived Grid tokens, or for OpenCode the Grid API key, that
baseten grid setupconfigures for coding agents on one machine. They’re separate from a developer’s personal Baseten API key, and spend limits apply to them.
When to use Grid
Grid is for organizations that want central control over coding agent models and spend. For other cases:- To connect your own coding agent to Model APIs without admin controls, use Baseten Switch or a direct provider setup.
- To give customers or applications access to models across providers with federated API keys, use Frontier Gateway.