--- name: cli-models description: Query available AI models, list model aliases, and browse the full model catalog from the CLI. Filter by provider, search by capability, and resolve model name variants. --- ## Overview Query available AI models, list model aliases, and browse the full model catalog from the CLI. Filter by provider, search by capability, and resolve model name variants. ## Quick install ```bash npm install -g omniroute # or: npx omniroute omniroute --version ``` ## Subcommands ### `models [provider]` **Flags:** - `--search ` - `--json` **Example:** ```bash omniroute models [provider] ``` ### `models manual ` List manual model metadata from the selected server **Example:** ```bash omniroute models manual ``` ### `models add ` Add an unverified manual model, then verify persistence **Flags:** - `--name ` - `--api-format ` - `--context-window ` - `--max-output-tokens ` - `--dry-run` **Example:** ```bash omniroute models add ``` ### `models edit ` Edit manual model metadata, then verify persistence **Flags:** - `--name ` - `--api-format ` - `--context-window ` - `--clear-context-window` - `--dry-run` **Example:** ```bash omniroute models edit ``` ### `models remove ` Remove only a manual model override, then verify persistence **Flags:** - `--yes` - `--dry-run` **Example:** ```bash omniroute models remove ```