Route a message to a model
Ask Gumloop Chew — the model router behind Auto — which model it would use for a given message, and why. Chew is a router, not a model: router is always gumloop-chew, and the concrete model it selected is route.model.
POST
cURL
What does the routing decision include and cost?
What does the routing decision include and cost?
This endpoint returns a decision only. It does not run the selected model or its fallbacks.
The routing judgement consumes credits and is bounded by the caller’s model access.Omit
models to use the deduplicated union of Chew’s lane chains, not every model the
caller may use. Restricted candidates can appear with status: "restricted"; they are never
selected or included in fallback_models.Team scope requires actual team membership, even within the same organization. Personal API
keys and OAuth are supported; this is not team-key-only.Authorizations
A personal API key or an OAuth 2.0 access token. Personal API keys also require the x-auth-key header with your user ID.
Body
application/json