LLM Gateway Launches Auto Model Routing Based on Request Difficulty
LLM Gateway has introduced a smart routing feature that automatically selects the most cost-effective AI model based on the complexity of each incoming request. Users can trigger this by setting the model parameter to 'smart' or 'auto' in their API calls, without changing anything else in their existing code. The system uses a classifier called Jev to rate request difficulty and route it to a model within the appropriate price band, covering up to 30 models configured by the organization. To avoid redundant classification, requests within the same chat session are classified only once and then kept on the same model for consistency. If no suitable model is available for a request, the system returns a 400 error rather than silently falling back, and all routing decisions are logged for auditability.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in