promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Aider

/models

Searches the list of models Aider supports for a name or partial name.

/models <search term> lists all known model names matching the input text, including the provider prefix (e.g. anthropic/, gemini/, openrouter/). This helps find the exact model string for /model or --model. Without a search term, the command shows usage hints. On the command line, --list-models MODEL (alias --models) does the same.

โœ… WHEN TO USE IT?

Find the exact model string before calling /model

/models sonnet โ€” finds anthropic/claude-sonnet-4-5 among others

Check whether a new model is already known to Aider

/models gemini-3 โ€” shows whether and under which name a new Gemini model is available

โ›” WHEN NOT TO?

The exact model name is already known

A search is an unnecessary extra step if the provider/model string is already fixed.

Better: Use /model <known-name> or --model <known-name> directly

You only want to see the currently active model, not all available ones

/models searches the whole model list but doesn't show which model is currently active.

Better: Use /settings to see the currently effective configuration, including the active model

SOURCES