The Auto Router (openrouter/auto) automatically selects the best model for your prompt, powered by NotDiamond.
Instead of manually choosing a model, let the Auto Router analyze your prompt and select the optimal model from a curated set of high-quality options. The router considers factors like prompt complexity, task type, and model capabilities.
Set your model to openrouter/auto:
The response includes the model field showing which model was actually used:
The Auto Router selects from a curated set of high-quality models including:
Model slugs change as new versions are released. The examples below are current as of December 4, 2025. Check the models page for the latest available models.
anthropic/claude-sonnet-4.5)anthropic/claude-opus-4.5)openai/gpt-5.1)google/gemini-3.1-pro-preview)deepseek/deepseek-v3.2)The exact model pool may be updated as new models become available.
You can restrict which models the Auto Router can select from using the plugins parameter. This is useful when you want to limit routing to specific providers or model families.
Use wildcard patterns to filter models. For example, anthropic/* matches all Anthropic models:
You can also configure default allowed models in your Plugin Settings:
These defaults apply to all your API requests unless overridden per-request.
When no patterns are configured, the Auto Router uses all supported models.
You pay the standard rate for whichever model is selected. There is no additional fee for using the Auto Router.
messages format (not prompt)