by OpenAI
New model routing capability; request aihubmix-router to automatically route models based on question complexity, so everyone no longer needs to manually switch models; in our tests comparing the use of the model router versus only using GPT-4.1, we observed up to 60% cost savings while maintaining similar accuracy. The context length of the model router depends on the base model used for each prompt. Input size is 200,000, output size is 32,768. Currently, there are four routing models: gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, o4-mini. Pricing: Due to our current billing structure system, requests through aihubmix-router are billed at the price of gpt-4.1-mini regardless of which final model is used; future billing will be based on the actual model invoked. Everyone is welcome to try it out; the interface will return the name of the actual called model.
| Input | $0.4 / 1M tokens |
| Output | $1.6 / 1M tokens |
| Cache read | $0.1 / 1M tokens |
| Modalities | text, image |
Use aihubmix-router via the AIHubMix unified API — one interface for every major LLM.