router
Weave Router is a model routing proxy for agentic systems that selects the appropriate model for each API request within 50 milliseconds and is claimed to reduce costs by 40%–70% simply by changing the endpoint. It is compatible with the Anthropic, OpenAI, and Gemini APIs, supports streaming output, tool calls, and vision input, and can be used in coding tools or your own applications. Users can choose Weave's hosted routing service or self-deploy using Docker, Go 1.26+, and their own provider keys. The routing policy is based on an HMM classifier that selects from enabled models; the self-hosted version also offers an optional HMM sidecar, a dashboard, OpenTelemetry tracing, and a routing decision inspection endpoint.