Switchyard is an open-source model router that switches between multiple models to optimize the cost of requests. By default it will use OpenRouter market data to select the most popular low and high cost models. You can pass in two choices in the models parameter as well as specify any of the routing algorithms Switchyard offers. Details in the Switchyard docsOpens in new tab. OpenRouter then applies its normal provider routing, fallbacks and billing for the chosen model.
Not currently available through EU in-region routing. In-region routing docs